From owner-freebsd-questions Tue Aug 20 07:17:10 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA01547 for questions-outgoing; Tue, 20 Aug 1996 07:17:10 -0700 (PDT) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA01542 for ; Tue, 20 Aug 1996 07:17:05 -0700 (PDT) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA21658; Tue, 20 Aug 1996 10:16:48 -0400 Date: Tue, 20 Aug 1996 10:16:48 -0400 From: Garrett Wollman Message-Id: <9608201416.AA21658@halloran-eldar.lcs.mit.edu> To: mike@networx.ie Cc: FreeBSD Support , David Greenman Subject: Does FBSD 2.1 honour ICMP redirects? In-Reply-To: References: Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk < said: > Why doesn't FreeBSD honour the redirects and start > forwarding the datagrams to the new host? I would > expect to see only one redirect; not one for every > packet I send. There are a number of reasons why redirects might be ignored. 1) They don't appear to come from the current gateway. 2) There are bugs in the 2.1 routing table code. 3) They appear to point to the receiving host. 4) You are running the -current routed, which has a bug in it causing it to delete redirect routes as soon as it receives them. You can often tell what's going on inside the routing subsystem by using the ``route monitor'' command. RTM_REDIRECT messages which are shown with errno 22 (EINVAL) are caused by (1) and (3); failure mode (2) will give you other errors or no error at all, and (4) will be obvious. A fix for (4) in -current is in the works right now. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, ANA, or NSA| - Susan Aglukark and Chad Irschick