How to Use an IP Address to Find a MAC Address
How to Use an IP Address to Find a MAC Address GA S REGULAR Menu Lifewire Tech for Humans Newsletter! Search Close GO Internet, Networking, & Security > Home Networking 354 354 people found this article helpful
The ping command establishes a connection with the other devices on the network and shows results like this: Pinging 192.168.86.45 with 32 bytes of data:Reply from 192.168.86.45: bytes=32 time=290ms TTL=128Reply from 192.168.86.45: bytes=32 time=3ms TTL=128Reply from 192.168.86.45: bytes=32 time=176ms TTL=128Reply from 192.168.86.45: bytes=32 time=3ms TTL=128
Enter the ARP command with a "-a" flag to get a list that shows the MAC address of the device you pinged: arp -a
The results may look something like this but probably with many other entries. Interface: 192.168.86.38 --- 0x3 Internet Address Physical Address Type 192.168.86.1 70-3a-cb-14-11-7a dynamic 192.168.86.45 98-90-96-B9-9D-61 dynamic 192.168.86.255 ff-ff-ff-ff-ff-ff static 224.0.0.22 01-00-5e-00-00-16 static 224.0.0.251 01-00-5e-00-00-fb static
Find the device's IP address in the list. The MAC address is shown right next to it. In this example, the IP address is 192.168.86.45, and its MAC address is 98-90-96-B9-9D-61. Alex Dos Diaz / Lifewire
How to Use an IP Address to Find a MAC Address
TCP/IP networks track IP addresses and MAC addresses
By Bradley Mitchell Bradley Mitchell Writer Massachusetts Institute of Technology University of Illinois An MIT graduate who brings years of technical experience to articles on SEO, computers, and wireless networking. lifewire's editorial guidelines Updated on May 6, 2022 Reviewed by Chris Selph Reviewed by Chris Selph Chris Selph is a CompTIA-certified technology and vocational IT teacher. He also serves as network & server administrator and performs computer maintenance and repair for numerous clients. lifewire's editorial guidelines Tweet Share Email Tweet Share EmailIn This Article
Expand Jump to a Section How to Use ARP to Find a MAC Address Check Your Router's Connection Data Why Figure Out a MAC Address Limitations of MAC Address LookupsWhat to Know
Ping the device you want to find a MAC address for using the local network address.Enter the ARP command with a "-a" flag.Look for the IP address in the results. The Mac address is next to the IP address. This article explains how to find a MAC address with an IP address using the command line utility ARP. It also covers additional information about checking your router's connection data for an IP address.How to Use ARP to Find a MAC Address
In Windows, Linux, and other operating systems, the command line utility ARP (Address Resolution Protocol) shows local MAC address information stored in the ARP cache. However, it only works within the small group of computers on a local area network (LAN), not across the internet. ARP is intended to be used by system administrators, and it is not typically a useful way to track down computers and people on the internet. TCP/IP computer networks use both the IP addresses and MAC addresses of connected client devices. While the IP address changes over time, the MAC address of a network adapter always stays the same. Using ARP, each local network interface tracks both the IP address and MAC address for each device it has recently communicated with. Most computers let you see this list of addresses that ARP has collected. Here is one example of how to find a MAC address using an IP address. Start by pinging the device you want the MAC to address for. Use a local address. If your network is 10.0.1.x, use that number to ping. For example: ping 192.168.86.45The ping command establishes a connection with the other devices on the network and shows results like this: Pinging 192.168.86.45 with 32 bytes of data:Reply from 192.168.86.45: bytes=32 time=290ms TTL=128Reply from 192.168.86.45: bytes=32 time=3ms TTL=128Reply from 192.168.86.45: bytes=32 time=176ms TTL=128Reply from 192.168.86.45: bytes=32 time=3ms TTL=128
Enter the ARP command with a "-a" flag to get a list that shows the MAC address of the device you pinged: arp -a
The results may look something like this but probably with many other entries. Interface: 192.168.86.38 --- 0x3 Internet Address Physical Address Type 192.168.86.1 70-3a-cb-14-11-7a dynamic 192.168.86.45 98-90-96-B9-9D-61 dynamic 192.168.86.255 ff-ff-ff-ff-ff-ff static 224.0.0.22 01-00-5e-00-00-16 static 224.0.0.251 01-00-5e-00-00-fb static
Find the device's IP address in the list. The MAC address is shown right next to it. In this example, the IP address is 192.168.86.45, and its MAC address is 98-90-96-B9-9D-61. Alex Dos Diaz / Lifewire