[Bridge] max number of enslaved devices

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

 



On Thu, 17 Mar 2005 12:32:55 +0200
"Osama Abu Elsorour" <osama@xxxxxxxxxx> wrote:

> What is the maximum number of devices that can be enslaved in a bridge
> interface?
> 
> I have tried enslaving 512 devices. Although the brctl tool did not complain
> while adding them, when I use brctl show command it only shows 255.
> 
> Thanks
> 

Depends on the kernel version.  With the 2.6 kernel and current bridge utilities,
the sysfs interface (/sys) is used and it can handle a infinite number of devices
because it walks the subdirectory /sys/class/net/br0/port to see the enslaved
devices. The older interface was limited by the response buffer size of the ioctl.

[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