ARP Cache Timeout – Default ARP Cache Timeout in Linux

arpdebianlinux

I didn't found how check and change the default arp cache timeout on Linux.
I using debian with kernel 3.x (but I supposed it same with older kernels)

Best Answer

60 seconds

you can check it with:

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

and change it with

echo timeout > /proc/sys/net/ipv4/neigh/ethX/gc_stale_time

timeout is new value