How to find HW Address from IP Address
Hi,
How can I find Lan Hardware Address (MAC Address) if I know IP Address? Any commands or tools to be able to do that.
Thanks.
Nopadon H. (Kim)
Email: nopadon@agere.com
Desktop
Hi,
How can I find Lan Hardware Address (MAC Address) if I know IP Address? Any commands or tools to be able to do that.
Thanks.
Nopadon H. (Kim)
Email: nopadon@agere.com
by erwin_winkel
Kim,
the connection between IP-address and MAC-address is maintained in the ARP-cache. This is a table you can query with the appropriate commands. On the Windows platform this is the 'arp' command (without quotes). Just run this command in a dos-box. Various options let you investigate this table. On the Unix platform there are also commands to display the arp-cache. Refer to the appropriate manual for the exact syntax.
Regards,
Erwin
by nopadh
If you have windows 2000 -
open a dos box and type ipconfig/all
this will give you all you need to know, including the hw address
by nopadh
by syamprasadm
by nopadh
by mcarrara
I think your question is how do I find the HW address on another computer if I know it's IP address.
If that is correct, ipconfig and winipcfg will not work. They only work on the local machine.
I have tried the arp command and it only gives me a 8 of the almost 200 IP addresses on my network.
There must be some tool out ther, but I don't know what it is, possibly a packet sniffer.
by nopadh
by bowieb
You can do this from a DOS window.
The first thing you need to do is get the machine in your arp cache. Use the "ping -a" command to do this.
ping -a 192.168.1.1 (or whatever IP you need)
Then, you just need to look it up. The "arp -a" command will give you a list of IP addresses and MAC addresses. Just look up the one you want.
Note that MAC addresses are used only within subnets. This means that the machine you use to look up the MAC address must be on the same subnet as themachine you are looking for. I don't know of any way to get MAC addresses across subnets.
by nopadh
Thanks.
Kim
by nopadh
This discussion is closed to new replies.
Sort by Trending