kernel: Neighbour table overflow
Jirka Kosina
jikos na jikos.cz
Pátek Říjen 18 12:33:56 CEST 2002
On Fri, 18 Oct 2002, Jan Mrtynek wrote:
> Ano toto uz tu bylo, ale nikde jsem nenasel reseni problemu. Je mi jasne
> ze chybove hlaseni je zpusobeno preplnenou arp-cache, ale nevim jak ji
> vyprazdnit. Zkousel jsem arp -d, ale nepomohlo. Pocitac ma jadro 2.4.17
> a je pripojen na sit. Chybove hlasen vypisuje uz asi 2 tydny.
> Restartovat nechci.
Mohl byste to vyresit timto:
CONFIG_ARPD
Normally, the kernel maintains an internal cache which maps IP
addresses to hardware addresses on the local network, so that
Ethernet/Token Ring/ etc. frames are sent to the proper address on
the physical networking layer. For small networks having a few
hundred directly connected hosts or less, keeping this address
resolution (ARP) cache inside the kernel works well. However,
maintaining an internal ARP cache does not work well for very large
switched networks, and will use a lot of kernel memory if TCP/IP
connections are made to many machines on the network.
If you say Y here, the kernel's internal ARP cache will never grow
to more than 256 entries (the oldest entries are expired in a LIFO
manner) and communication will be attempted with the user space ARP
daemon arpd. Arpd then answers the address resolution request either
from its own cache or by asking the net.
This code is experimental and also obsolete. If you want to use it,
you need to find a version of the daemon arpd on the net somewhere,
and you should also say Y to "Kernel/User network link driver",
below. If unsure, say N.
--
JiKos.
Další informace o konferenci Linux