Scan for IP and MAC addresses

If doesn't fit into any other category ....
Post Reply
Hendrix
Posts: 29
Joined: Sun Feb 14, 2021 11:03 am
Has thanked: 8 times
Been thanked: 6 times

Scan for IP and MAC addresses

Post by Hendrix »

Is there a way to scan my network for all connected devices and their IP (and MAC-) addresses?
I know my router can do this, but is it also possible to do this with Annex?
User avatar
Electroguard
Posts: 179
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 40 times
Been thanked: 102 times

Re: Scan for IP and MAC addresses

Post by Electroguard »

You can use the Annex PING instruction to sequence through all 1 to 255 node IP addresses on that subnet.
Some devices (particularly routers) may be deliberately configured not to respond to pings, so not all nodes will necessarily respond.
The router already knows every device connected to its subnet else unknown devices would be ignored and not recognised on its subnet.
Hendrix
Posts: 29
Joined: Sun Feb 14, 2021 11:03 am
Has thanked: 8 times
Been thanked: 6 times

Re: Scan for IP and MAC addresses

Post by Hendrix »

Thanks,
I have no ESP8266 to try today, but will "Ping" return a MAC-address?
User avatar
Electroguard
Posts: 179
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 40 times
Been thanked: 102 times

Re: Scan for IP and MAC addresses

Post by Electroguard »

No, Annex PING acts like your computers version of Ping, which reports how long it takes for a reply to be returned from the target IP, and therefore if it is reachable.
User avatar
Nighthawk
Posts: 7
Joined: Fri Feb 19, 2021 5:23 pm
Has thanked: 18 times
Been thanked: 2 times

Re: Scan for IP and MAC addresses

Post by Nighthawk »

Have you considered something like "angry IP scanner" free utility for a PC or I also like "Fing" for my android phone.
Both will show you all the connected devices and the IP's, etc.

cheers
Dwight
Hendrix
Posts: 29
Joined: Sun Feb 14, 2021 11:03 am
Has thanked: 8 times
Been thanked: 6 times

Re: Scan for IP and MAC addresses

Post by Hendrix »

I just would like to do it with Annex :)
But thanks, "angry IP scanner" works perfectly.
Post Reply