Stephen Hemminger
2007-Apr-18 12:36 UTC
[Bridge] why ./brctl showmacs br0 display nothing?
On Wed, 21 Mar 2007 19:28:50 +0800 "Alex" <alex@4ever-light.com> 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 timerWhat 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.
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 Alex 2007-03-21 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20070321/4a90a591/attachment-0001.htm