Hi. my english is not so good. sorry.
i have some problem. My isp give me second ip from subnet. One network is working, but secong don't.
- fxp0 - my network
- dc0 - network isp (that working)
- re0 - network isp (don't working)
i try use ng_one2many, but it's don't working
ngctl mkpeer dc0: one2many upper one
ngctl connect dc0: dc0:upper lower many0
ngctl connect re0: dc0:upper lower many1
ngctl msg re0: setpromisc 1
ngctl msg re0: setautosrc 0
ngctl msg dc0:upper setconfig "{ xmitAlg=1 failAlg=1 enableLinks=[ 1 1 ] }"
after last command freebsd say me "ngctl: send msg: No such file or directory"
kldstat -v | grep ng
356 ng_socket
357 ng_tee
355 ng_mppc
354 ng_ether
187 pci/nge
186 nge/miibus
4 1 0xc351d000 4000 ng_iface.ko
453 ng_iface
5 1 0xc3538000 7000 ng_ppp.ko
454 ng_ppp
6 1 0xc3541000 6000 ng_pppoe.ko
455 ng_pppoe
7 1 0xc3800000 3000 ng_one2many.ko
456 ng_one2many
8 1 0xc38b2000 3000 ng_eiface.ko
457 ng_eiface
ifconfig
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:13:d4:32:8e:00
inet 192.168.2.77 netmask 0xffffff00 broadcast 192.168.2.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:80:ad:77:57:59
inet 10.10.30.37 netmask 0xffffff00 broadcast 10.10.30.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
re0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
ether 00:15:e9:ef:4a:19
inet 10.10.30.168 netmask 0xffffff00 broadcast 10.10.30.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1460
inet 93.88.130. --> 93.88.128. netmask 0xffffffff
netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 93.88.128. UGS 0 21719603 ng0
10.0.0.0/8 10.10.30.1 UGS 0 50284 dc0
10.10.30.0/24 link#2 UC 0 0 dc0
10.10.30.1 00:12:00:95:a3:80 UHLW 2 4 dc0 1188
10.10.30.37 00:80:ad:77:57:59 UHLW 1 140 lo0
93.88.128. 93.88.130. UH 1 1 ng0
127.0.0.1 127.0.0.1 UH 0 95 lo0
192.168.2.0/24 link#1 UC 0 0 fxp0
192.168.2.7 00:1d:60:e3:f5:0a UHLW 1 382966 fxp0 1183
192.168.2.17 00:11:5b:79:8a:54 UHLW 1 30 fxp0 348
192.168.2.33 00:1c:c0:a5:61:6b UHLW 1 84915 fxp0 1157
192.168.2.166 00:24:01:09:d9:26 UHLW 1 3423522 fxp0 1173
May be somebody have a idea how use 2 dc0, re0 with ip 10.10.30.xx and one gate 10.10.30.1 ?