LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to find an IP address from the MAC address of a remote machine ? (http://www.linuxquestions.org/questions/linux-general-1/how-to-find-an-ip-address-from-the-mac-address-of-a-remote-machine-121454/)

jitz 11-30-2003 11:18 PM

How to find an IP address from the MAC address of a remote machine ?
 
Hai all,

I am on the lookout for a command which will return the IP address of a machine if I give the MAC address as a parameter. Or is there such a command ?


Thnks

Jitz

siddiqu 11-30-2003 11:28 PM

Hi..

arp -a will give ip/mac table.


Siddiqu.T

/usr/src 01-03-2006 08:20 AM

$ arp | grep <MAC address you want>

Hangdog42 01-03-2006 08:55 AM

But be aware that if the machine is remote, the MAC address you see isn't necessarily the MAC address of the remote. MAC addresses are changed by the routers between you and the remote machine.


All times are GMT -5. The time now is 03:35 PM.