Re: [Bridge] VLANs and bridge
From: Joakim Tjernlund <hidden>
Date: 2009-08-26 07:00:54
Also in:
bridge
Patrick McHardy [off-list ref] wrote on 25/08/2009 16:00:44:
Joakim Tjernlund wrote:quoted
Simon Barber [off-list ref] wrote on 22/08/2009 19:12:10:quoted
Looking through B.1.3 it looks like the patch would need some enhancement. It provides a good basis - handling tagging/untagging and filtering, but would need a way to specify the untagged vlan separately for in and out.I see. Perhaps the VLAN maintainer(CC:ed) can comment too. Especially about extending the VLAN code to allowed several VLANs in one interface?Just accepting additional VIDs on one VLAN device should be a relatively trivial change, all you need to do is call vlan_group_set_device() with the additional VIDs. I'd suggest to add something similar to the QoS-mapping lists in vlan_netlink.c for the additional VIDs.
Yes, this seems to be the easy part. There are a few bride issues though:
How would the bridge be able to filter pks based on VID?
How to control which VID to use at pkg TX?
Can you have the same VID on multiple VLAN interfaces?
Jocke