RE: [CentOS] Performance of CentOS as a NAT gateway

2007-09-11 Thread Ross S. W. Walker
Bart Schaefer wrote: > > On 9/10/07, John R Pierce <[EMAIL PROTECTED]> wrote: > > wireshark can process and display packet capture files from > tcpdump -w > > > > capture a few megabytes of packets on the appropriate > interface of the > > firewall, then transfer them to a workstation with > Wi

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-11 Thread <[EMAIL PROTECTED]>
Bart Schaefer napsal(a): > We're having a spike right now. Doesn't look much different, though: > > # wc -l /proc/net/ip_conntrack > 17141 /proc/net/ip_conntrack > # fgrep -cv UNRE /proc/net/ip_conntrack > 1310 What are the upstream link parameters (type, up, down, ...), what's the ping on gat

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread gjgowey
Scripting in sed for 20+ years? Masochist! :-) Geoff Sent from my BlackBerry wireless handheld. -Original Message- From: "Bart Schaefer" <[EMAIL PROTECTED]> Date: Mon, 10 Sep 2007 20:48:21 To:"CentOS mailing list" Subject: Re: [CentOS] Performance of Cent

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Bart Schaefer
On 9/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > If you feel like learning sed ;) I suspect I've been scripting sed since you were about 7 years old. :-) I don't think even recent GNU sed is going to handle tcpdump output very well. ___ CentOS

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread gjgowey
on, 10 Sep 2007 19:26:51 To:"CentOS mailing list" Subject: Re: [CentOS] Performance of CentOS as a NAT gateway On 9/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > How about putting the file contents on pastebin and posting the link? Unfortunately there's customer

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Bart Schaefer
On 9/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > How about putting the file contents on pastebin and posting the link? Unfortunately there's customer data in there that I'm not at liberty to make public. ___ CentOS mailing list CentOS@centos.or

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread gjgowey
How about putting the file contents on pastebin and posting the link? Geoff Sent from my BlackBerry wireless handheld. -Original Message- From: "Bart Schaefer" <[EMAIL PROTECTED]> Date: Mon, 10 Sep 2007 18:31:31 To:"CentOS mailing list" Subject: Re: [CentOS]

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Bart Schaefer
On 9/10/07, John R Pierce <[EMAIL PROTECTED]> wrote: > wireshark can process and display packet capture files from tcpdump -w > > capture a few megabytes of packets on the appropriate interface of the > firewall, then transfer them to a workstation with Wireshark for analysis. OK, I've got some ou

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread John R Pierce
Bart Schaefer wrote: On 9/10/07, Bart Schaefer <[EMAIL PROTECTED]> wrote: On 9/10/07, Guy Boisvert <[EMAIL PROTECTED]> wrote: On top of that, i'd say that a PC, with whatever processor you could put, is able to service a certain amount of interrupts / second. # cat /proc/interru

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Bart Schaefer
On 9/10/07, Bart Schaefer <[EMAIL PROTECTED]> wrote: > On 9/10/07, Guy Boisvert <[EMAIL PROTECTED]> wrote: > > On top of that, i'd say that a PC, with whatever processor you could > > put, is able to service a certain amount of interrupts / second. > > # cat /proc/interrupts Ok, so obviously just

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread gjgowey
ntOS mailing list" Subject: RE: [CentOS] Performance of CentOS as a NAT gateway Bart Schaefer wrote: > > On 9/9/07, Barry Brimer <[EMAIL PROTECTED]> wrote: > > Maybe it is time for some kernel networking tuning. > > After doing a bit of research: > > http:/

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Les Mikesell
Bart Schaefer wrote: Or are you saying that LAN-to-LAN traffic maxs out at 10Mbps, it is a little vague. LAN-to-gateway traffic (e.g., a test FTP of a large file from the gateway to a machine on one of the LANs) begins to degrade as the LAN-to-internet traffic increases. That's not surprising

RE: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Ross S. W. Walker
Bart Schaefer wrote: > > On 9/9/07, Barry Brimer <[EMAIL PROTECTED]> wrote: > > Maybe it is time for some kernel networking tuning. > > After doing a bit of research: > > http://www.acc.umu.se/~maswan/linux-netperf.txt > http://wwwx.cs.unc.edu/~sparkst/howto/network_tuning.php > http://proj.sune

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Bart Schaefer
On 9/9/07, Barry Brimer <[EMAIL PROTECTED]> wrote: > Maybe it is time for some kernel networking tuning. After doing a bit of research: http://www.acc.umu.se/~maswan/linux-netperf.txt http://wwwx.cs.unc.edu/~sparkst/howto/network_tuning.php http://proj.sunet.se/E2E/tcptune.html http://www.linuxgu

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Toby Bluhm
http://www.vyatta.com/download/ - runs on plain old PC hardware and it's touted as being a Cisco beater. -- Toby Bluhm Midwest Instruments Inc. 30825 Aurora Road Suite 100 Solon Ohio 44139 440-424-2250 ___ CentOS mailing list CentOS@centos.org htt

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Bart Schaefer
On 9/10/07, Guy Boisvert <[EMAIL PROTECTED]> wrote: > On top of that, i'd say that a PC, with whatever processor you could > put, is able to service a certain amount of interrupts / second. # cat /proc/interrupts CPU0 CPU1 0: 35564628 1398173774IO-APIC-edge timer 1:

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Guy Boisvert
Guy Boisvert wrote: > > On top of that, i'd say that a PC, with whatever processor you could > put, is able to service a certain amount of interrupts / second. [Snip...] > Somebody mentioned pfSense. I use it and there is an option that can > boost the performance: Using device polling instead

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Guy Boisvert
Bart Schaefer wrote: > On 9/9/07, David Hrbác( <[EMAIL PROTECTED]> wrote: >> how many connections are on the router (/proc/net/ip_conntrack) ? > > This is way off-peak time for us (middle of Sunday night PDT) so I > suspect looking at this right now is not very useful, but: > > # cat /proc/net/ip

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Bart Schaefer
On 9/9/07, David Hrbác( <[EMAIL PROTECTED]> wrote: > Bart Schaefer napsal(a): > > This is way off-peak time for us (middle of Sunday night PDT) so I > > suspect looking at this right now is not very useful, but: > > Please do report during peak and net issue time. We're having a spike right now.

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-09 Thread <[EMAIL PROTECTED]>
Bart Schaefer napsal(a): > This is way off-peak time for us (middle of Sunday night PDT) so I > suspect looking at this right now is not very useful, but: Well, it's really way-off now. I dare to say it's conntrack anyway. If there are client behind NAT using P2P... then 1 client can have thousand

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-09 Thread Bart Schaefer
On 9/9/07, David Hrbác( <[EMAIL PROTECTED]> wrote: > how many connections are on the router (/proc/net/ip_conntrack) ? This is way off-peak time for us (middle of Sunday night PDT) so I suspect looking at this right now is not very useful, but: # cat /proc/net/ip_conntrack | wc -l 15140 # cat /

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-09 Thread <[EMAIL PROTECTED]>
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

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-09 Thread Jordi Espasa Clofent
You has said that box makes only routing functions, so... it's not a CentOS related item, but maybe you should to consider to purchase and learn to manage a pfSense appliance[1]. It's simply wonderful. http://www.pfsense.com/ -- Thanks, Jordi Espasa Clofent

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-09 Thread Bart Schaefer
On 9/9/07, Barry Brimer <[EMAIL PROTECTED]> wrote: > Maybe it is time for some kernel networking tuning. > > Add the following lines to /etc/sysctl.conf Thanks, will try. Question: Why does ip_local_port_range matter? ___ CentOS mailing list CentOS@cen

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-09 Thread Barry Brimer
LAN-to-gateway traffic (e.g., a test FTP of a large file from the gateway to a machine on one of the LANs) begins to degrade as the LAN-to-internet traffic increases. That's not surprising, but it degrades disproportionately, i.e. when the FTP begins to show intermittent stalls, the total traffic

RE: [CentOS] Performance of CentOS as a NAT gateway

2007-09-09 Thread Ross S. W. Walker
Bart Schaefer wrote: > > On 9/9/07, Barry Brimer <[EMAIL PROTECTED]> wrote: > > > What is the speed of the link between you and the ISP? > > 100Mb/s. > > > Do they have other customer sites that are set up the same > way as yours > > that get significantly better performance? > > They don't h

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-09 Thread Bart Schaefer
On 9/9/07, Barry Brimer <[EMAIL PROTECTED]> wrote: > What is the speed of the link between you and the ISP? 100Mb/s. > Do they have other customer sites that are set up the same way as yours > that get significantly better performance? They don't have any other sites set up this way to compare.

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-09 Thread Bart Schaefer
On 9/8/07, Ross S. W. Walker <[EMAIL PROTECTED]> wrote: > Has the Internet interface reached it's max capacity? No. > Or are you saying that LAN-to-LAN traffic maxs out at 10Mbps, it is > a little vague. LAN-to-gateway traffic (e.g., a test FTP of a large file from the gateway to a machine on o

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-09 Thread Barry Brimer
The other side is a high-end Cisco router managed by our ISP. Its their router statistics that tell us we're peaking at just over 10Mb/s coming out of the gateway box. That was where we first assumed the problem must be, so we've been working with them on this problem for some while now and have

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-09 Thread Bart Schaefer
On 9/9/07, Robert - elists <[EMAIL PROTECTED]> wrote: > What switch is it? LinkSys Etherfast, a couple of years old now (I'd have to go to our colocation site to look in the cabinet to get the exact model). it's a plain dumb switch, no management interface. > Evidentally, there much be a switch

RE: [CentOS] Performance of CentOS as a NAT gateway

2007-09-09 Thread Robert - elists
> > We have a single 3GHz P4 box w/2GB RAM running CentOS 3.8, acting as a > gateway, which serves multiple IP address, having one virtual > interface for each IP, e.g., eth0:1, eth0:2, etc. These > interfaces/IPs are on the public internet. Each of these IP addresses > is the NAT address for a

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-08 Thread Mark D. Foster
Bart Schaefer wrote: > On 9/8/07, Barry Brimer <[EMAIL PROTECTED]> wrote: > >> Have you checked speed and duplex settings? >> > > All NICs on all machines involved report exactly the same: > > negotiated 100baseTx-FD flow-control, link ok > > We've also checked ifconfig on all interfaces,

RE: [CentOS] Performance of CentOS as a NAT gateway

2007-09-08 Thread Ross S. W. Walker
Bart Schaefer wrote: > > We have a single 3GHz P4 box w/2GB RAM running CentOS 3.8, acting as a > gateway, which serves multiple IP address, having one virtual > interface for each IP, e.g., eth0:1, eth0:2, etc. These > interfaces/IPs are on the public internet. Each of these IP addresses > is t

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-08 Thread Barry Brimer
All NICs on all machines involved report exactly the same: negotiated 100baseTx-FD flow-control, link ok We've also checked ifconfig on all interfaces, and no errors, dropped packets, overruns, nor collisions have been recorded. Great! Is your upstream device also able to talk at 100 Mb/s?

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-08 Thread Bart Schaefer
On 9/8/07, Barry Brimer <[EMAIL PROTECTED]> wrote: > > Have you checked speed and duplex settings? All NICs on all machines involved report exactly the same: negotiated 100baseTx-FD flow-control, link ok We've also checked ifconfig on all interfaces, and no errors, dropped packets, overruns, n

Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-08 Thread Barry Brimer
On Sat, 8 Sep 2007, Bart Schaefer wrote: We have a single 3GHz P4 box w/2GB RAM running CentOS 3.8, acting as a gateway, which serves multiple IP address, having one virtual interface for each IP, e.g., eth0:1, eth0:2, etc. These interfaces/IPs are on the public internet. Each of these IP ad

[CentOS] Performance of CentOS as a NAT gateway

2007-09-08 Thread Bart Schaefer
We have a single 3GHz P4 box w/2GB RAM running CentOS 3.8, acting as a gateway, which serves multiple IP address, having one virtual interface for each IP, e.g., eth0:1, eth0:2, etc. These interfaces/IPs are on the public internet. Each of these IP addresses is the NAT address for a different sma