Adding a (non default) route via rc.conf
Andy Greenwood
greenwood.andy at gmail.com
Tue Jul 18 15:30:53 UTC 2006
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.
On 7/18/06, stan <stanb at panix.com> wrote:
> 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 changing the
> default route to point to a new address, but the old (ex default troute
> machine) still is the only way to certain legacy networks.
>
>
> Is this the best way to handle this?
>
> --
> U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror
> - New York Times 9/3/1967
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list