public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Routing 600+ vlan's via linux problems (looks like arp problems)
@ 2007-05-04 14:02 Paul Slootman
  0 siblings, 0 replies; 19+ messages in thread
From: Paul Slootman @ 2007-05-04 14:02 UTC (permalink / raw)
  To: linux-kernel

Øyvind Vågen Jægtnes <lorrides@gmail.com> wrote:
>
>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,
>
>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

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Routing 600+ vlan's via linux problems (looks like arp problems)
@ 2007-05-03 20:25 Øyvind Vågen Jægtnes
  2007-05-03 20:34 ` Jan Engelhardt
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Øyvind Vågen Jægtnes @ 2007-05-03 20:25 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hi,

We have a one gigabit internet connection that is normally
routed by a hardware juniper router. The drive in this is down
and we need to use a linux machine (Pentium D 3 ghz) as a
temporary router.
Now setting up all the 600 vlans and assigning ip addresses
is no problem. We have testet all by using a laptop, setting up
600 vlan interfaces on this and running dhcpclient on all.
This worked just fine, all the interfaces got address.

Now for the real setup.
We closed the mac of the juniper to the network card that
would be connected to the internal LAN, set up the interfaces,
and swapped cables. This worked fine for approximately 100
of the computers that are connected, but the rest would not
get IP. The connected 100 computers were routed just fine.

What we think the problem is, is that the arp cache on the
linux router seems strange. It can resolve the MAC for the
100 clients that actually got through.
For the rest all we see in the arp cache is (incomplete)

Here is some of the listing for arp -n:
193.239.155.118          ether   00:0A:E4:59:75:66   C
eth1.1087
193.239.154.74                   (incomplete)
eth1.1016
193.239.155.7            ether   00:11:95:D2:3F:FD   C
eth1.2002
83.143.114.222                   (incomplete)
eth1.1305
83.143.113.246           ether   00:0B:5D:4B:B8:77   C
eth1.1247
83.143.116.126                   (incomplete)
eth1.1409
83.143.118.114                   (incomplete)
eth1.1534
193.239.154.210          ether   00:03:0D:2F:1B:7F   C
eth1.1050
169.254.69.247           ether   00:15:C5:C2:31:6C   C
eth1.1262
83.143.112.38                    (incomplete)
eth1.1131
83.143.118.18                    (incomplete)
eth1.1510
83.143.112.118           ether   00:11:95:CE:BF:72   C
eth1.1151
192.168.1.2              ether   00:0D:88:78:C0:00   C
eth1.2050
83.143.117.138                   (incomplete)
eth1.1476
83.143.116.18                    (incomplete)
eth1.1382
83.143.118.26                    (incomplete)
eth1.1512
83.143.112.6                     (incomplete)
eth1.1123
193.239.155.62                   (incomplete)
eth1.1073

`arp -n|wc -l` returns around 350, which is the number of active ports on the
edge switches...
this number is confirmed by snmp

I have looked through the source for arp.c but i can't see any immediate
problems. There is no messages in dmesg, kern.log og messages (except for
eth1.vlanid up * 600).

If anyone know what the problem can be, if this is a bug, or if PSBKC i would
much appreciate it.

regards
Øyvind Vågen Jægtnes
+47 96 22 03 08
lorrides@gmail.com

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2007-05-04 20:27 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-04 14:02 Routing 600+ vlan's via linux problems (looks like arp problems) Paul Slootman
  -- strict thread matches above, loose matches on Subject: below --
2007-05-03 20:25 Øyvind Vågen Jægtnes
2007-05-03 20:34 ` Jan Engelhardt
2007-05-03 20:53 ` Willy Tarreau
2007-05-03 20:55   ` Willy Tarreau
2007-05-03 20:55   ` Jan Engelhardt
2007-05-03 21:12     ` Øyvind Vågen Jægtnes
2007-05-03 22:23       ` Willy Tarreau
2007-05-03 22:50         ` Jan Engelhardt
2007-05-04  0:11           ` Willy Tarreau
2007-05-04  7:53             ` Jan Engelhardt
2007-05-04 20:27               ` Willy Tarreau
2007-05-04  3:48         ` Øyvind Vågen Jægtnes
2007-05-04  5:30           ` Willy Tarreau
2007-05-04  7:08           ` Miquel van Smoorenburg
2007-05-04  8:28             ` Andi Kleen
2007-05-04  8:05           ` Jan Engelhardt
2007-05-03 20:53 ` Sam Ravnborg
2007-05-03 21:38   ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox