The ARP table maps IP addresses to MAC addresses so devices on a local network can communicate at the hardware level. This content demonstrates how to view, interpret, and clear the ARP table using Windows command prompt tools.
ARP Table Overview
We know that we have to use MAC addresses to communicate on the local area network. And if we're used to using IP addresses, or the machines are communicating at the IP address level, then it still has to get a MAC address to send that communication out on a local area network.
So to do that, I'm going to click the start button, and I'm going to type in cmd to bring up a command prompt. And with the command prompt up, I'm going to type in arp -a, or ARP all. I want to see all of the table here.
So we can see that there's two interfaces. It has this 192.168.74.12, and this is actually the wireless interface, which is 192.168.42.45. So 42.45, that's the address that's assigned to this machine. We're going to call this our demo laptop because I'm demoing on it. And I'm actually remoted into it from my working laptop, so I'm going to call this other machine here that I'm remoting in from my working laptop.
So it needs to know a MAC address to communicate back and forth. And I take a look, and there is the MAC address of my working laptop.
Now what I'm going to do is I'm going to run through the process of deleting this table and see how fast it populates. It should be really quick, and it should be really quick because it's making this connection. There's a remote connection between these two devices, and so as soon as I clear this out, it instantly has to go and find out this data again. So that's exactly what I'm going to do.
If I were to type this right now, I'm going to do arp -d, and it's actually going to give me a warning because I need elevated privileges on this. So to get elevated privilege on a command prompt, I'm going to open up my Windows again, hit cmd, but instead of hitting enter to open this up, I'm going to right click on it and say run as administrator. It's going to prompt me, make sure this is what I want. Yes, it is.
Now I'm going to type in, I'll do this one more time, arp -a. We can see the table is populated with quite a few entries. I'm going to clear this out with a dash d to delete it, and then immediately I'm going to go back and type that in. We can see it's cleared out all of the entries with the exception of the ones. Well, it's cleared everything out, but it really quickly had to once again, because there's an active connection between my working laptop and my demo laptop. It had to really quickly go out there and discover what the MAC address of that laptop is again.
So there is the ARP table. It's pretty fascinating. You can see some multicast address in there, you can see some interesting information in there. So it might be kind of fun to pull that up and take a look at that.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →