Date: Wed, 6 Jun 2001 12:34:49 +0300 From: Ruslan Ermilov <ru@FreeBSD.ORG> To: Peter Salvage <wizard@sybaweb.co.za> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Syntax check - static_routes Message-ID: <20010606123449.E37378@sunbay.com> In-Reply-To: <004301c0ee65$e2dcc280$0200a8c0@ait.co.za>; from wizard@sybaweb.co.za on Wed, Jun 06, 2001 at 10:51:32AM %2B0200 References: <Pine.BSF.4.21.0105171514270.54148-100000@cody.jharris.com> <004301c0ee65$e2dcc280$0200a8c0@ait.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 06, 2001 at 10:51:32AM +0200, Peter Salvage wrote: > Hi all > > Wanting to add static routes to my rc.conf file. Could someone please do a > syntax check for me? > > static_routes="-net 192.168.2.128 -netmask 255.255.255.192 192.168.0.9" "-net > 192.168.2.228 -netmask 255.255.255.252 192.168.0.9" > > ie I separate the two statements with a whitespace? I assume I can add as many > routes as I want in this fashion? > Nope, the correct syntax is documented in the rc.conf(5) manpage. Or in your case: static_routes="route1 route2" route_route1="-net 192.168.2.128 -netmask 255.255.255.192 192.168.0.9" route_route2="-net 192.168.2.228 -netmask 255.255.255.252 192.168.0.9" Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age 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?20010606123449.E37378>