Re: why ./brctl showmacs br0 display nothing?

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

 



On Wed, 21 Mar 2007 19:28:50 +0800
"Alex" <alex@xxxxxxxxxxxxxxx> wrote:

> 
> hi:
> my box use eth0 connect my pc. but I type command "./brctl showmacs br0", no mac addr display and the" brctl showmacs program" not exit,always exec
> 
> # ./brctl show
> bridge name     bridge id               STP enabled     interfaces
> br0             8000.000123456789       no              eth0
>                                                         hdlc0
> # ./brctl showmacs br0
> port no mac addr                is local?       ageing timer

What kernel version?

Showmacs tries to get the information by reading /sys/class/br0/brforward
Does your system not support sysfs?  Does that file exist?

For older 2.4 system it uses an ioctl.
_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge


[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