IPRoute2 vs Iptables
Hi all,
As I read into the forum, NATting (SNAT) is expensive, using iptables to translate IP sucks the performance of the system. I just want to know if IProute2 can handle NATting and if it handels NATting can it performed faster than iptables?
thanks,
Wennie
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 11 lines · Wennie V. Lagmay
Hi all,
As I read into the forum, NATting (SNAT) is expensive, using iptables to translate IP sucks the performance of the system. I just want to know if IProute2 can handle NATting and if it handels NATting can it performed faster than iptables?
thanks,
Wennie
No, ip does not "do" NAT, only iptables does. But it is not THAT much of a performance hit; I'll bet you can't measure its effect. --
gypsy
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
You are correct, I've done some testing with iptables and I never seen any effect.
Wennie
----- Original Message -----
From: "gypsy" <[email protected]>
To: "Wennie V. Lagmay" <[email protected]>
Cc: <[email protected]>
Sent: Monday, May 16, 2005 5:16 AM
Subject: Re: [LARTC] IPRoute2 vs Iptables
Quoted 9 lines
Quoted 8 lines · Wennie V. Lagmay
Hi all,
As I read into the forum, NATting (SNAT) is expensive, using iptables to translate IP sucks the performance of the system. I just want to know if IProute2 can handle NATting and if it handels NATting can it performed faster than iptables?
Quoted 8 lines
Quoted 3 lines
thanks,
Wennie
No, ip does not "do" NAT, only iptables does. But it is not THAT much of a performance hit; I'll bet you can't measure its effect. --
gypsy
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 1 line · Wennie V. Lagmay
Hi all,
hi
Quoted 2 lines
As I read into the forum, NATting (SNAT) is expensive, using iptables to translate IP sucks the performance of the system.
Who says that? I never experienced this even on large networks. In fact I saw cisco's NAT repeatedly freeze while an old pentium with linux was doing fine in the same situation.
BTW iproute's NAT was apparently disabled some time ago because there were problems. I think it's mentioned in the docs.
Quoted 1 line
Wennie
Bye,
Peter Surda (Shurdeek) <[email protected]>, ICQ 10236103, +436505122023
Signature · 6 lines
The product Microsoft sells isn't the software; it's comfort.
The product that Linux vendors usually sell is freedom.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartcYour right Peter, I do my own testing and found out that iptables is not a system or cpu sucker.
wennie
----- Original Message -----
From: "Peter Surda" <[email protected]>
To: <[email protected]>
Sent: Tuesday, May 17, 2005 12:04 AM
Subject: Re: [LARTC] IPRoute2 vs Iptables
Quoted 12 lines · Wennie V. Lagmay
Quoted 1 line
Hi all,
hi
Quoted 2 lines
As I read into the forum, NATting (SNAT) is expensive, using iptables to translate IP sucks the performance of the system.
Who says that? I never experienced this even on large networks. In fact I saw
cisco's NAT repeatedly freeze while an old pentium with linux was doing fine
in the same situation.
Quoted 16 lines
BTW iproute's NAT was apparently disabled some time ago because there were problems. I think it's mentioned in the docs.
Quoted 1 line
Wennie
Bye,
Peter Surda (Shurdeek) <[email protected]>, ICQ 10236103, +436505122023
Signature · 6 lines
The product Microsoft sells isn't the software; it's comfort. The product that Linux vendors usually sell is freedom. _______________________________________________ LARTC mailing list [email protected] http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 2 lines · Wennie V. Lagmay
Your right Peter, I do my own testing and found out that iptables is not a system or cpu sucker.
On the other hand, if you use "bad practices" such as putting 1000s of rules into one chain, you may experience bad performance.
Quoted 1 line
wennie
Bye,
Peter Surda (Shurdeek) <[email protected]>, ICQ 10236103, +436505122023
Signature · 5 lines
Reboot America. _______________________________________________ LARTC mailing list [email protected] http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc