*BSD News Article 80972


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Virtual hosts/virtual IP
Date: Thu, 17 Oct 1996 20:53:05 +0000
Organization: Erol's Internet Services
Lines: 31
Message-ID: <32669CB1.5D6F@www.play-hookey.com>
References: <3266101e.0@calvin.aspen-internet.net>
Reply-To: kbigelow@www.play-hookey.com
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (Win16; U)
To: Simon Richardson <simon@onechip.co.uk>

Simon Richardson wrote:
> 
> Apologies if this is a commonly asked question.
> 
> We would like to have one machine respond to maybe a dozen IP addresses, so
> that we can run virtual websites.  The machine we would like to do this feat
> is running FreeBSD 2.1, and connected via an ethernet card.  What we don't
> want to do is hang a dozen serial/ethernet cards off it, so what we want is
> to allocate a block of addresses to the one card.
> 
> I believe we need something called a "virtual interface".  Does such a beast
> exist for FreeBSD?  (And if it doesn't, can anyone offer pointers on writing
> one?  I know C pretty well, and have written character device drivers for
> 386BSD and MS-DOG.)
> 
> Our newsfeed is really flaky, so please copy to E-mail.
> 
> Simon
> 

[CC sent]

You're talking here about aliasing, which FreeBSD does with no problem.
The Apache webserver also runs virtual hosts nicely. Further info on the
Apache end from http://www.apache.org/ .
-- 
Ken

Are you interested in   |
byte-sized education    |   http://www.play-hookey.com
over the Internet?      |