[問題]網路卡設定的問題
小弟參考這篇
http://bsdvault.net/sections.php?op=viewarticle&artid=98
試著實作
Bundling network interfaces with ng_one2many
我將原先 rc.conf 中的
defaultrouter="123.456.789.254"
ifconfig_xl0="inet 123.456.789.204 netmask 255.255.255.0"
註解掉
改成在 rc.local 中加入
/sbin/ifconfig xl0 up
/sbin/ifconfig xl1 up
/sbin/kldload /modules/ng_ether.ko
/usr/sbin/ngctl mkpeer xl0: one2many upper one
/usr/sbin/ngctl connect xl0: xl0:upper lower many0
/usr/sbin/ngctl connect xl1: xl0:upper lower many1
/usr/sbin/ngctl msg xl1: setpromisc 1
/usr/sbin/ngctl msg xl1: setautosrc 0
/usr/sbin/ngctl msg xl0:upper setconfig "{ xmitAlg=1 failAlg=1 enabledLinks=[
1 1 ] }"
/sbin/ifconfig xl0 inet 123.456.789.204 netmask 255.255.255.0
/sbin/route add default 123.456.789.254
但是在檢查 dmesg | grep xl0 時會看到
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xc000-0xc07f mem
0xed000000-0xed00007f irq 11 at device 7.0 on pci1
xl0: reset didn't complete
xl0: Ethernet address: 00:0a:5e:51:f5:75
miibus0: <MII bus> on xl0
xl0: reset didn't complete
xl0: DAD detected duplicate IPv6 address fe80:0001::020a:5eff:fe51:f575: NS
in/out=1/1, NA in=0
xl0: DAD complete for fe80:0001::020a:5eff:fe51:f575 - duplicate found
xl0: manual intervention required
dmesg | grep xl1
xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0xc400-0xc47f mem
0xed001000-0xed00107f irq 10 at device 8.0 on pci1
xl1: Ethernet address: 00:0a:5e:41:90:87
miibus1: <MII bus> on xl1
xl1: promiscuous mode enabled
依照網頁上的測試方式
似乎是有成功
但是有 xl0: reset didn't complete 這樣的訊息
想請教為什麼會出現這訊息
或是有沒大大實作過可以分享一下經驗
感謝^^
--
※Origin:星 情 小 築 < Star.leobbs.net >
※From: 59-105-117-147.adsl.dynamic.seed.net.tw
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章