From: "Stefan Mueller" <smueller@s-mueller.ch>
To: netfilter@lists.netfilter.org
Subject: Re: performance troubles
Date: Tue, 5 Nov 2002 08:52:38 +0200 [thread overview]
Message-ID: <20021105065238.M34683@s-mueller.ch> (raw)
In-Reply-To: <20021103120141.M65262@s-mueller.ch>
I found the problem my self, it wasn't the NAT, it was the 10Mbit Card. This
card was defect. Now NAT works just great!
-Stefan Mueller
> Hello
> i have a performance problem with my new SNAT (masquerade).
> i have a cable modem with 512kbit/s. downloading a 1MB file takes
> 30s without NAT. downloading the same file from a pc behind NAT
> takes 500s! (2.5kbit/s)
>
> OK, some information:
> the NAT Router:
> -AMD 1800+
> -512MB DDR-Ram
> -10MBit Card to the Cablemodem (the cabelmodem has a 10Mbit
> connector) -100MBit to the Intranet -Redhat 8.0 (2.4.18-14) -
> iptables v1.2.6a -load average 0.00 0.00 0.00 -no entrys
in /var/log/messages
> -iptables -L -> nothing,policy ACCEPT in INPUT OUTPUT FORWARD
> -using iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> -interfaces:
> eth0 217.162.74.155 mask 255.255.254.0 (dhcp)
> eth1 10.22.0.1 mask 255.255.0.0
> -routing table:
> 217.162.74.0 * 255.255.254.0 U 0 0 0 eth0
> 10.22.0.0 * 255.255.0.0 U 0 0 0 eth1
> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> default (isp's router) 0.0.0.0 UG 0 0 0 eth0
>
> the Client
> -AMD 1800+
> -512MB DDR-Ram
> -100MBit to the Intranet
> -Redhat 8.0 (2.4.18-14)
> -load average 0.00 0.00 0.00
> -iptables v1.2.6a
> -no entrys in /var/log/messages
> -iptables entrys
> -interfaces:
> eth0 10.22.32.1 mask 255.255.0.0
> -routing table:
> 10.22.0.0 * 255.255.0.0 U 0 0 0 eth0
> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> default 10.22.0.1 0.0.0.0 UG 0 0 0 eth0
>
> transmission between server and client has normal 100Mbit speed.
> ping from the client to the internet is normal at ~100ms
>
> what did i wrong? i know that NAT can't be as fast as a direct
> connection but this is terrible slow...
> --
> Open WebMail Project (http://openwebmail.org)
--
Open WebMail Project (http://openwebmail.org)
prev parent reply other threads:[~2002-11-05 6:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-03 12:01 performance troubles Stefan Mueller
2002-11-05 6:52 ` Stefan Mueller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021105065238.M34683@s-mueller.ch \
--to=smueller@s-mueller.ch \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.