From owner-freebsd-questions Fri Feb 26 18:15:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id C81331505D for ; Fri, 26 Feb 1999 18:15:53 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id MAA09547; Sat, 27 Feb 1999 12:45:35 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id MAA07247; Sat, 27 Feb 1999 12:45:34 +1030 (CST) Message-ID: <19990227124534.M431@lemis.com> Date: Sat, 27 Feb 1999 12:45:34 +1030 From: Greg Lehey To: Hugh Blandford , questions@FreeBSD.ORG Subject: Re: syntax of static routes in rc.conf References: <3.0.6.32.19990227121414.0086d320@mail.island.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <3.0.6.32.19990227121414.0086d320@mail.island.net.au>; from Hugh Blandford on Sat, Feb 27, 1999 at 12:14:14PM +1100 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 27 February 1999 at 12:14:14 +1100, Hugh Blandford wrote: > > I want to put a static route in rc.conf (ver 2.2.8) and am not sure of the > syntax of the line. Can someone tell me? Where are all these things > documented? The real man page you want is route(8). What you put in your static routes in rc.conf are the parameters to a 'route add' command. For example, if you want to write # route add foo bar you'll put something like this in your rc.conf: static_routes="foo loopback" route_foo="foo bar" route_loopback="${hostname} 127.1" This will cause rc.network to execute the commands route add foo bar" route add ${hostname} 127.1 Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message