Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 1995 12:59:19 -0400
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        pritc003@maroon.tc.umn.edu
Cc:        freebsd-bugs@freefall.cdrom.com
Subject:   kern/332: Incorrect routes can cause system to reset
Message-ID:  <9504111659.AA05366@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199504110950.CAA17668@freefall.cdrom.com>
References:  <199504110946.EAA00290@mpp.com> <199504110950.CAA17668@freefall.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 11 Apr 1995 02:50:00 -0700, pritc003@maroon.tc.umn.edu said:

> Destination      Gateway            Flags     Refs     Use     Netif Expire
> default          128.101.118.21     UGSc        0        0       sl0
> 127.0.0.1        127.0.0.1          UH          0        0       lo0
> 172.16.0.1       127.0.0.1          UH          0        0       lo0
> 224              172.16.0.1         US          0        0       sl0
> # ping freebsd.org
> [machine resets here]

Your problem here is very simple: you have specified a gateway
(128.101.118.21) for which there is no route.  When something attempts
to use the default route, it must first find a route for the gateway.
The only route that matches is the default route!  This results in
bottomless mutual recursion.

The answer is to NEVER perform this step:

> route delete 128.101.118.21 172.16.0.1

I am also working on code which should be able to detect this
situation and avoid the problem entirely.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9504111659.AA05366>