From owner-freebsd-stable Tue Sep 28 17:35: 6 1999 Delivered-To: freebsd-stable@freebsd.org Received: from ns.itga.com.au (ns.itga.com.au [192.83.119.129]) by hub.freebsd.org (Postfix) with ESMTP id 357BF15783 for ; Tue, 28 Sep 1999 17:34:59 -0700 (PDT) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by ns.itga.com.au (8.9.3/8.9.3) with ESMTP id KAA45642 for ; Wed, 29 Sep 1999 10:34:58 +1000 (EST) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id KAA19147; Wed, 29 Sep 1999 10:34:57 +1000 (EST) Message-Id: <199909290034.KAA19147@lightning.itga.com.au> X-Mailer: exmh version 2.0.1 12/23/97 From: Gregory Bond To: stable@freebsd.org Subject: ICMP REDIRECTs Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 29 Sep 1999 10:34:56 +1000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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