Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2000 16:43:06 -1000
From:      "Wai Chan" <waichan@hpu.edu>
To:        "Bob Collins" <pineypl@bellsouth.net>, "freebsd newbies" <freebsd-newbies@FreeBSD.ORG>
Subject:   RE: ifconfig -alaias and resart
Message-ID:  <LNEJKGADPHKMLOFLNLFLMEJLCHAA.waichan@hpu.edu>
In-Reply-To: <393DB1FA.A81388F0@bellsouth.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LNEJKGADPHKMLOFLNLFLMEJLCHAA.waichan>