From owner-freebsd-questions Fri Apr 17 14:48:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA06659 for freebsd-questions-outgoing; Fri, 17 Apr 1998 14:48:57 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA06534 for ; Fri, 17 Apr 1998 21:48:45 GMT (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id OAA01707; Fri, 17 Apr 1998 14:46:07 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Fri, 17 Apr 1998 14:46:07 -0700 (PDT) From: Doug White Reply-To: Doug White To: Reggie Perry cc: "'FreeBSD Questions Mailing List'" Subject: Re: Can I add this to rc.conf? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 16 Apr 1998, 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 Just so it's said, you can also cheat by creating a `start_if.xx0' where xx0 is the interface name. Put the ifconfig command and the route command(s) in this script. The system will automatically call it when it sees the network_interfaces line in rc.conf. This is especially handy if you have lots of IP aliases. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message