在centos6上绑定驱动程序坏了?

Luk*_*asz 5 networking bonding linux-networking 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
Run Code Online (Sandbox Code Playgroud)

如您所见,没有列出作为药膏的接口。绑定驱动程序选项在 /etc/modprobe.d/bonding.conf 中配置为:

alias bond0 bonding
options bond0 mode=1 primary=eth0 miimon=100
Run Code Online (Sandbox Code Playgroud)

接口 eth0 和 eth4 配置如下:

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"
Run Code Online (Sandbox Code Playgroud)

和 bond0 配置如下:

DEVICE="bond0"
IPADDR="10.100.46.3"
NETMASK="255.255.254.0"
NM_CONTROLLED="no"
ONBOOT="yes"
Run Code Online (Sandbox Code Playgroud)

这是 /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
Run Code Online (Sandbox Code Playgroud)

任何人都可以提供有关驱动程序无法启动的原因的一些见解吗?这是一个依赖问题吗?

Luk*_*asz 1

只需使用 sudo yum update 更新操作系统即可解决该问题。不幸的是,不确定是哪个部分造成的。