Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2001 12:17:52 +0200
From:      "Peter Salvage" <wizard@sybaweb.co.za>
To:        "Ruslan Ermilov" <ru@FreeBSD.ORG>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Syntax check - static_routes
Message-ID:  <007501c0ee71$f2544ce0$0200a8c0@ait.co.za>
References:  <Pine.BSF.4.21.0105171514270.54148-100000@cody.jharris.com> <004301c0ee65$e2dcc280$0200a8c0@ait.co.za> <20010606123449.E37378@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Nope, the correct syntax is documented in the rc.conf(5) manpage.

<quote>
static_routes
     (str) Set to the list of static routes you would like to
     add at system boot time.  If not set to NO then for each
     whitespace separated element in the value, a route_element
     variable is assumed to exist whose contents will later be
     passed to a ``route add'' operation.
</quote>

I looked there first. Couldn't find any syntax assistance which is why I posted
to the list :)

> 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"

Thanks muchly!
/wiZZ


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?007501c0ee71$f2544ce0$0200a8c0>