masquerading
ive tryed that, but the second rule does not match..any ther idea? another:
is any diference on doing -j snat --to--source {internet ip} and give {internet ip} two values or something like that? instead -j masquerade? thanks again
Quoted 7 lines · hare ram
Hi
AFAIK
set another rule with ppp0 instead of eth2
i think it should work
Quoted 13 lines
hare
----- Original Message -----
From: "Esteban" <[email protected]>
To: <[email protected]>
Sent: Monday, February 24, 2003 2:20 PM
Subject: masqueradingQuoted 5 lines
hello,
im masquerading my local network like this by now:
iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE everything works fine.
but, now i added another internet gw (ppp0) wich is balanced
(iproute2)
Quoted 6 lines
Quoted 6 lines
with eth2.
how do i set the masquerading to balance both gws? (eth2 and ppp0) ? thanks in advance
Steve
My idea exactly. Haven't tried it thoe.
Another solution would be to subnet.
Lets say that you use the network 192.168.100.0./24 today. Split them up in two networks.
Like this
iptables -t nat -A POSTROUTING -s 192.168.100.0/25 -o ppp0 -j MASQUERADE iptables -t nat -A POSTROUTING -s 192.168.100.128/25 -o eth2 -j MASQUERADE
/Klintan
Quoted 48 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Esteban
Sent: Monday, February 24, 2003 11:41 AM
To: [email protected]
Subject: Re: masqueradingive tryed that, but the second rule does not match..any ther idea? another:
is any diference on doing -j snat --to--source {internet ip} and give {internet ip} two values or something like that? instead -j masquerade? thanks againQuoted 7 lines · hare ram
Hi
AFAIK
set another rule with ppp0 instead of eth2
i think it should workQuoted 13 lines
hare
----- Original Message -----
From: "Esteban" <[email protected]>
To: <[email protected]>
Sent: Monday, February 24, 2003 2:20 PM
Subject: masqueradingQuoted 5 lines
hello,
im masquerading my local network like this by now: iptables -t nat-A POSTROUTING -o eth2 -j MASQUERADE everything works fine. but, now i added another internet gw (ppp0) wich is balanced
(iproute2)
Quoted 2 lines
Quoted 2 lines
with eth2.
how do i set the masquerading to balance both gws? (eth2and ppp0) ?
Quoted 3 lines
Quoted 3 lines
thanks in advance Steve