Stephen, Did you mean that the #255 limit is set in 2.4 Kernel, not> bridge-utility? I am wondering why there is such limit, > performance-related, or...? If I have to modify kernel 2.4 to exceed the > limit, can you tell me where I should look at? Any drawback if I increase > the limit up to 6000? > > Many thanks > > > From: bridge-bounces@lists.osdl.org > [mailto:bridge-bounces@lists.osdl.org] On Behalf Of Stephen Hemminger > Sent: Thursday, November 03, 2005 6:06 PM > To: Hai Wang > Cc: bridge@lists.osdl.org > Subject: Re: [Bridge] Bridge question > > On Thu, 3 Nov 2005 17:16:45 -0500 > Hai Wang <u2.ireland@gmail.com> wrote: > > > Hello, > > > > Do you know why it is impossible to add more than #254 interfaces on > a > > bridge, why we need such a limit, how it can be exceeded? > > > > Thanks! > > > > Regards! > > You can have up 1023 interfaces with 2.6. I didn't want to change the > 2.4 > code, only critical bug fixes get backported. > > -- > Stephen Hemminger <shemminger@osdl.org> > OSDL http://developer.osdl.org/~shemminger >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20051103/de0ddc57/attachment.htm
Stephen, Can you tell me how you did the trick in code? From what you said that max of limit only can be 1023, 6000 is not doable, right? Regards! On 11/3/05, Hai Wang <hwang@finepoint.com> wrote:> > Can you tell me how you did the trick? From what you said that max of > limit only can be 1028, no more, right? > > Regards! > > -- > Hai Wang > Principle Software Engineer > Fine Point Technologies, Inc. > 139 Centre Street, 6th Floor > New York, New York 10013-4408 > email: hwang@finepoint.com > phone: +1.212.962.7410 x 326 > fax: +1.212.962.7404 > web: http://www.finepoint.com > > -----Original Message----- > From: bridge-bounces@lists.osdl.org > [mailto:bridge-bounces@lists.osdl.org] On Behalf Of Stephen Hemminger > Sent: Thursday, November 03, 2005 6:33 PM > To: Hai Wang > Cc: bridge@lists.osdl.org > Subject: Re: [Bridge] Bridge question > > On Thu, 3 Nov 2005 18:17:37 -0500 > Hai Wang <u2.ireland@gmail.com> wrote: > > > Stephen, > > > > Did you mean that the #255 limit is set in 2.4 Kernel, not > > > bridge-utility? I am wondering why there is such limit, > > > performance-related, or...? If I have to modify kernel 2.4 to exceed > the > > > limit, can you tell me where I should look at? Any drawback if I > increase > > > the limit up to 6000? > > > > > Spanning tree protocol has limit on the protocol of 16 bits for port_id. > originally 8 bits were for priority and 8 bits were for port number, > but I added the cheat that vendors were using of using 2 bits of > priority > for port number. > > -- > Stephen Hemminger <shemminger@osdl.org> > OSDL http://developer.osdl.org/~shemminger >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20051103/6ba6b5c2/attachment.htm
Hello Stephen, I have two questions for you, please help me. 1. Are you aware that kernel panic issue when brtcl managed to remove interfaces on the bridge on RH9 (2.4.X)? it is random, it seems to me that it is racing issue? any fix? 2. I went through ChangeLog of kernel, I found ------------------------------------------------------------------------------------------------- *Summary of changes from v2.6.6 to v2.6.7* shemminger@osdl.org [BRIDGE]: Allow multiple interfaces with same address (necessary for VLAN's). ----------------------------------------------------- it seems to me that ethernet bridge allows interfaces with same MACs address only on kernel 2.6.7 or later, right? If I want to backport the feature to kernel 2.4.x, what I should take care? Many thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20051108/86672033/attachment.htm
On Thu, 3 Nov 2005 17:16:45 -0500 Hai Wang <u2.ireland@gmail.com> wrote:> Hello, > > Do you know why it is impossible to add more than #254 interfaces on a > bridge, why we need such a limit, how it can be exceeded? > > Thanks! > > Regards!You can have up 1023 interfaces with 2.6. I didn't want to change the 2.4 code, only critical bug fixes get backported. -- Stephen Hemminger <shemminger@osdl.org> OSDL http://developer.osdl.org/~shemminger
Hello, Do you know why it is impossible to add more than #254 interfaces on a bridge, why we need such a limit, how it can be exceeded? Thanks! Regards! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20051103/a7c9e1b9/attachment-0001.htm