Monday, 20 February 2012

Frustration clearing the ARP cache on a linux box

Spent quite some time trying to get to the bottom of this little wonder, how to delete the ARP cache on a linux distro, backtrack 5 to be specific.

Got slightly distracted by this error message on a completely different subject

So back to the problem in hand. Clear or delete the ARP cache on Backtrack

You have to delete each individual ARP entries
So for

you have to use
arp -d
arp -d
arp -d

I've seen mention of scripts to do this, but I think a reboot would be quicker for myself.

for Windows people,
ARP -a displays the ARP cache
arp -d * deletes the arp cache, but need elevated rights in Vista, W7, Server 2008+

Seems I need to look into Linux SE. That may be stopping arp -d* deleting all ARP entries..

No comments: