Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 1998 09:21:07 +1100 (EST)
From:      Keith Anderson <keith@apcs.com.au>
To:        "Nick A. Fikouras" <nick@dcs.shef.ac.uk>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>, Afonso Miu <amiu@engin.umich.edu>
Subject:   Re: Static Route
Message-ID:  <XFMail.981031092107.keith@apcs.com.au>
In-Reply-To: <363A0FDD.D7091C03@dcs.shef.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

On 30-Oct-98 Nick A. Fikouras wrote:
> 
> 
> Afonso Miu wrote:
> 
>> How to add static routes in rc.conf so that it will automatically add
>> static routes everytime it reboot.
>>
>> I had read the man page. It said it could be done, but i tried and did
>> not work...
>>
>> The following was what i did:
>>
>> static_routes="10.0.1.26 10.0.0.18"
>>
>> can you tell me whats wrong..?
>>
>> thank you
>>
> 
> As far as I know the syntax for static_routes is:
> 
> static_routes="route_foo route_bar"

I use the following and it works ok

static_routes="foo bar"

> route_foo="-net xxx.xxx.xxx.xxx -netmask yyy.yyy.yyy.yyy"
> route_bar="-host zzz.zzz.zzz.zzz ff:ff:ff:ff:ff:ff -interface epx"


----------------------------------
E-Mail: Keith Anderson <keith@apcs.com.au>
Date: 31-Oct-98
Time: 09:16:37

This message was sent by XFMail
----------------------------------

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?XFMail.981031092107.keith>