Re: my linux does not accept redirects

Maciej Soltysiak (solt@dns.toxicfilms.tv)
Thu, 3 Apr 2003 19:02:55 +0200 (CEST)


> >
> > What could be wrong?
> >
>
> How would it learn? If everybody is going to set their default
> route to your box A, and box A routes internally, then box A needs its
> default route to go to the internet-box B.
icmp redirects (as seen with netstat -C) and it does learn the routes
but not for all routes. Please look at this printout:

<snip>
dns.toxicfilms. trek13.sv.av.co nihil.ae.poznan 0 0 4 eth1
dns.toxicfilms. nms.cyf-kr.edu. alnair.ae.pozna 0 0 6 eth1
<snip>

dns.toxicfilms.tv is my box

nihil.ae.poznan.pl is the router that routes to my other public nets
alnair.ae.poznan.pl is the Internet Gateway.

Why did not my box learn to send packets to trek13.sv.av.com via alnair ?

it's 2.4.20-xfs, no other patches.
I am running a similar box on the same net with 2.5.66-mm2 and i do not
see this effect, thus i presume, it's not a configuration error.

Having one default route via Router A (nihil) should cause only one
redirect per one connections. But i get flooded for every packet.

Regards,
Maciej

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