larry priceFri Aug 17 18:02:46 PDT 2007
On 8/17/07, Mike Cherba <mike.cherba at caviumnetworks.com> wrote: > Larry, > I did a little digging and I finally found something that appears to > confirm my idea that gc_stale_time is the answer. > http://linux-ip.net/html/ether-arp.html > you will want to change this for the interface in question, as the > default values only get used when creating new interfaces. setting net.ipv4.neigh.eth0.gc_stale_time = 5 //a ridiculously low value and watching the interface with tcpdump -i eth0 arp does not force arp requests every 5 seconds as you might expect. reading through /net/core/neighbour.c doesn't really give me any ideas as to what's going on. net/ipv4/arp.c has the functions for creating and sending arp packets, but I'm missing the governing logic.