|
|
|
|
| Linux: 'Neighbour table overflow' on router with static routes |
|
Problem: After configuring a Linux router with static routes, traffic on one or more interfaces does not work properly. After a few seconds, the following message appears over and over on the console:
"printk: neighbour table overflow"
When trying to ping, the following error message appears:
"connect: No buffers available"
|
|
Solution: Check the static routing table entries.
If "x.x.x.x/x" is a directly connected network segment you should normally not have to define a static route manually. The routing table should refer to the local network device like this:
"x.x.x.x/x dev eth0"
If "x.x.x.x/x" is found behind another router you need to specify that gateway address instead:
"x.x.x.x/x via y.y.y.y"
Failure to do so will result in your router trying to locate hosts on the local network segment using ARP. This in turn will fill the local ARP table with requests which have no hope of resolving, which results in the aforementioned error messages.
|
|
|
|
|
|
This is free technical advice without any warranties.
Use at your own risk. Solutions offered may not apply to your particular problem at all.
Opinions and views expressed in the articles are the authors' personal
and may not necessarily reflect or coincide with those of Ano-Tech Computers.
We take no responsibility if anything bad happens from following any of
the intructions given. If you don't understand and accept this, please
contact us for personal assistance instead.
To read our full disclaimer, go
here.
We welcome anyone who is willing to contribute to this public knowledge base,
contact siteadmin@atc.no
if you have information you would like to share. The idea is not to replace
the commercial support sites, but to publish those hard-to-find
solutions you've found yourself looking for over and over again.
Show all articles