From owner-freebsd-questions Fri Apr 17 19:03:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA06969 for freebsd-questions-outgoing; Fri, 17 Apr 1998 19:03:13 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail12.digital.com (mail12.digital.com [192.208.46.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA06955 for ; Sat, 18 Apr 1998 02:03:06 GMT (envelope-from perry@zso.dec.com) Received: from rust.zso.dec.com (rust.zso.dec.com [16.64.0.1]) by mail12.digital.com (8.8.8/8.8.8/WV1.0d) with SMTP id WAA27513 for ; Fri, 17 Apr 1998 22:02:41 -0400 (EDT) Received: from zsomail3.zso.dec.com by rust.zso.dec.com (5.65/DECwest-CLUSTRIX-mwd-12Dec94) id AA02914; Fri, 17 Apr 1998 19:02:37 -0700 Received: by zsomail3.zso.dec.com with Microsoft Exchange (IMC 4.0.838.14) id <01BD6A2C.4D97C820@zsomail3.zso.dec.com>; Fri, 17 Apr 1998 18:11:54 -0700 Message-Id: From: Reggie Perry To: "'FreeBSD Questions Mailing List'" Subject: RE: Can I add this to rc.conf? Date: Fri, 17 Apr 1998 18:10:58 -0700 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.838.14 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks to all who replied. I decided to use this method, but I will keep Doug's suggestion in mind if I put together a box with lots of interfaces. Thanks again. -Reggie -----Original Message----- From: Ruslan Ermilov [mailto:ru@ucb.crimea.ua] Sent: Friday, April 17, 1998 12:13 AM To: 'FreeBSD Questions Mailing List' Subject: Re: Can I add this to rc.conf? On Thu, Apr 16, 1998 at 07:34:22PM -0700, Reggie Perry wrote: > Hi there, > I have a bunch of route add commands that I would like to have run at > system startup. They look like this: > > route add -net x.x.x -interface y.y.y.y > > It is not clear if I should or even can put them in rc.conf or if I > should put them in rc.local. What is the convention? Take a look at /etc/rc.conf and /etc/rc.network ;-) Then define something like this: static_routes="... xxx ..." route_xxx="-net x.x.x -interface y.y.y.y" Regards, -- Ruslan Ermilov System Administrator ru@ucb.crimea.ua United Commercial Bank +380-652-247647 Simferopol, Crimea 2426679 ICQ Network, UIN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message