Re: Why doesn't kernel store ICMP redirect in the routing tables?

Valdis.Kletnieks@vt.edu
Thu, 30 Jan 2003 01:31:58 -0500


--==_Exmh_-1210627288P
Content-Type: text/plain; charset=us-ascii

On Thu, 30 Jan 2003 14:36:30 +0900, Takeshi Kodama <kodama@flab.fujitsu.co.jp> said:

> Is it no matter that it generates ICMP redirect every time flush the route ca
che?
>
> Please tell me why kernel has such a specification that doesn't store ICMP re
direct
> in the routing tables.

This is intentional behavior. Otherwise, if it were entered into the routing
table, it would remain there essentially permanently (unless forced out by
a 'route -f' command or perhaps another ICMP redirect). In general, if
your default router is telling you to go someplace else, one of two situations
applies:

1) This is a temporary condition caused by a router flap, in which case we
should only cache it, so later we will re-learn a better path.

2) The router is trying to tell you that you should be fixing your routing
table, either by adding static routes or running a full routing protocol.

-- 
				Valdis Kletnieks
				Computer Systems Senior Engineer
				Virginia Tech

--==_Exmh_-1210627288P Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001

iD8DBQE+OMbecC3lWbTT17ARApVmAJ9pBUa0HKjofPtUYbJ6YrYmzs1p2QCg5vzm +M6BfqdWNczEbe9lvu0AXxA= =Cz8o -----END PGP SIGNATURE-----

--==_Exmh_-1210627288P-- - 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/