Re: Newbiew question: Need some clarifications in 802.1q and bridging code interaction in linux

Peter Stuge <[email protected]>
Newsgroups gmane.linux.drivers.vlan
Message-ID <[email protected]>
On Tue, Jun 06, 2006 at 09:45:38AM -0700, Stephen Hemminger wrote:
> > In Linux implememtation a bridge means a broadcast domain, so for
> > example  if I need to support all 4096 vlans then I need to create
> > 4096 bridging entities and attach the specific subports like
> > eth01.2, eth01.3 etc to bridge for that vlan.

To clarify further, if you want to bridge all VLANs on eth0 with eth1
just add eth0 and eth1 to the bridge. But that will assume that all
VIDs are the same on both ports.

If eth0.2 should be bridged with eth1.3 and so on, then you will need
one bridge per VLAN. Remember to set:
vconfig set_name_type DEV_PLUS_VID_NO_PAD

..if it isn't already set.

..and what happened to the vconfig set_bind_mode option that was
required for this? (Or did PER_DEVICE become the default, I seem to
recall this being the case?)


//Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.