Date: Wed, 07 Jun 2000 23:21:50 -0400 From: Bob Collins <pineypl@bellsouth.net> To: freebsd newbies <freebsd-newbies@FreeBSD.ORG> Subject: Re: ifconfig -alias and restart Message-ID: <393F114E.A4E4FC69@bellsouth.net> References: <LNEJKGADPHKMLOFLNLFLMEJLCHAA.waichan@hpu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?393F114E.A4E4FC69>