Subject: Re: Two default routes?
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Robert Elz <kre@munnari.OZ.AU>
List: netbsd-help
Date: 10/22/2001 20:38:17
    Date:        Sat, 20 Oct 2001 17:30:25 +0200
    From:        Manuel Bouyer <bouyer@antioche.eu.org>
    Message-ID:  <20011020173025.A940@antioche.eu.org>

  | Without some dynamic routing protocol you can't be reliably fault tolerant.
  | You link may not be down, but the next-hop may be.

I think it is worse than that, in most common situations with IPv4 there's
no way to even know if the default router is still up, let alone the path
beyond that (other than running a routing protocol).

Still, it isn't real great to get ...

jade# route add default 127.0.0.1
writing to routing socket: File exists
add net default: gateway 127.0.0.1: File exists


(I used 127.0.0.1 there only because I knew it would fail, it isn't the
gateway address used that is the problem, it is that there is already a
default route).

(That's a 1.5Y kernel).

Even if nothing is going to use a second default route, being able to add
it would be nice - makes for god doc for someone: if they discover that the
existing default route is not working - just delete it.

kre