All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] bond-mode 4 bridge-utils 3.x kernel not fully working
@ 2013-05-28 23:10 Jelle de Jong
  2013-05-29  7:29 ` Wilco Baan Hofman
  2013-06-17 11:00 ` Jelle de Jong
  0 siblings, 2 replies; 4+ messages in thread
From: Jelle de Jong @ 2013-05-28 23:10 UTC (permalink / raw)
  To: bridge

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everybody,

I also sent this email to bonding-devel@lists.sourceforge.net

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-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bridge] bond-mode 4 bridge-utils 3.x kernel not fully working
  2013-05-28 23:10 [Bridge] bond-mode 4 bridge-utils 3.x kernel not fully working Jelle de Jong
@ 2013-05-29  7:29 ` Wilco Baan Hofman
  2013-05-29  7:54   ` Jelle de Jong
  2013-06-17 11:00 ` Jelle de Jong
  1 sibling, 1 reply; 4+ messages in thread
From: Wilco Baan Hofman @ 2013-05-29  7:29 UTC (permalink / raw)
  To: Jelle de Jong; +Cc: bridge

On Wed, 2013-05-29 at 01:10 +0200, Jelle de Jong wrote:

> 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/ifconfig bond0 mtu 9000

> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bridge] bond-mode 4 bridge-utils 3.x kernel not fully working
  2013-05-29  7:29 ` Wilco Baan Hofman
@ 2013-05-29  7:54   ` Jelle de Jong
  0 siblings, 0 replies; 4+ messages in thread
From: Jelle de Jong @ 2013-05-29  7:54 UTC (permalink / raw)
  To: Wilco Baan Hofman; +Cc: bridge

Hi Wilco,

On 29/05/13 09:29, Wilco Baan Hofman wrote:
>> 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/ifconfig bond0 mtu 9000
> 
>> auto eth0
>>   iface eth0 inet manual
>>   mtu 900
> 
> Does this one really say mtu 900 instead of 9000? 
> Is your eth1 up? 

No, it was mtu 9000 (sorry for the confusion)

> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bridge] bond-mode 4 bridge-utils 3.x kernel not fully working
  2013-05-28 23:10 [Bridge] bond-mode 4 bridge-utils 3.x kernel not fully working Jelle de Jong
  2013-05-29  7:29 ` Wilco Baan Hofman
@ 2013-06-17 11:00 ` Jelle de Jong
  1 sibling, 0 replies; 4+ messages in thread
From: Jelle de Jong @ 2013-06-17 11:00 UTC (permalink / raw)
  To: bridge

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 29/05/13 01:10, Jelle de Jong wrote:
> I also sent this email to bonding-devel@lists.sourceforge.net
> 
> 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

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-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-17 11:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-28 23:10 [Bridge] bond-mode 4 bridge-utils 3.x kernel not fully working Jelle de Jong
2013-05-29  7:29 ` Wilco Baan Hofman
2013-05-29  7:54   ` Jelle de Jong
2013-06-17 11:00 ` Jelle de Jong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.