Glam Prestige Journal

Bright entertainment trends with youth appeal.

Where can I find out how long ARP table entries are cached? I'm running 13.10. Can I get this on the command line?

2

1 Answer

You can get the default arp cache timeout by:

cat /proc/sys/net/ipv4/neigh/default/gc_stale_time

In my case it's 60. That means 60 seconds until the entry is removed. Every time the entry is used in the table, the timer for this entry resets to 60 seconds.

Additionally you can set it by:

echo 3600 >/proc/sys/net/ipv4/neigh/default/gc_stale_time

Or permantent in the config file /etc/sysctl.conf.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy