Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
hello help me
how can i get the mac address of remote mechine
if knew the ip address
thanks in advance.

Hi there,
If the station is remote in terms of "it is just another machine on your home LAN or subnet" then yes, your ARP cache will contain the MAC address of that station if you ping its IP address.
To check the arp cache after pinging it - issue "arp -a" from the command line.
Remember - the arp cache times out and clears itself after a certain period of time, so don't wait too long to check the cache entries after pinging the IP address - don't rush though, as we're talking something in the order of 10mins or so!
HOWEVER!!! If the station is remote in terms of "it resides on a different subnet" then ARPs are *not* used from your workstation to communicate with it - as the ip packets will need to go through a routing function in order to get to the destination subnet. So checking the ARP cache after pinging a remote machine of this type will be as much use as a chocolate teapot.
Hope this helps - let us know how you get on.
Best regards, James.

Wanderer - good idea, but this will only work if the "remote" IP address you specify belongs to the same subnet as the machine you are on!
MAC addresses are returned when an ARP request is sent out - see my response above.
Cheers, James.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |