On Wed, 25 Mar 2015, alessandro macuz wrote:
Well, I had almost the same problem but eventually I gave up because it was not really relevantfor me. I'm a bit astonished that there is no command like "show mac-address-table" that Cisco devices have to know behind which ethernet interface a MAC address resides.As somebody else has already remarked, the switch OpenWRT works with MUST know out of which port send the frame and hence it must have a small db of them somewhere in memory. It's just a matter of retrieving that information, nothing more.
The problem is that the switch is not integrated that well into OpenWRT. The manufacturers of the devices never intended the switches to be anything more than a dumb hub. It just so happens that the chipsets that they use are able to do a lot more, and OpenWRT folks have implemented some interfaces to give us more control of the switch. Right now we have good interfaces in the iwswitch toolset to manage VLANs on the switches, but there are a lot of other things that the switches are able to do that we don't have access to (a combination of lack of drivers and lack of capabilities in the switch management software)
There was a discussion of this a month or so back (search for switch in the subject line), I think there is work being done to extend vswitch infrastructure to manage the hardware switch capabilities.
David Lang
_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
