Bug#697357: bridging broken over bond interfaces
Hi,
I had the same or at least a similar problem, upgrading from Squeeze to Wheezy broke the bridge over bond setup on my Xen server. As described before, the host was able to talk to the outside and the outside was able to talk to the host but no virtual guest was able to do so. After trying lots of different parameters, adding "bond-primary eth0 eth1" to both eth0 and eth1 finally made it work again. The following changes to the /etc/network/interfaces file are the only changes I've applied to the system (except for installing tcpdump and vlan packages).
I don't have the slightest clue why this works, so if someone has an answer I'd be interested to hear it.
Cheers,
Reinhard
/etc/network/interfaces working now with 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto bond0
iface bond0 inet manual
bond-mode 802.3ad
bond-miimon 100
bond-downdelay 200
bond-updelay 200
bond-slaves none
auto eth0
iface eth0 inet manual
bond-master bond0
bond-primary eth0 eth1
auto eth1
iface eth1 inet manual
bond-master bond0
bond-primary eth0 eth1
auto br0
iface br0 inet static
network 192.168.2.0
gateway 192.168.2.1
address 192.168.2.100
broadcast 192.168.2.255
netmask 255.255.255.0
bridge_ports bond0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
bridge_maxage 0
bridge_ageing 0
/etc/network/interfaces working before with 2.6.32-5-xen-amd64 #1 SMP Sun Sep 23 13:49:30 UTC 2012 x86_64 GNU/Linux
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto bond0
iface bond0 inet manual
bond_mode 802.3ad
bond_miimon 100
bond_downdelay 200
bond_updelay 200
slaves eth0 eth1
auto br0
iface br0 inet static
network 192.168.2.0
gateway 192.168.2.1
address 192.168.2.100
broadcast 192.168.2.255
netmask 255.255.255.0
bridge_ports bond0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
Reply to: