T
Techeia
Back to Blog

Linux: how to get mac address from ip address

December 12, 2017
By Techeia
Here is how to get the MAC address of a client in your network if you have the IP address:

#ping "<ip address>"
#ip neighbor | grep "<ip address>"