From owner-freebsd-newbies Wed Jun 7 22:14:16 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from mail0.mia.bellsouth.net (mail0.mia.bellsouth.net [205.152.144.12]) by hub.freebsd.org (Postfix) with ESMTP id 73BD437BA1A for ; Wed, 7 Jun 2000 22:14:12 -0700 (PDT) (envelope-from pineypl@bellsouth.net) Received: from bellsouth.net (adsl-61-16-127.mia.bellsouth.net [208.61.16.127]) by mail0.mia (3.3.5alt/0.75.2) with ESMTP id XAA26571 for ; Wed, 7 Jun 2000 23:21:41 -0400 (EDT) Message-ID: <393F114E.A4E4FC69@bellsouth.net> Date: Wed, 07 Jun 2000 23:21:50 -0400 From: Bob Collins X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd newbies Subject: Re: ifconfig -alias and restart References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Wai Chan wrote: > > 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 Funny, I tried this and it does not work. FWIW my /etc/rc.conf reads as follows: (only a portion is shown) ifconfig_np0="inet 10.1.1.7 netmask 255.255.255.0" ifconfig_np0_alias="inet 10.1.1.8 netmask 255.255.255.0" Once the system boots, I log in and run "ifconfig -a" and it does not report the 10.1.1.8 address. Also if I ping that address from the network, it will time out. If I do "ifconfig pn0 alias 10.1.1.8" then it loads and works fine. Have I missed something small? Bob "somewhat confused" Collins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message