I have a cluster of some machines, each having two bonded interfaces (and, luckily, a simple dedicated maintenance interface).
After dist-upgrading from 8.0.4 to 8.1.4, which upgrades also ifupdown to ifupdown2, the bonded interface get disabled immediately after enabling bonding, disabling all traffic.
The /etc/network/interfaces config looks like this:
When performing
So I did:
And kern.log shows
bond0: (slave enp33s0f0): link status definitely up, 10000 Mbps full duplex
bond0: (slave enp33s0f1): link status definitely up, 10000 Mbps full duplex
bond0: active interface up!
bond0: (slave enp33s0f0): link status definitely down, disabling slave
bond0: active interface up!
bond0: (slave enp33s0f1): link status definitely down, disabling slave
bond0: now running without any active interface!
resulting in failing traffic (ethtool shows no link).
To regain networking, I have to manually enable the interfaces using ifconfig or ifup (yes, the latter will work also)
What's going on here, how can I fix it?
After dist-upgrading from 8.0.4 to 8.1.4, which upgrades also ifupdown to ifupdown2, the bonded interface get disabled immediately after enabling bonding, disabling all traffic.
The /etc/network/interfaces config looks like this:
Code:
auto enp33s0f0
iface enp33s0f0 inet manual
up ifconfig enp33s0f0 promisc up
auto enp33s0f1
iface enp33s0f1 inet manual
up ifconfig enp33s0f1 promisc up
auto bond0
iface bond0 inet manual
bond-slaves enp33s0f0 enp33s0f1
bond-miimon 100
bond-mode 802.3ad
bond-lacp_rate fast
When performing
ifdown enp33s0f0
twice after reboot, the first will execute silently (i.e. ifdown knows the interface and shuts it down), the second fails with "cannot find interfaces: enp33s0f0 (interface was probably never up ?)". So apparently networking did bring up the interface initially.So I did:
Code:
ifdown bond1
ifdown enp33s0f0
ifdown enp33s0f1
ifup -a
And kern.log shows
bond0: (slave enp33s0f0): link status definitely up, 10000 Mbps full duplex
bond0: (slave enp33s0f1): link status definitely up, 10000 Mbps full duplex
bond0: active interface up!
bond0: (slave enp33s0f0): link status definitely down, disabling slave
bond0: active interface up!
bond0: (slave enp33s0f1): link status definitely down, disabling slave
bond0: now running without any active interface!
resulting in failing traffic (ethtool shows no link).
To regain networking, I have to manually enable the interfaces using ifconfig or ifup (yes, the latter will work also)
What's going on here, how can I fix it?