Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 1996 10:16:48 -0400
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        mike@networx.ie
Cc:        FreeBSD Support <questions@freebsd.org>, David Greenman <davidg@root.com>
Subject:   Does FBSD 2.1 honour ICMP redirects?
Message-ID:  <9608201416.AA21658@halloran-eldar.lcs.mit.edu>
In-Reply-To: <ECS9608192104A@NetworX.ie>
References:  <ECS9608192104A@NetworX.ie>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
<<On Mon, 19 Aug 1996 21:25:04 BST, Michael Ryan <mike@NetworX.ie> 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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?9608201416.AA21658>