How can I use Python to ping a device when I only know it's MAC address. I'm trying to build a system that pings a device every now and then to see if a device is currently connected to the network, but I don't want to ping by an IP address as they could very easily change (and no I don't want to statically assign addresses).
Asked
Active
Viewed 2,043 times
4
-
Why do you think this is possible? See [this](http://www.webune.com/forums/how-to-ping-by-mac-address.html) article for example. – Jeroen Heier Jul 15 '18 at 06:31
1 Answers
1
Get IP address from MAC on the fly (every time you need to ping, re-calculate this) and then ping the IP address.

Ishan Srivastava
- 1,129
- 1
- 11
- 29