lkml.org 
[lkml]   [2003]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: my linux does not accept redirects
> >
> > 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.
From my investigation i have found that my box stores routes based on
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/

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