From owner-freebsd-questions Fri Oct 30 14:45:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA05490 for freebsd-questions-outgoing; Fri, 30 Oct 1998 14:45:31 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from well.apcs.com.au (well.key.net.au [203.35.4.19] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA05456 for ; Fri, 30 Oct 1998 14:45:24 -0800 (PST) (envelope-from keith@well.apcs.com.au) Received: (from keith@localhost) by well.apcs.com.au (8.8.8/8.8.8) id JAA25448; Sat, 31 Oct 1998 09:21:07 +1100 (EST) (envelope-from keith) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: <363A0FDD.D7091C03@dcs.shef.ac.uk> Date: Sat, 31 Oct 1998 09:21:07 +1100 (EST) Reply-To: keith@apcs.com.au Organization: Australia Power Control Systems P/L From: Keith Anderson To: "Nick A. Fikouras" Subject: Re: Static Route Cc: "freebsd-questions@FreeBSD.ORG" , Afonso Miu Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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