- 论坛徽章:
- 0
|
原创:在RedHat Linux 8.0环境中实现双网卡绑定指南
小弟又做了四塊網卡實驗,除得到以上的結果外。還有....
當mode=0時,四塊網卡負載均衡,拔出非主網卡eth0都不會出現網絡中斷,隻是帶寬下降了。
當mode=1時,四塊網卡冗余,默認是第一塊網卡工作,不管拔出那條網線,系統會按cat /etc/rc.local 中的順序來選擇網卡,
- [root@localhost root]# cat /etc/rc.local
- #!/bin/sh
- #
- # This script will be executed *after* all the other init scripts.
- # You can put your own initialization stuff in here if you don't
- # want to do the full Sys V style init stuff.
- touch /var/lock/subsys/local
- #mii-tool --advertise=100baseT-FD eth3
- ifenslave bond0 eth0 eth1 eth2 eth3
- route add -net 192.168.250.0 netmask 255.255.255.0 bond0
- [root@localhost root]#
复制代码
有個怪問題,我做實驗兩台機,一台rh90,一台win2kserver,用d-link 1008d相連,測試帶款兩台同時從對方主機下載一個300m的文件.
發關和接收隻能用到網卡速度的一半,比如,兩邊同時下載,發送接收是18M,如果停掉一邊,速度之和還是18M,真是不明白,請高手釋疑? |
|