分页: 1 / 1

ubuntu 8.10 Server绑定双千兆网卡做负载均衡 bond

发表于 : 2009-01-08 11:43
myjmax
sudo vim /etc/modules 加入
bonding mode=0 miimon=100 # mode=1时为主备模式,mode=0时为负载均衡模式

sudo vim /etc/network/interfaces 加入
auto bond0
iface bond0 inet static
address 192.168.8.3
netmask 255.255.255.0
gateway 192.168.8.1
post-up ifenslave bond0 eth0 eth1
pre-down ifenslave -d bond0 eth0 eth1

sudo apt-get install ifenslave-2.6
# 重启服务器,这个时候已经成功,经过测试两块Intel千兆网卡同时工作,COPY大文件速度成倍增加,再配合交换机的Trunking功能,服务器的两块网卡通过6类线分别接在交换机做了Trunk的两个千兆接口上,效果非常满意!
:em02 :em02

Re: ubuntu 8.10 Server绑定双千兆网卡做负载均衡 bond

发表于 : 2009-02-09 12:20
红毛小子
太好啦,那要好好试试看!