Date: Tue, 13 Mar 2001 15:10:56 -0600 (CST) From: Nick Rogness <nick@rogness.net> To: Adam Lau <adamlau@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: the proper place to add static routes. Message-ID: <Pine.BSF.4.21.0103131506240.11657-100000@cody.jharris.com> In-Reply-To: <20010313200325.19338.qmail@web1904.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 13 Mar 2001, Adam Lau wrote: > It is in rc.conf. I had a question about that to. > > #Network routing options > static_routes="static" > route_static="10.0.0.0 -netmask 255.255.255.255 -interface 10.0.0.1" [SNIP] > > > Where is the proper place to add static routes so they are created > at each > reboot?...rc.conf? //In /etc/rc.conf: static_routes="0 1 2 . . . x" route_0="-net 10.160.0.0 10.0.1.10 -netmask 255.255.0.0" route_1="-net 10.161.0.0 10.0.1.10 -netmask 255.255.0.0" route_2="-net 10.162.0.0 10.0.1.10 -netmask 255.255.0.0" . . . route_x="-net blah blah blah" Nick Rogness <nick@rogness.net> - Keep on routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0103131506240.11657-100000>