From owner-freebsd-questions Tue Mar 13 12:41:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id 1E4D337B71C for ; Tue, 13 Mar 2001 12:41:35 -0800 (PST) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f2DLAuu13630; Tue, 13 Mar 2001 15:11:04 -0600 (CST) (envelope-from nick@rogness.net) Date: Tue, 13 Mar 2001 15:10:56 -0600 (CST) From: Nick Rogness X-Sender: nick@cody.jharris.com To: Adam Lau Cc: freebsd-questions@FreeBSD.ORG Subject: Re: the proper place to add static routes. In-Reply-To: <20010313200325.19338.qmail@web1904.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 - 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