Chinaunix

标题: 请教各路大侠 Centos中 做bonding 的问题 [打印本页]

作者: zrq1238    时间: 2013-06-05 22:33
标题: 请教各路大侠 Centos中 做bonding 的问题
我的服务器网络一直不稳定, 我的上一个帖子如下链接。
现在我还有一个问题:
Centos 做bonding 时, /etc/rc.local 中 “ ifenslave bond0 eth0 eth1” 是必须的吗, 谢了!


http://bbs.chinaunix.net/forum.p ... =4084919&extra=
作者: 永夜之魂    时间: 2013-06-05 23:27
这个最主要的作用是指定bond0的工作模式,如果不在那里指定,可以在bond0的配置文件中写BONDING_OPTS="mode=1 primary=eth2 miimon=100"
mode=0表示load balancing (round-robin)为负载均衡方式,两块网卡都工作。mode=1表示fault-tolerance (active-backup)提供冗余功能




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2