bond-mode 4 bridge-utils 3.x kernel not fully working
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everybody,
I also sent this email to [email protected]
I spent ours debugging and finding out what points to the problem.
I run kvm quests with bridged networking on a bonding lacp set-up, with the 2.6 kernel this has been working fine for years. But with the 3.x kernel this doesn?t work any more.
Traffic comes out the KVM quests but doesn?t come in. If I disable bonding everything just works again.
# working with 2.6 not working with 3.x cat /etc/network/interfaces auto lo iface lo inet loopback
auto bond0
iface bond0 inet manual
slaves eth0 eth1
bond-mode 4
bond-miimon 100
pre-up /sbin/ifconfig bond0 mtu 9000
auto br0
iface br0 inet dhcp
bridge_fd 0
bridge_stp on
bridge_ports bond0
# working with 3.x but no bonding!! cat /etc/network/interfaces auto lo iface lo inet loopback
auto eth0
iface eth0 inet manual
mtu 900
auto br0
iface br0 inet dhcp
bridge_fd 0
bridge_stp on
bridge_ports eth0
# uname -a Linux viktoriya 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux
bridge-utils version 1.5-6
I already checked iptabls, ebtables there are no running rules and the bellow on zero or one doesn't make a difference either also disabling bridge_stp off or bridge_maxwait 0 doesn't seem to help.
/bin/echo "0" > /proc/sys/net/bridge/bridge-nf-call-arptables /bin/echo "0" > /proc/sys/net/bridge/bridge-nf-call-ip6tables /bin/echo "0" > /proc/sys/net/bridge/bridge-nf-call-iptables
Any ideas?
Kind regards,
Jelle de Jong
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iJwEAQECAAYFAlGlOXMACgkQ1WclBW9j5HkK/wP+Mtu5FB9gU1tAlDnHBDH9x98p 1hGhXTOY81wuDdN3WzjlOLvlIevRuFiVm2b+HrhFqI5Bvh9SHb06FPoaHW92WdNj Xh32N/a2ghR161tATlltAxbSUuLT9+SuNA2GQ8zdEG7u+uKMBOeecPgBccqRa1NV lHDEGUKqlhA40c0lRY0=
=kJ2M
-----END PGP SIGNATURE-----
Quoted 11 lines · Jelle de Jong
Traffic comes out the KVM quests but doesn?t come in. If I disable bonding everything just works again.
auto bond0
iface bond0 inet manual
slaves eth0 eth1
bond-mode 4
bond-miimon 100
pre-up/sbin/ifconfigbond0 mtu 9000
Quoted 3 lines
auto eth0
iface eth0 inet manual
mtu 900
Does this one really say mtu 900 instead of 9000? Is your eth1 up?
Did you try non-kvm traffic over the bonding interface? Is the switch in LACP mode?
Regards,
Wilco Baan Hofman
Hi Wilco,
Quoted 10 lines · Wilco Baan Hofman
Quoted 9 lines
Traffic comes out the KVM quests but doesn?t come in. If I disable bonding everything just works again.
auto bond0
iface bond0 inet manual
slaves eth0 eth1
bond-mode 4
bond-miimon 100
pre-up/sbin/ifconfigbond0 mtu 9000
Quoted 6 lines
Quoted 3 lines
auto eth0
iface eth0 inet manual
mtu 900Does this one really say mtu 900 instead of 9000?
Is your eth1 up?
No, it was mtu 9000 (sorry for the confusion)
Quoted 2 lines
Did you try non-kvm traffic over the bonding interface? Is the switch in LACP mode?
Yes the Cisco switch is in LACP mode and I use intel nics.
http://paste.debian.net/6686/
I noticed that incoming IPv6 traffic doesn't work anymore, the br0 interface recieved the IPv6 IP and I can ping it on the local-host but not from an other server, the IPv6 works again to moment I remove the bonding.
Remember tcpdump does show traffic coming in and out the br0 device but not the vnet0 device that is used for the kvm guest.
Kind regards,
Jelle de Jong
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 33 lines · Jelle de Jong
I also sent this email to [email protected]
I spent ours debugging and finding out what points to the problem.
I run kvm quests with bridged networking on a bonding lacp set-up, with the 2.6 kernel this has been working fine for years. But with the 3.x kernel this doesn?t work any more.
Traffic comes out the KVM quests but doesn?t come in. If I disable bonding everything just works again.
# working with 2.6 not working with 3.x cat /etc/network/interfaces auto lo iface lo inet loopbackauto bond0 iface bond0 inet manual slaves eth0 eth1 bond-mode 4 bond-miimon 100 pre-up
/sbin/ifconfigbond0 mtu 9000auto br0 iface br0 inet dhcp
bridge_fd0bridge_stponbridge_portsbond0# working with 3.x but no bonding!! cat /etc/network/interfaces auto lo iface lo inet loopbackauto eth0 iface eth0 inet manual mtu 900
auto br0 iface br0 inet dhcp
bridge_fd0bridge_stponbridge_portseth0# uname -a Linux viktoriya 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linuxbridge-utils version 1.5-6
Quoted 7 lines
I already checked iptabls, ebtables there are no running rules and the bellow on zero or one doesn't make a difference either also disabling
bridge_stpoff orbridge_maxwait0 doesn't seem to help.
/bin/echo"0" >/proc/sys/net/bridge/bridge-nf-call-arptables/bin/echo"0" >/proc/sys/net/bridge/bridge-nf-call-ip6tables/bin/echo"0" >/proc/sys/net/bridge/bridge-nf-call-iptables
Anybody? I?m still unable to use bonding lacp & bridge & vlans with kvm guest in a 3.x kernel (2.6 is working fine)
Kind regards,
Jelle de Jong
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iJwEAQECAAYFAlG+7DcACgkQ1WclBW9j5HmXUwP9EXmWz7h2K+3LkWk0NbfAdxd6 nTb2nTWGX/659DqRIIIJbxz3haxxdDIUqjS6QBkAyaG8zJLwNSa2Ks4KdL5mrRJw hSJOqRNhv7u92tNv1uZeN+bZ8huFvvPgMaMd4Mx/vCta1isSOtSzbS9devjg4SFP 0ZX6DhG32uELhpk1AtA=
=NrXT
-----END PGP SIGNATURE-----