[Eug-lug] arp kernel voodoo question for the gurus.
Ben Barrett
stircrazyben at gmail.com
Fri Aug 17 18:40:51 PDT 2007
Do you want it to ignore arp requests from other network devices as well?
(or just slow down the requests generated from this machine?)
ben
On 8/17/07, larry price <laprice at gmail.com> wrote:
>
> 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 =3D 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.
> _______________________________________________
> EUGLUG mailing list
> euglug at euglug.org
> http://www.euglug.org/mailman/listinfo/euglug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://euglug.org/pipermail/euglug/attachments/20070817/c040c2e7/attac=
hment.htm
More information about the EUGLUG
mailing list