Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 1996 17:49:47 +0200 (IST)
From:      Nadav Eiron <nadav@barcode.co.il>
To:        Rob Buchanan <rob@www.odod.ohio.gov>
Cc:        questions@freebsd.org
Subject:   Re: Multi host web server on FreeBSD
Message-ID:  <Pine.BSF.3.91.960909174810.4216A-100000@gatekeeper.barcode.co.il>
In-Reply-To: <32344453.875@www.odod.ohio.gov>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 9 Sep 1996, Rob Buchanan wrote:

> I need to add another ip address to our FreeBSD 2.1 web server.  I am
> running Apache 1.1.1 and will soon be adding urls with a different ip
> address.  I don't want to rely on Apache's non-ip virtual hosting
> because it would not be transparent to all browsers.  Do I need to add
> another ethernet card or is there another way to serve more than one ip
> address on the same FreeBSD server?
Use IP aliases, like so:
ifconfig de0 inet <ip-address> netmask 255.255.255.255 alias

This will add an alias address to an existing interface (de0 in this 
example). Note that the mask should be all 1-s.

> 
> Thanks
> Rob Buchanan
> rob@www.odod.ohio.gov
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960909174810.4216A-100000>