Home  |  Services  |  About Us  |  Contact  | 

 

Brad's TechTips - Windows

[<< Full list of Windows tips.]
 
 
Windows: Determine the MAC Address of a Remote Computer or Device
 
Often times we need to find a machine's MAC address so that we can setup DHCP reservations, such as when installing a new server.
 
A> You can use a two-step technique:
     1. PING the machine's IP address or NetBIOS name and get a reply.
     2. Run the ARP -a command against the IP address to get the MAC.
 
     Example:
     PING 192.168.50.2
     <wait for reply, and then...>
     arp -a 192.168.50.2
 
     responds with:
    Interface: 192.168.50.7 --- 0x10003
   Internet Address   Physical Address    Type
   192.168.50.2       00-11-85-d4-2a-6d   dynamic

B> You can use the GETMAC command instead
     GETMAC /s <IPAddress> /v
 
     Example: getmac /s 192.168.50.2 /v will respond with:
      Connection Name  Network Adapter  Physical Address     Transport Name
     ===============  ===============  ===================  =================
     Server Local Ar HP NC7761 Gigab   00-11-85-D4-2A-6D    \Device\Tcpip_{...)}