From owner-freebsd-questions Mon Mar 29 1:38:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dns.ie-online.it (dns.ie-online.it [194.133.148.8]) by hub.freebsd.org (Postfix) with ESMTP id A2F3414D29 for ; Mon, 29 Mar 1999 01:38:38 -0800 (PST) (envelope-from sriva@alice.it) Received: from dns.ie-interna.it (host1.ie-online.it [194.133.148.10]) by dns.ie-online.it (8.8.8/8.8.8) with ESMTP id LAA01884; Mon, 29 Mar 1999 11:38:17 +0200 (CEST) (envelope-from sriva@alice.it) Received: from stefano (stefano.ie-interna.it [192.168.0.33]) by dns.ie-interna.it (8.8.8/8.8.8) with SMTP id LAA05070; Mon, 29 Mar 1999 11:38:14 +0200 (CEST) (envelope-from sriva@alice.it) Message-Id: <3.0.5.32.19990329113814.00ac7ce0@relay.alice.it> X-Sender: riva@relay.alice.it X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 29 Mar 1999 11:38:14 +0200 To: Eddie Irvine , freebsd-questions@FreeBSD.ORG From: Stefano Riva Subject: Re: setting static routes in rc.conf In-Reply-To: <36FCAE5B.F09AC469@tpgi.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 20.09 27/03/99 +1000, you wrote: >Lets say I want to do this: >"route add 111.222.0.0 192.168.1.1" >Where 192.168.1.1 is a router that is >connected to the network 111.222.xxx.xxx >I know there is a place for it in rc.conf, >but I can't find an example of *how* to >use that place... anywhere. In "Network routing options", after the default router, there's the following line by default (at least in 2.2.8 and 3.X systems): static_routes="" Choose a name for your route, for example "foobar", and put that name there, then place the definition in another line: static_routes="foobar" route_foobar="111.222.0.0 -netmask 0xffff0000 192.168.1.1" --- Stefano Riva Software Engineer - System Administrator Informazioni Editoriali I.E. Srl Phone +39-027528400, Fax +39-027528451 Email sriva@alice.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message