RE: IP Masq weirdness

Joseph Gooch (mrwizard@psu.edu)
Thu, 14 Oct 1999 20:54:00 -0400


No effect.

-----Original Message-----
From: Juanjo Ciarlante [mailto:jjo@mendoza.gov.ar]
Sent: Thursday, October 14, 1999 1:44 PM
To: Joseph Gooch
Cc: linux-kernel@vger.rutgers.edu; ANK
Subject: Re: IP Masq weirdness

On Wed, Oct 13, 1999 at 02:08:57PM -0400, Joseph Gooch wrote:
> It's about due for me to post here again. Hopefully i'll get another
quick
> answer to this :) I'm not on the list so cc me plz in any responses.
>
> Okay! When moving from 2.2.10 to 2.2.12, my ip masq setup broke. I have
a
> static cable modem IP, but downstream only cable. So i dial up, the ISP
> gives me an IP from the dialup pool. Then i do "ip addr add cableip dev
> ppp0". So now i can bind to either ip on my linux machine, whether i want
> my cable segment to see the results or not :) Great. Now i delete the
> static route and do "ip route add default dev ppp0 src cableip" because i
> want it to use the cable modem by default. Super. Now anything i do from
> the linux machine works fine. Uses the correct ip. No problem. When i
try
> to connect from behind the machine in 2.2.10 or earlier, it works fine
too.
> Uses the cable ip. Then I upgraded to 2.2.12. Any connections from the
> linux machine still work correctly, but when a masq'd machine connects, it
> gets the dialup ip. I tried 2.2.11 then, and it was broken there too.
>
> Bug or feature? :)
>
2.2.11 adds a sysctl for route cache flushing: [Alexey?]
echo '0' > /proc/sys/net/ipv4/route/flush

[warn: usage taken from digging in the source ]
Give a try and tell us...
Regards

--
-- Juanjo       http://juanjox.kernelnotes.org/
            ... because there IS an OS that CAN follow your power

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/