"Lars" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> Hi all,
>
> what's the maximal number of clients the kernel 2.4.20 can NAT ?
>
> Is it one subnet=255?
>
> What if there are
>
> eth0:1 a.b.c.x/24 (each with 255 users?)
> eth0:2 e.f.g.x/24
> eth0:3 r.s.t.x/24
> ....
>
> eth1: external ip to nat to.
>
From the netfilter FAQ (3.7)
Connection tracking by default handles up to a certain number of
simultaneous connections. This number is dependent on you system's maximum
memory size (at 64MB: 4096, 128MB: 8192, ...).
You can easily increase the number of maximal tracked connections, but be
aware that each tracked connection eats about 350 bytes of non-swappable
kernel memory!
To increase this limit to e.g. 8192, type:
echo "8192" > /proc/sys/net/ipv4/ip_conntrack_max
|