[Bridge] VLAN-aware bridge : [PATCH] Add vlan id to bridge forward database

Stephen Hemminger shemminger at vyatta.com
Thu Jun 5 14:29:24 PDT 2008

On Thu, 5 Jun 2008 22:08:03 +0200 (CEST)
"Faruk Keskin" <faruk at eit.uni-kl.de> wrote:

> Hello everybody, hi Jaime,
> I'm mailing to get more information about whether your patch
> [PATCH] Add vlan id to bridge forward database
> has been accepted so far.
> I couldn't find the patched version yet - could you please tell me where I
> can get the latest version of the patch or point out a reference to it ?

This only applys to bridge that is blindly bridging without any knowledge
of vlan's. You can already handle the case of bridging selected vlan's
if you tell the kernel about them. 

> Has the vlan-aware bridge forwarding already been tested ?

People do it all the time without patch by configuring the vlan's
first then bridging the vlan's.

> And how about forwarding tagged packets ?
> Until now, the bridge always stripped off the tag if present.

Not if you bridge the vlan's

> I'm currently thinking about extending the sk_buff data structure to
> incorporate the vlan tag - to keep the VLAN information present when
> exchanging packets from or to the bridge with the 8021q module and also
> when a socket is bind to a interface (extending the sockaddr_ll struct in
> that case).
> Do you think thats's a sane approach ?

Only for other uses like sniffing

More information about the Bridge mailing list