Adding a (non default) route via rc.conf

2006-07-18 Thread stan
What's th sytax for addid a static (non default) route via rc.conf? And while I'm here, how about a sanity check to make certain this is really what I want to do. Historicaly, the machine in question has lived on a network with only one gateway off that net. Now, as part of a transition, I'm

Re: Adding a (non default) route via rc.conf

2006-07-18 Thread Andy Greenwood
in rc.conf, put something like this: static_routes=legacy route_legacy=-net 192.168.2 192.168.1.150 the static_routes line is a list of network names that you want to put routes in for, then each name gets its own route_name line. As for your sanity check, I don't see why it would be a problem.

Re: Adding a (non default) route via rc.conf

2006-07-18 Thread stan
On Tue, Jul 18, 2006 at 11:30:50AM -0400, Andy Greenwood wrote: in rc.conf, put something like this: static_routes=legacy route_legacy=-net 192.168.2 192.168.1.150 the static_routes line is a list of network names that you want to put routes in for, then each name gets its own route_name