Date: Wed, 29 Sep 1999 10:34:56 +1000 From: Gregory Bond <gnb@itga.com.au> To: stable@freebsd.org Subject: ICMP REDIRECTs Message-ID: <199909290034.KAA19147@lightning.itga.com.au>
next in thread | raw e-mail | index | archive | help
Hi. We have two routers on our local net. Only one is our default, of course. When I ping a host that is via the other route, I get 2 ICMP REDIRECTs (one for the specific host, one for the net) for every outgoing ping packet. I.e. i'm getting redirects for the second ... nth packets. I kind-of assumed the first redirect would update the local routing tables so that subsequent pings would go direct to the correct gateway. And "netstat -r" does show a _host_ entry, but not a _net_ entry. And another ping to the same host will go to the correct gateway, but a ping to another host on the same remote net will also elicit 2 REDIRECTS per packet, and install a host route. I am surprised by 2 elements of this behaviour: - the REDIRECT doesn't affect the route chosen by the current ping process - only the HOST_REDIRECT gets installed in the routing table Is this the expected behaviour? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909290034.KAA19147>