Date: Mon, 29 Mar 1999 11:38:14 +0200 From: Stefano Riva <sriva@alice.it> To: Eddie Irvine <eirvine@tpgi.com.au>, freebsd-questions@FreeBSD.ORG Subject: Re: setting static routes in rc.conf Message-ID: <3.0.5.32.19990329113814.00ac7ce0@relay.alice.it> In-Reply-To: <36FCAE5B.F09AC469@tpgi.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19990329113814.00ac7ce0>