On Wed, 2015-03-25 at 13:51, David Lang wrote: > On Wed, 25 Mar 2015, Milan P. Stanic wrote: > >On Wed, 2015-03-25 at 20:21, Luca Bertoncello wrote: > >>"Karl O. Pinc" <[email protected]> schrieb: > >>>It seems I mis-understood. You seem to be looking for > >>>the MAC addresses of the devices into which the OpenWRT > >>>device is plugged. > >>Well, I try again to explain... > >>I need to know the MAC-Address of the device connected to the ports of the > >>OpenWRT-Switch and their port. > > > >If you have ip compiled with neigh (neighbour) support compiled you can > >see mac addresses of devices connected to interfaces. > > > >Try something like this: ip neigh show dev eth0.1@eth0 > > > >Of course, I'm not sure if I understand your question, sorry. > > That will show you information about interfaces directly on the kernel, but > will it show you information about things connecting to the switch? And will > it show you what port on the switch they are connected to? or will it treat > everything on the switch as being on one interface.
I think you are right. But maybe there is utility (extended swconfig?) which can access the switch to show it's data locally if the switch supports this. > Remember, electronically these switches are basically the same as having an > external switch connected to your laptop and you are asking what is plugged > in where on the switch. -- Kind regards _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
