键合驱动程序打破了centos6?

我有一个最小安装CentOS6 64位(安装程序最小选项)的服务器。 绑定驱动程序似乎不能正常工作。 / proc / net / bonding / bond0的输出是:

Bonding Mode: fault-tolerance (active-backup) Primary Slave: None Currently Active Slave: None MII Status: down MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 

正如你所看到的,没有任何接口被列为助手。 债券驱动程序选项在/etc/modprobe.d/bonding.conf中configuration为:

 alias bond0 bonding options bond0 mode=1 primary=eth0 miimon=100 

接口eth0和eth4被configuration为:

 DEVICE="eth0" MASTER="bond0" SLAVE="yes" HWADDR="78:2B:CB:56:ED:5D" NM_CONTROLLED="no" ONBOOT="yes" DEVICE="eth4" MASTER="bond0" SLAVE="yes" HWADDR="00:1B:21:C9:F7:38" NM_CONTROLLED="no" ONBOOT="yes" 

而bond0就是这样configuration的:

 DEVICE="bond0" IPADDR="10.100.46.3" NETMASK="255.255.254.0" NM_CONTROLLED="no" ONBOOT="yes" 

这里是从/ var / log / messages输出:

 Dec 9 08:20:55 app2 kernel: bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details. Dec 9 08:20:55 app2 kernel: ADDRCONF(NETDEV_UP): bond0: link is not ready Dec 9 08:21:02 app2 kernel: ADDRCONF(NETDEV_UP): bond0: link is not ready 

任何人都可以提供一些有关为什么司机无法启动的见解? 这是一个依赖性问题?

你的日志说:

必须指定miimon或arp_interval和arp_ip_target模块参数

尝试添加下面的行(你可以select你喜欢的选项)到你的ifcfg-bond0:

 BONDING_OPTS='miimon=1000 mode=6' 

用sudo yum update更新操作系统解决了这个问题。 不知道哪部分不幸。