How can I query the local ARP-cache on my Linux-machine to see when a specific ARP-entry was learned and/or updated the last time?
How to query the age of an ARP-cache entry in Linux
arplinux-networking
arplinux-networking
How can I query the local ARP-cache on my Linux-machine to see when a specific ARP-entry was learned and/or updated the last time?
Best Answer
ip -statistics neighbour
gives some interesting information. When called withwatch
one number seems to increment once per second, and resets to zero when a new arp exchange takes place.Marked with >< are the numbers that increment with time.