分页: 2 / 2

发表于 : 2007-09-28 9:27
sinoyster
多网卡绑定的好处:
1。能实现负载均衡
2。减少故障率,避免单点故障

发表于 : 2007-09-28 9:31
sinoyster
Jennal 写了:重点是这段吧?
auto bond0
iface bond0 inet static
address 64.0.177.20
netmask 255.255.255.0
gateway 64.0.177.254
up ifenslave bond0 eth0 eth1
down ifenslave -d bond0 eth0 eth1
不过不是很明白,能不能解释一下每一句的意思?是通用的吗?
auto bond0
iface bond0 inet static
address 64.0.177.20
netmask 255.255.255.0
gateway 64.0.177.254
上面这几句和普通网卡一样我就不说了
up ifenslave bond0 eth0 eth1
up就是在网卡up的时候执行 ifenslave bond0 eth0 eth1 (ifenslave 自己man)
down ifenslave -d bond0 eth0 eth1
在网卡down的时候执行 ifenslave -d bond0 eth0 eth1

发表于 : 2007-09-28 10:28
JustPS
缺省状态下Linux是不允许两块网卡同时上网的?同样网段的话。

为什么不能使用ifenslave

发表于 : 2007-11-20 18:59
Orang-color

代码: 全选

color@color:/etc/network$ sudo ifup eth1
/etc/network/interfaces:20: misplaced option
ifup: couldn't read interfaces file "/etc/network/interfaces"
这个是什么原因,由于interfaces文件不可用造成不能上网

20行和21行就是:

代码: 全选

up ifenslave bond0 eth0 eth1
down ifenslave -d bond0 eth0 eth1

Re: 双网卡bonding配置,实现负载均衡

发表于 : 2010-12-17 20:00
borisbsr
来个总结性的吧。。。。。。。。实在是看不懂啊。。。。。。。。一会出来一个一会又来一个解释,或者介绍一个什么软件吧,稍微方便一些的。。。。

Re: 双网卡bonding配置,实现负载均衡

发表于 : 2012-03-24 2:08
jietian123
半夜看帖,先收下了,慢慢来学习,linux比Windows强大啊

Re: 双网卡bonding配置,实现负载均衡

发表于 : 2013-03-07 22:33
disme.chen
看来双无线网卡可以绑定一起上网了

Re: 双网卡bonding配置,实现负载均衡

发表于 : 2014-12-01 12:00
暗夜婚
你好,楼主,请问我现在有4块网卡,想绑定到俩个bond 该怎么操作,请教 ,谢谢 :em01