I am trying to configure the ARP age timeout. If I am right I should be modifying the /proc/sys/net/ipv4/neigh/default/base_reachable_time_ms with the deisred timeout. But though I set this to 30000ms(30 secs) I see that it takes close to 10mins for the entry to get removed from the arp cache. After reading few articles I see there are few more settings that affect the timeout: /proc/sys/net/ipv4/neigh/default/gc_interval /proc/sys/net/ipv4/neigh/default/gc_stale_time /proc/sys/net/ipv4/route/gc_interval /proc/sys/net/ipv4/route/gc_timeout
I am not sure what to program for these. The gc_timeout defauls to 5mins in linux. I changed that to 30 secs but still I don't see the entry getting removed within base_reachable_time/2 or 3*base_reachable_time/2. Can someone please help?