Hello Stephen,
 
     I was not talking about nested bridges, I meant all bridges created on one Linux are independent. As matter of fact, brctl does not allow to add a bridge to another bridge.
 
    In my case, I have 10 BR2684 interfaces and eth0 on one linux PC with the same MAC address, nas0....nas9.
 
    I create two bridges br0 and br1, and add nas0....nas5 and eth0.32 (VLAN) into br0, and add nas6..nas9 and eth0.33 into br1, as I mentioned above, nas0...nas9 have the same MAC whereas eth0.32 and eth0.32 also share a MAC, so br0 and br1 have the same Bridge ID, do you think that the scenario will work?
 
  
Thanks!
 
Regards!
 
   
 
 
    
 
    
 
    
   
 
   
 
     I am not talking about nested

 
On 11/4/05, Stephen Hemminger <[EMAIL PROTECTED]> wrote:
On Fri, 4 Nov 2005 08:19:35 -0500
Hai Wang <[EMAIL PROTECTED] > wrote:

> Stephen,
>   Since your trick is using 2 (even 4) priority bits, do you think it could
> cause some cmpatibility issue with other STP implementation which still uses
> these bits? (it seems to me that port priority is local significant. maybe
> we can use all 8 bits for port ID, can't we?)
>   If we take other approaches, like create more than one bridges on one
> Linux box, I am not sure if it is feasible, since I saw all bridges created
> on the box have the same bridge ID.
>   Thanks!

The port id is treated as a 16 bit ordered field by STP. So the other
side won't have any problem. Nested bridge's won't work for a bunch of
implementation related reasons, it's not impossible to change to allow
that just a lot of work getting rid of all the possible race issues.

The bridge id comes from the Mac of the first interface in bridge.
So if you have mulitple bridges they all would have different bridge ids.


--
Stephen Hemminger <[EMAIL PROTECTED]>
OSDL http://developer.osdl.org/~shemminger

_______________________________________________
Bridge mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/bridge

Reply via email to