The server issues a bonding warning message to enable miimon or arp monitoring, even though it is configured
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- bonding
Issue
- The following warning message is seen when the network service starts. Is it a problem?
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.
Resolution
There are two ways to set the bonding parameter. One is using /etc/modprobe.conf, the other is using /etc/sysconfig/network-scripts/ifcfg-bondX.
- In case of setting a parameter in
/etc/modprobe.conf, the parameter may be wrong. Please check the setting again.
options bond0 miimon=100 mode=1 primary=eth0
- In case of setting a parameter in
/etc/sysconfig/network-scripts/ifcfg-bondX, it will always be outputted by operation of the configuration script, then this message does not indicate a problem. The message can safely be ignored.
BONDING_OPTS="miimon=100 mode=1 primary=eth0"
Root Cause
A message warns that the parameter("arp_interval", "arp_ip_target" or "miimon") has not been explicitly set when loading bonding module.
If setting a parameter in "BONDING_OPTS" on /etc/sysconfig/network-scripts/ifcfg-bondX, the configuration script set a parameter by changing a file on sysfs(/sys/devices/virtual/net/bondX/bonding) after loaded bonding module.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.