[Bridge] VLAN translation + PVST+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 17, 2006 at 06:09:37PM -0700, Ian Schwimmer wrote:
> Hello, I am creating a configuration where a Redhat server running 
> bridge-tools 0.9.5 will be bridging between different VLANs on the same 
> physical interface (for example: a bridge consisting of eth1.100 and 
> eth1.110). This physical interface is being connected to modern Cisco 
> switches running PVST+.
> 
> The Cisco switch does not like this configuration as the tags on its 
> BPDUs are being changed but the contents of the BPDUs are left unchanged.
> 
> I need to be running PVST+ because there will be multiple Linux servers 
> performing this VLAN translation/remapping (so there are going to be 
> some loops that I will need blocked).
> 
> Has anyone succeeded in getting VLAN translation/remapping (bridging 
> between two different VLAN tags) working with Cisco PVST+? (not simply 
> disabling spanning tree). Thank you!

Actually I have just written a patch for 2.6.16 the other day which
supports PVST+ packet format. It adds a pvst_vlan attribute to each port
in a bridge, which, if not 0, causes the bpdu's sent on that port to use
the pvst+ llc header and add the vlan tlv at the end of the packet. 

For example you can bridge two vlan interfaces like eth0.4 and eth1.7,
with setting pvst_vlan to 4 on eth0.4 and to 7 on eth1.7 (no automatic
voodoo). Your example can be done too, briding two vlans on the same
trunk.

Should I send the patch to the list or just in private?

-- 
Madarasz Gergely        gorgo@xxxxxxxxxxxx         gorgo@xxxxxxxxxxxxxxx
    It's practically impossible to look at a penguin and feel angry.
        Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux