[pve-devel] [PATCH] support QinQ / vlan stacking

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Thu Mar 12 10:00:27 CET 2015


Am 12.03.2015 um 09:55 schrieb Alexandre DERUMIER:
>>> Strangely QinQ works fine with vanilla 3.10 and also with RHEL 3.10. No
>>> idea what has changed.
> 
> Yes, but the vlan_filtering qinq patch from 3.16 is about managing all inside the linux bridge.
> (without tagging on ethX interfaces).
> 
> and, linux bridge is aware of vlan tags and qinq tags with this.

ah OK but this also means we rely on kernel version and features. I
would still vote just for your ebtables patches. You can control all
packet types also VLAN packets with it and it works since Kernel 3.2.


Stefan

> 
> 
> ----- Mail original -----
> De: "Stefan Priebe" <s.priebe at profihost.ag>
> À: "aderumier" <aderumier at odiso.com>, "dietmar" <dietmar at proxmox.com>
> Cc: "pve-devel" <pve-devel at pve.proxmox.com>
> Envoyé: Jeudi 12 Mars 2015 09:50:50
> Objet: Re: [pve-devel] [PATCH] support QinQ / vlan stacking
> 
> Am 12.03.2015 um 09:47 schrieb Alexandre DERUMIER: 
>> About QinQ (802.1ad) implementation in bridge vlan_filtering, 
>> support has been added in kernel 3.16. 
>> http://www.spinics.net/lists/linux-ethernet-bridging/msg05514.html 
>>
>> But I'm not sure it's already backport in redhat 3.10 kernel. 
> 
> Strangely QinQ works fine with vanilla 3.10 and also with RHEL 3.10. No 
> idea what has changed. 
> 
> Stefan 
> 
> 
>> ----- Mail original ----- 
>> De: "aderumier" <aderumier at odiso.com> 
>> À: "dietmar" <dietmar at proxmox.com> 
>> Cc: "pve-devel" <pve-devel at pve.proxmox.com> 
>> Envoyé: Jeudi 12 Mars 2015 09:38:00 
>> Objet: Re: [pve-devel] [PATCH] support QinQ / vlan stacking 
>>
>>>> If I remember, I have done basic patch last year for this. 
>>>> http://thread.gmane.org/gmane.linux.pve.devel/5886/focus=5885 
>>
>> They was also this patch 
>> http://pve-devel.pve.proxmox.narkive.com/hmCxpfOQ/pve-manager-add-bridge-vlan-option-to-bridge-in-etc-network-interface-v2 
>>
>> to allow vlan to going out physical interfaces 
>>
>> ----- Mail original ----- 
>> De: "aderumier" <aderumier at odiso.com> 
>> À: "dietmar" <dietmar at proxmox.com> 
>> Cc: "pve-devel" <pve-devel at pve.proxmox.com> 
>> Envoyé: Jeudi 12 Mars 2015 08:34:19 
>> Objet: Re: [pve-devel] [PATCH] support QinQ / vlan stacking 
>>
>> Hi everybody, 
>>
>> I'm jumping into the discuss. 
>>
>>>> Please can you give me further hints howto enable/disable "vlan_filtering"? 
>> echo 1 > /sys/class/net/vmbrX/bridge/vlan_filtering 
>>
>>
>>
>>
>>
>> About vlan filtering, it's new bridge feature (since 3.8 kernel), 
>>
>> where you can manage vlans directly on linux bridge ports. (like ovs) 
>>
>>
>> If I remember, I have done basic patch last year for this. 
>> http://thread.gmane.org/gmane.linux.pve.devel/5886/focus=5885 
>>
>>
>>
>>
>> ----- Mail original ----- 
>> De: "dietmar" <dietmar at proxmox.com> 
>> À: "Stefan Priebe" <s.priebe at profihost.ag>, "Andrew Thrift" <andrew at networklabs.co.nz>, "pve-devel" <pve-devel at pve.proxmox.com> 
>> Envoyé: Mercredi 11 Mars 2015 17:35:22 
>> Objet: Re: [pve-devel] [PATCH] support QinQ / vlan stacking 
>>
>>> It's the vlan support and vlan filtering series. 
>>>
>>> For example: 
>>> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/net/bridge?id=8580e2117c06ac0c97a561219eaab6dab968ea3f 
>>>
>>> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/net/bridge?id=204177f3f30c2dbd2db0aa62b5e9cf9029786450 
>>>
>>> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/net/bridge?id=0d5501c1c828fb97d02af50aa9d2b1a5498b94e4 
>>>
>>> and may be others. 
>>>
>>> The old behaviour can be restored by enabling vlan_filtering on the bridge. 
>>
>> Please can you give me further hints howto enable/disable "vlan_filtering"? 
>>
>> _______________________________________________ 
>> pve-devel mailing list 
>> pve-devel at pve.proxmox.com 
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
>> _______________________________________________ 
>> pve-devel mailing list 
>> pve-devel at pve.proxmox.com 
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
>> _______________________________________________ 
>> pve-devel mailing list 
>> pve-devel at pve.proxmox.com 
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
>> _______________________________________________ 
>> pve-devel mailing list 
>> pve-devel at pve.proxmox.com 
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
>>
> 



More information about the pve-devel mailing list