From owner-freebsd-questions Mon Jul 8 05:15:06 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA00228 for questions-outgoing; Mon, 8 Jul 1996 05:15:06 -0700 (PDT) Received: from synwork.com (flaq@synwork.com [199.3.234.4]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA00219 for ; Mon, 8 Jul 1996 05:15:02 -0700 (PDT) Received: from localhost (flaq@localhost) by synwork.com (8.7.5/8.6.12) with SMTP id HAA09024; Mon, 8 Jul 1996 07:14:43 -0500 (CDT) Date: Mon, 8 Jul 1996 07:14:43 -0500 (CDT) From: "Mike K." To: Bala Periasamy cc: freebsd-questions@freebsd.org Subject: Re: Virtual Host In-Reply-To: <199607080905.TAA01604@skeg.cst.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I do all of my aliasing in /etc/rc.local Mike On Mon, 8 Jul 1996, Bala Periasamy wrote: > I have got one interface > I want to make this interface point to two IP address > > On the command line, if i type the following it works. > >ifconfig ed0 inet 100.x.xx.x alias > >route add -host 100.x.xx.x 127.0.0.1 > > I want the above to happen when the machine reboots. > What should I do in the /etc/sysconfig file. > In what format, do I have to add lines? > > thanx > ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Syn-Work Media, Inc. | WWW Development & Hosting | Life Safety http://www.synwork.com | Systems Integration | CCTV mike@synwork.com | Voice/Data/Fiber | Access Control Flaq on IRC | Dukane Distributor | BICSI/RCDD ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~