*BSD News Article 91130


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!msunews!agate!howland.erols.net!spool.mu.edu!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!fjholden.OntheNet.com.au!not-for-mail
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Is BSD capable of virtual hosting ? ( multiple ip's on one box ) ??????
Date: Sat, 15 Mar 1997 14:05:34 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 26
Message-ID: <332A200E.69DA@OntheNet.com.au>
References: <01bc308b$5c2d6ec0$664c1bcc@tony.gcr1.com>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: Tony <tony@gcr1.com>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37106

Tony wrote:
> 
> Anyone know if it is possible to host multiple IP's on one BSD box ???
> I'm running 2.1.7

Yes, we run a Virtual Web server on a FreeBSD system.  Because the box
has two Ethernet cards, it is more convenient to put the additional IP
addresses on the lo0 device rather than on both Ether devices!

The additional addresses are put on the device using the ifconfig
'alias' feature...

Note also that it might be necessary to increase the open file limit for
the named process (assuming you are also running named) as it will try
to listen on each of the IP addresses that you define.  The limit/ulimit
command can be used to do this!

> 
> Thanks,
> Tony
> --
> 
> >>>> N5GPI WWW SITE - HTTP://WWW.GCR1.COM/N5GPI <<<<
>             Best Experienced with Microsoft Internet Explorer 2+

Tony