Subject: Re: Hallo, I got a dumb question....
To: None <port-i386@netbsd.org>
From: Erik Osheim <erik@plastic-idolatry.com>
List: port-i386
Date: 08/18/2004 12:52:52
On Wed, Aug 18, 2004 at 10:53:00AM -0400, David Maxwell wrote:
> On Wed, 18 Aug 2004, Andreas Drewke wrote:
> > ... but its really urgent...
> >
> > how can one set up multiple static routes in NetBSD????
>
> Manually, at runtime, as root:
>
> route add [destnetip] -netmask [netmask] [gwip]
>
> To have them come back at boot, add the same commands in a file called
> /etc/netstart.local
Ok, so /etc/netstart.local is how have the 'route' command automatically run on boot. Thanks, David.
Out of curiousity, is there some resource that documents this (I've never heard of /etc/netstart.local before)? If so, what is it, and if not, then should there be a manpage for it (or a mention in route's manpage, or something)?? Up until now I had just used /etc/rc.local for it because I never knew of any other resource.
-- Erik