in reply to Re: MAC address for Linux Machine
in thread MAC address for Linux Machine
Also, if the MAC address of interest isn't in your ARP cache, you can try pinging it with Net::Arping. It will allow you to ping a host using ARP packets and get the MAC address directly from the reply. This is a cool module, even if the documentation leaves a bit to be desired.
Your system's ARP cache should cache the MAC addresses of machines on the local network with which it has recently communicated, so you may not even need to install the module depending on your environment.
Here's another link on ARP and Linux if you're interested.
|
|---|