Friday 29 June 2007

Get MAC Addresses from a remote host # TekTip

To get a remote host (computer) MAC address for their physical network adapter there are a couple of methods. In XP open a command prompt and ping the ip address of the host. type 'arp -a'. This will bring the arp cache table that lists mac and ip address mappings. You may find that you do not see the ip address that you have just pinged. One reason for this is if the ip is on another subnet (routed) then the only ip / mac address mapping will be that of the router. Bummer.

Fear not XP users, another command 'getmac' saves the day. type 'getmac /s hostname' which should return the MAC address of the remote hostname you asked for.

1 comment:

Anonymous said...

People should read this.