Re: routing problem b/w 2.2 and PM3

Andi Kleen (ak@muc.de)
01 Jul 1999 22:27:05 +0200


soren@cinternet.net (Soren Harward) writes:
>
> It's taken me almost 2 months to figure out exactly what's been going
> on, since the problem is rare (ie, it has no discernable pattern among
> dialups, specific usernames, times of day, or phases of the moon -- I
> had my witch doctor check) and thus far I haven't been able to duplicate
> it at will. Has anyone else seen a problem like this? Does large
> numbers of "ip_rt_advice: route from 206.112.217.XXX dropped" messages
> in the web server kernel message log have anything to do with it? I
> thought about hacking static routes from the web server thru the
> portmaster to the dialups, but we have about a dozen static-IP customers
> (not including the admins) who could end up behind either PM3, so that
> fix won't work for them, and they have reported similar problems.
> Right now, my inclination is to enable OSPF between our PM3's and our
> Cisco 2500, but I'm not sure that that will work because it doesn't do
> anything for the web server. And all this worked before the 2.2
> upgrade, and I have yet to have someone have a problem with accessing
> the rest of the 209.50.110 network (addresses 200 to 249) which are
> bound to our NT server (also on the same Ethernet segment and also with
> an address in the 206.112.217.0 network -- same as the web server). So
> the problem right now seems to be the web server alone, and a kernel
> problem with the web server to narrow it down. I'm basically at my
> wits' end with a handful of upset customers [1] who see this a "my site
> being down again" and won't follow the workaround instructions I've
> given them [2]. Can anybody help? Will OSPF solve the problem, or
> is it indeed something wrong with the web server? Do I need to do
> something as drastic as running OSPF on the web server too (yikes!)?

I bet you have forwarding turned on the web server.

Try echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter

To avoid the "route dropped" messages you could try

echo 0 > /proc/sys/net/ipv4/conf/all/accept_redirects

-Andi

-- 
This is like TV. I don't like TV.

- 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/