From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Priebe - Profihost AG Subject: Re: how to mix bridges and bonding inc. vlans correctly on Kernel > 3.10 Date: Wed, 13 Nov 2013 15:43:48 +0100 Message-ID: <52839024.6050606@profihost.ag> References: <52838590.5070806@profihost.ag> <20131113141244.GM19702@redhat.com> <52838AC8.8070005@profihost.ag> <20131113143410.GN19702@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Linux Netdev List To: Veaceslav Falico Return-path: Received: from mail-ph.de-nserver.de ([85.158.179.214]:49741 "EHLO mail-ph.de-nserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755654Ab3KMOnz (ORCPT ); Wed, 13 Nov 2013 09:43:55 -0500 In-Reply-To: <20131113143410.GN19702@redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: Am 13.11.2013 15:34, schrieb Veaceslav Falico: > On Wed, Nov 13, 2013 at 03:20:56PM +0100, Stefan Priebe - Profihost AG > wrote: >> Hi Falico, >> Am 13.11.2013 15:12, schrieb Veaceslav Falico: >>> On Wed, Nov 13, 2013 at 02:58:40PM +0100, Stefan Priebe - Profihost AG >>> wrote: >>>> Hello, >>>> >>>> while my vlans, bridging and bonding stuff was working until 3.9 i >>>> never >>>> thought about how it is right. So maybe i was always wrong. >>>> >>>> I've this: >>>> >>>> eth2 >>>> \ >>>> -- bond1 -- vmbr1 >>>> / >>>> eth3 >>>> >>>> This works fine and as expected now i want to have a vlan using the >>>> bonding and using a bridge. >>>> >>>> I the past i had this: >>>> eth2 >>>> \ >>>> -- bond1 -- vmbr1 >>>> / \ >>>> eth3 \ vmbr1.3000 >>>> \ ---- tap114i1 >>>> >>>> This was working fine until 3.9.X since 3.10. Right now using 3.10 i >>>> need to put eth2 and eth3 into promisc mode to get it working ;-( this >>>> is bad! >>> >>> As a guess - do you use arp monitoring for bonding? Try using miimon - >>> there were some issues with it in 3.10, which were fixed by some huge >>> patchsets that will never hit 3.10 stable. >>> Also, the bonding configuration would be welcome. >> >> Debian Bonding konfiguration looks like this: >> auto bond1 >> iface bond1 inet manual >> slaves eth2 eth3 >> bond-mode 802.3ad >> bond_miimon 100 >> bond_updelay 200 >> bond_downdelay 0 >> >> This should be miimon using lacp and not arp isn't it? >> Anything more needed? > > Yeah, it's miimon, so nothing here... > > I'll try to set up a reproducer in the nearest future, a bit burdened now. > > Are you using 3.10.X stable? Which version exactly? And at what version did > it work - 3.9.? I'm using 3.10.19 + this patchset from v3.12 (commit b8bde1c4f94908ce8e3c0434fb369a00e9217497 Merge: 4b6c787 dfb5fa3 Author: David S. Miller Date: Fri Oct 18 16:03:03 2013 -0400 Merge branch 'bridge_pvid' ) The problem is simply that the network cards and also the bonds do not seem to know about the bridge on top so they just drop the vlan tagged packages. > Thank you! > >> >> One thing i forgot the one with vmbr1.3000 does not work at all eben not >> with promisc mode. The one below works fine if i set eth2 and eth3 into >> promisc mode. >> >> Stefan >> >>>> I also tried this one without success: >>>> eth2 >>>> \ >>>> -- bond1 -- vmbr1 >>>> / \ >>>> eth3 ----- bond1.3000 --- vmbr1v3000 >>>> \ ---- tap114i1 >>>> >>>> >>>> >>>> Greets, >>>> Stefan >>>> -- >>>> To unsubscribe from this list: send the line "unsubscribe netdev" in >>>> the body of a message to majordomo@vger.kernel.org >>>> More majordomo info at http://vger.kernel.org/majordomo-info.html