Re: static arp table doesn't size up ?

Ragnar Hojland Espinosa (ragnar@jazzfree.com)
Mon, 25 Feb 2002 20:42:38 +0100


On Mon, Feb 25, 2002 at 11:43:15AM +0100, Vincent Bernat wrote:
> Hi !
>
> We have a 2.4.16 generic kernel and we run into troubles with arp. We
> have an ethernet segment of 600+ machines. On one of these machines, I
> have set up a static arp table by entering every mac-ip couple.
>
> For several days, I have left the ARP learning (ifconfig eth0 arp) and
> there was no problem. Every 5 minutes, I have checked if there was
> learned address in the arp cache : there was none, so it didn't learn
> any new address.
>
> Today, I have switch to a real static arp table (with ifconfig eth0
> -arp). Randomly, some machines were then unable to ping the
> host.
>
> After a "ifconfig eth0 arp ; ifconfig eth0 -arp", this some other
> machine which were unable to ping the host where the first machines
> are able to do it again. arp table is correct but randomly, some
> machines are unable to get their echo reply, even if its entry is in
> the arp table.
>
> Are there known issues about large arp tables ?

You may want to try to increment the thresholds for garbage collection in
net/ipv4/arp.c or play with the userland arpd in case the kernel is having
problem allocating as many ARP entries as you are using.

-- 
____/|  Ragnar Højland      Freedom - Linux - OpenGL |    Brainbench MVP
\ o.O|  PGP94C4B2F0D27DE025BE2302C104B78C56 B72F0822 | for Unix Programming
 =(_)=  "Thou shalt not follow the NULL pointer for  | (www.brainbench.com)
   U     chaos and madness await thee at its end."      [20 pend. Mar 10]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/