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

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Thu Mar 12 08:42:48 CET 2015


Am 12.03.2015 um 06:42 schrieb Dietmar Maurer:
>>>> 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"?
>>
>> It's
>> # echo 1 > /sys/class/net/<bridge>/bridge/vlan_filtering 
> 
> So you think we should set that in PVE::Network::activate_bridge_vlan_slave ?

This would at least activate the old behaviour. But there are also use
cases where you don't want that filtering.

So the problem in my case is that there a some VMs i would like to have
a filter and others where i don't want to have that filter so VLANs
inside the VM are working.

This can again only be archieved by the ebtables filter as it allows us
to control traffic types by VM NIC.

Greets,
Stefan



More information about the pve-devel mailing list