Linux Netfilter discussions
 help / color / mirror / Atom feed
* Performace problems with NAT
@ 2002-10-25 13:56 Berndt Sevcik
  2002-10-25 14:46 ` Antony Stone
  0 siblings, 1 reply; 3+ messages in thread
From: Berndt Sevcik @ 2002-10-25 13:56 UTC (permalink / raw)
  To: netfilter

I am using a combination of source based routing with iproute2 and nat
(iptables 1.2.6a-5). The problem I cant use the full performance of our
line. We have a 10MBit line and i can only use about 2MBit, and not a
fault of our ISP.


Here is my config:
 
Regards 
Berndt
-- 
Diese Message wurde erstellt mit freundlicher Unterstützung
eines freilaufenden Pinguins aus artgerechter Freilandhaltung.
Sie ist garantiert frei von Microsoftschen Viren.

-----------------------------------------
TGM - Die Schule der Technik
IT-Service
A-1200 Wien, Wexstr. 19-23
Tel. +43(1)33126/316 Fax: +43(1)33126/154
E-Mail: berndt.sevcik@tgm.ac.at
-----------------------------------------



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

* Re: Performace problems with NAT
  2002-10-25 13:56 Performace problems with NAT Berndt Sevcik
@ 2002-10-25 14:46 ` Antony Stone
       [not found]   ` <1035560291.24039.38.camel@ITS-Sevcik>
  0 siblings, 1 reply; 3+ messages in thread
From: Antony Stone @ 2002-10-25 14:46 UTC (permalink / raw)
  To: netfilter

On Friday 25 October 2002 2:56 pm, Berndt Sevcik wrote:

> I am using a combination of source based routing with iproute2 and nat
> (iptables 1.2.6a-5). The problem I cant use the full performance of our
> line. We have a 10MBit line and i can only use about 2MBit, and not a
> fault of our ISP.

Okay, knowing that your line is 10Mbit adds some more information.

1. How do you know the problem is not with your ISP ?   Can you download at 
10Mbit under any circumstances ?

2. What makes you think is it NAT which is causing the performance problem ?  
Does the problem go away if you do not use NAT ?

3. How busy is your box (what load average does uptime show) ?

4. Are you getting any kernellogging messages about conntrack table full etc ?

5. What speed CPU / how much memory is in the netfilter machine ?

Antony.

-- 

This is not a rehearsal.
This is Real Life.


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

* Re: Performace problems with NAT
       [not found]   ` <1035560291.24039.38.camel@ITS-Sevcik>
@ 2002-10-25 16:59     ` Antony Stone
  0 siblings, 0 replies; 3+ messages in thread
From: Antony Stone @ 2002-10-25 16:59 UTC (permalink / raw)
  To: Netfilter mailinglist

On Friday 25 October 2002 4:38 pm, Berndt Sevcik wrote:

> Thanks for the answer!
>
> We use two Internet Connections. So we need to splitt our Source
> addresses over these. All our official addresses are sent via the slower
> one and all private addresses and proxies are transmitted via the fast
> line (neede NAT).
>
> Another interessting fact ist that ping times are exptremely good. We
> have about 2ms between each Hop in the Chello Nertwork, better than
> ever.
>
> We need source based routing, because we have to default gateways, one
> for each internet connection.

Okay, I understand.

> Here our full configuration:
>
> route add -net ..... (local nets)
> route add default gw 193.170.9.1 (first ISP)
>
> ip rule add from 10.0.0.0/8 table chello1
> ip route add feault via 192.168.158.101 table chello1 (second ISP)
> ip rule add from 193.170.8.133 table chello1
> ip rule add from 193.170.8.134 table chello1
> ip route flush cash

Ah.   A little more than you posted last time :-)   However I still don't see 
a reason for only 20% usage of a 10Mbit connection.

How do you know the problem is not with your ISP ?   Can you download
at 10Mbit under any circumstances ?

What makes you think is it NAT which is causing the performance
problem ? Does the problem go away if you do not use NAT ?

How busy is your box (what load average does uptime show) ?

Are you getting any kernellogging messages about conntrack table full
etc ?

What speed CPU / how much memory is in the netfilter machine ?

Antony.

-- 

All matter in the Universe can be placed into one of two categories:

1. things which need to be fixed
2. things which will need to be fixed once you've had a few minutes to play 
with them


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

end of thread, other threads:[~2002-10-25 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-25 13:56 Performace problems with NAT Berndt Sevcik
2002-10-25 14:46 ` Antony Stone
     [not found]   ` <1035560291.24039.38.camel@ITS-Sevcik>
2002-10-25 16:59     ` Antony Stone

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