static routes

Mark McConnell markmc at tisimaging.com
Thu Feb 5 16:15:53 PST 2004


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 at tisimaging.com
 503-546-0517




More information about the freebsd-questions mailing list