弟的研究室網路速度極慢,因此又買了一張一模一樣的螃蟹卡,
想說來個頻寬合併。
弟的核心是2.6.10-4-386(ubuntu linux)
安裝了ifenslave,然後如阿信兄所述的,
#fenslave -v eth0 eth1 metric 1
弟的訊息如下:
-------------------------------------------------------------------
ifenslave.c:v0.07 9/9/97 Donald Becker (
becker@cesdis.gsfc.nasa.gov).
detach support added on 2000/10/02 by Willy Tarreau (willy at meta-x.org).
2.4 kernel support added on 2001/02/16 by Chad N. Tindel (ctindel at ieee dot org).
dont-inherit option added on 2002/05/21 by Guus Sliepen (
guus@sliepen.warande.net).
DEBUG: argc=6, optind=2 and argv[optind] is eth0.
The current hardware address (SIOCGIFHWADDR) of eth0 is type 1 00:0e:2e:3e:74:3a.
Slave's (eth1) hardware address set to 00:0e:2e:3e:74:3a.
SIOCSIFMETRIC on eth1: Operation not supported
Set the slave's (eth1) IP address to 0.0.140.116.
Set the slave's (eth1) MTU to 1500.
Set the slave's (eth1) destination address to 0.0.140.116.
Set the slave's (eth1) broadcast address to 0.0.140.116.
Set the slave's (eth1) netmask to 0.0.255.255.
Set the slave's (eth1) flags 1043.
SIOCBONDENSLAVE: Operation not supported.
------------------------------------------------------------------
請問這個訊息是錯誤在那裡呢?
另外,弟去man ifenslave,他裡面有一個範例是:
# modprobe
bonding
# ifconfig bond0 192.168.0.1 netmask 255.255.0.0
# ifenslave bond0 eth0 eth1
由於弟希望兩張網卡設定成140.116.89.120,所以第二步弟設成
# ifconfig bond0 140.116.89.120 netmask 255.255.255.0
以上三個步驟完成後,並沒有出現錯誤訊息但是就無法連上網路了!
請問這是怎麼回事呢?
又,如果設定成功,又該如何檢查設定是否成功呢?
謝謝您!