Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Feb 2004 16:15:51 -0800
From:      "Mark McConnell" <markmc@tisimaging.com>
To:        freebsd-questions@freebsd.org
Subject:   static routes
Message-ID:  <40226C37.23409.1A6D6875@localhost>

next in thread | raw e-mail | index | archive | help

Where is the best place to put a static route, so that it will renew 
at bootup?

I want to be sure that the interfaces are configured automatically, 
in case the system is rebooted. Should this go in rc.conf ?  Where 
(the interface? routed?) and with what syntax? Should I place a shell 
script in /usr/local/etc/rc.d instead? 

Interactively, for example, I would say at the CLI:
route add -net 192.168.2.0 mask 0.0.0.0 192.168.1.1

Where is the best place to put this?
Mark
--
Mark McConnell - Portland, OR
 Technical Imaging Systems
 markmc@tisimaging.com
 503-546-0517




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40226C37.23409.1A6D6875>