网络延时导致bond失败的解决

2840阅读 0评论2013-05-17 韩永忠
分类:系统运维

昨晚碰到一个由于网络延时,导致bond失败。
重启网络后,有10-15秒网络延时,出现PING不通的情况,15秒后PING正常。
问题:出现
"Bringing up interface bond1: bonding device bond1 does not seem to be present, delaying initialization.

解决方法:

It turns out that in /sys/class/net/bonding_masters, you *need* to have bond1 listed. If not then a manual bond will fail (and of course so will an automatic bond).

So:
root@host# echo +bond1 > /sys/class/net/bonding_masters
root@host# ifconfig bond1  netmask 
root@host# ifenslave bond1 eth1

上一篇:[EDB零基础课堂]第二节:创建数据库和数据表 -- 图形界面操作
下一篇: [EDB零基础课堂]第二节:创建数据库和数据表 -- 命令行操作