From owner-freebsd-newbies Tue Jun 6 19:43:41 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from hpu450.hpu.edu (hpu450.Hpu.edu [205.149.106.238]) by hub.freebsd.org (Postfix) with ESMTP id 156AF37B6B5 for ; Tue, 6 Jun 2000 19:43:32 -0700 (PDT) (envelope-from waichan@hpu.edu) Received: from why (Kb.Hpu.Edu [205.149.106.194]) by hpu450.hpu.edu (8.8.8+Sun/8.8.7) with SMTP id QAA22942; Tue, 6 Jun 2000 16:43:06 -1000 (HST) From: "Wai Chan" To: "Bob Collins" , "freebsd newbies" Subject: RE: ifconfig -alaias and resart Date: Tue, 6 Jun 2000 16:43:06 -1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <393DB1FA.A81388F0@bellsouth.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org edit /etc/rc.conf add: ifconfig_xl0_alias="inet xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx" This will set the alias for the ethernet card (xl0) everytime you restart the box. best wishes, Wai Chan -----Original Message----- From: owner-freebsd-newbies@FreeBSD.ORG [mailto:owner-freebsd-newbies@FreeBSD.ORG]On Behalf Of Bob Collins Sent: Tuesday, June 06, 2000 4:23 PM To: freebsd newbies Subject: ifconfig -alaias and resart I am running Apache on my BSD box for some web testing. I am using ifconfig to alias an additional ip address to my system for multiple sites. How can I set this alias to be permanent, esp after a reboot. (We have bad power and even the batteries don't hold long enough.) Otherwise, I would like to know if I can place it in /etc/rc so it is aliased on every start? TIA Bob Collins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message