LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Resolve IP to MAC Address (https://www.linuxquestions.org/questions/linux-general-1/resolve-ip-to-mac-address-122421/)

TheRealDeal 12-03-2003 04:59 PM

Resolve IP to MAC Address
 
Hi all,

Can anyone please tell me how to resolve an ip address to it's MAC address?

The MAC addresses I want aren't my local machine, they are various machines out there on my network.

Thanks alot.
Regs
Craig

lyle_s 12-03-2003 07:16 PM

/sbin/arp -a will show you the kernel's ARP cache. If some computers on the network don't show up, try pinging them first to make the ARP protocol do its thing (discover a MAC address given an IP address).

Lyle


All times are GMT -5. The time now is 07:59 PM.