[lkml]   [1999]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 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...

-- Juanjo
... 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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:54    [W:0.061 / U:10.684 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site