*BSD News Article 69147


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.uwa.edu.au!disco.iinet.net.au!news.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!news.mathworks.com!news.kei.com!nntp.coast.net!oleane!in2p3.fr!univ-lyon1.fr!jussieu.fr!math.ohio-state.edu!newsfeed.acns.nwu.edu!ftpbox!mothost!news-in.cig.mot.com!komondor!kadow
From: kadow@komondor.cig.mot.com (Kevin Kadow)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Does FreeBSd support Virtual Hosting?
Date: 22 May 1996 19:54:30 GMT
Organization: Motorola Cellular Infrastructure Group
Lines: 27
Message-ID: <4nvrdm$npg@trotsky.cig.mot.com>
References: <4nrc91$1ead@fidoii.cc.lehigh.edu>
NNTP-Posting-Host: komondor.cig.mot.com

In article <4nrc91$1ead@fidoii.cc.lehigh.edu>,
Stephen Corbesero <flash@EECS.Lehigh.EDU> wrote:
>We are looking to add some machines to act as web servers for several
>virtual hosts/domains, as our Sparc20 under Solaris is currently
>doing.  I am considering using FreeBSD, and I am wondering if it can
>assign multiple ip addresses to a single ethernet interface.
>
>I have looked through the faq, and started to look at the
>documentation via the web pages, but I have not yet done an install.
>If FreeBSD cannot do this, I will have to recommend that we buy more
>Suns and Solaris.  Any information would be greatly appreciated.

Yes, always! (well, not always, just a P&B quote).


FreeBSD (and NetBSD) support multiple addresses on a single ethernet card
through the 'ifconfig alias' option. The ifconfig man page documents this
reasonably well. Aliases can be added or deleted on the fly.

Under either OS you can add around 50 aliases without problems, beyond that
things get a little sticky- Many virtual host capable server software will
start to have problems, and at around 60 aliases, NetBSD crashes.
-- 
|AT MOTOROLA CIG         | ON THE INTERNET     | IN REAL LIFE
|kadow@cig.mot.com       | kadow@msg.net       | Kevin Kadow
|www.cig.mot.com/~kadow/ | http://www.msg.net/ | 'That blond guy wearing grey'
|Network Team, ITS       | Internet Consultant | Cynical Libertarian