On Tue, 24 Mar 2015, Luca Bertoncello wrote:

Zitat von "Karl O. Pinc" <[email protected]>:

Plug it into the network one port at a time
and use the arp command to dump the arp table.  I don't
imagine that the device will use different mac addresses for
different ports at different times.

ARP table will be filled when the device got the IP...
I need it BEFORE it...

the problem is that until there is traffic to the device, you have no way of knowing anything about it.

Switches periodically broadcast information to assist spanning tree (and may do lldp as well), but normal systems don't do anything.

What captive portals do is to put systems on a default vlan, and then after they identify the system disconnect the system so that it will do a new DHCP round and get the address on the correct VLAN

I think you are going to be stuck doing something like this.

Right now there is very limited visibility into what the switch knows via the iwswitch interface, but there is work being done to improve this situation.

David Lang
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to