Subject: Re: static routes, filesystem time
To: Robert Elz <kre@munnari.OZ.AU>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 04/28/2002 13:56:40
On Sun, Apr 28, 2002 at 04:22:13PM +1000, Robert Elz wrote:
>     Date:        Sat, 27 Apr 2002 22:07:57 +0200
>     From:        Manuel Bouyer <bouyer@antioche.eu.org>
>     Message-ID:  <20020427200757.GA6458@antioche.eu.org>
> 
>   | You can add the 'route add' commands to /etc/netstart.local
> 
> It is truly sad that we're still recommending that as a solution.
> 
> Or rc.local which someone else suggested (netstart.local is the better
> suggestion of the two, it gets run at the right time, rc.local is
> likely to be too late).
> 
> static routes can also be added in ! lines in /etc/ifconfig.XXn files,
> which tends to make them associate better with the interface they're to
> be used on (and not applied if that interface is missing for some reason).

Yes, that's another solution. But I prefer to have the different static routes
centralised.

> But it really would be nicer if there was a nicer, more standardised, way to
> add routes apart from the default route.

I agree, although I'm happy with the netstart.local solution.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--