Skip to contentSkip to conversation

Routing 600+ vlan's via linux problems (looks like arp problems)

DISCUSSION Paul Slootman 1 participant 1 message May 4, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · Øyvind Vågen Jægtnes

Yes, i was suspecting that the arp cache got full, but i will try increasing it :)
Would there be any huge bugs if i change these lines in arp.c:

       .gc_thresh1 =   128,
       .gc_thresh2 =   512,
Quoted 6 lines

to

       .gc_thresh1 =   700,
       .gc_thresh2 =   700,

under the definition for struct arp_tbl?

Why not simply update the /proc/sys values? No need to recompile the kernel.....
We have this in the /etc/sysctl.conf for our firewall:

net/ipv4/neigh/default/gc_thresh1=32768
net/ipv4/neigh/default/gc_thresh2=65536
net/ipv4/neigh/default/gc_thresh3=262144
net/ipv4/route/gc_elasticity=8
net/ipv4/route/gc_interval=30
net/ipv4/route/gc_min_interval=2

Paul Slootman