[CentOS] Performance of CentOS as a NAT gateway

Mon Sep 10 06:03:12 UTC 2007
David Hrbác( <hrbac.conf at seznam.cz>

Bart Schaefer napsal(a):
> I can't find any recent statistics for Linux NAT performance, but the
> older stuff I can find (e.g. 50k packets/sec for a P3-450Mhz) seems to
> indicate that the gateway should easily be up to the task of handling
> the NAT traffic.  Am I wrong about this?  Is there any way to diagnose
> whether the NAT is the bottleneck?  Would we benefit from upgrading to
> a newer CentOS (2.6 kernel as opposed to 2.4)?  Or is it more likely
> to be the switch, in which case what would be a recommended
> replacement for the Linksys?

how many connections are on the router (/proc/net/ip_conntrack) ? And
what's the /proc/sys/net/ipv4/ip_conntrack_max