I know the IP address of a host on my own LAN. Using that, how can I find its MAC address (without having to physically access it)?
|
feedback
|
|
If you are on a Windows machine, open a command box (Start...run...cmd), PING the target machine so you have made contact with it and then issue the command
If you are on a linux-based system, install the arp-scan utility and then from a command line you can ask for a scan of your network - in my case:
| |||
|
feedback
|
|
As long as there is no gateway routing the traffic between the computers, any sniffer would give you this information. | |||
feedback
|
|
You can always consult the arp table on your router (in some cases, the router combines the arp and dhcp lease tables together). | |||||||
feedback
|
|
If you have a managed switch or your router lets you view its ARP table you can get this from there. If the computer you have the IP for is online you can ping it and get its MAC from you local ARP table. A general note for the sake of others: it is not possible to obtain the MAC address for machines that are on a different LAN since Layer 3 protocols are used for addressing and delivery in this case and MAC is Layer 2. | |||||
feedback
|
