I'm currently testing a new CentOS 7 server and configured two active-backup bonds which worked quite fine under kernel version 3.10.0-514.26.2.el7.x86_64. However it seams that the update to kernel version 3.10.0-693.2.2.el7.x86_64 has broken both bonds. The bonds are configured as follows (both bonds are configured similar):
(I've also configured /etc/udev/rules.d/70-persistent-net.rules to rename my interfaces correctly)
/etc/sysconfig/network-scripts/ifcfg-link1:
Code: Select all
TYPE=Ethernet
HWADDR=XX:XX:XX:XX:XX:XX
DEVICE=link1
NM_CONTROLLED=no
BOOTPROTO=none
ONBOOT=yes
MASTER=bond1
SLAVE=yes
Code: Select all
TYPE=Ethernet
HWADDR=YY:YY:YY:YY:YY:YY
DEVICE=link2
NM_CONTROLLED=no
BOOTPROTO=none
ONBOOT=yes
MASTER=bond1
SLAVE=yes
Code: Select all
DEVICE=bond1
BRIDGE=bridge1
NM_CONTROLLED=no
BOOTPROTO=none
ONBOOT=yes
BONDING_OPTS="mode=1 miimon=100 use_carrier=1 updelay=120000 downdelay=0 primary=link1 primary_reselect=better resend_igmp=5"
If I boot the server with kernel 3.10.0-514.26.2.el7.x86_64 everything works like expected. The bonds start correctly, the first physical interface is used as primary slave, the second is checked for 2 minutes before it is considered as up.
If I boot the server with kernel 3.10.0-693.2.2.el7.x86_64 the bonds are initialized and the first physical interface is used as primary slave. Allthough the second interface is shown as up in ip addr, it is marked as down in /proc/net/bonding/bond1 and in /var/log/messages the message
Code: Select all
Sep 20 12:19:52 server kernel: bond1: link status up for interface link2, enabling it in 120000 ms
Sep 20 12:19:52 server kernel: bond1: link status up for interface link2, enabling it in 120000 ms
Sep 20 12:19:52 server kernel: bond1: link status up for interface link2, enabling it in 120000 ms
Sep 20 12:19:52 server kernel: bond1: link status up for interface link2, enabling it in 120000 ms
Just in case, if this is a hardware/driver issue: I'm using a HP DL380 G9 with a Broadcom BCM5719 ethernet adapter.
Was there a change in the way the kernel handles bonds?
Many thanks in advance for all replies!