*BSD News Article 78086


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!samba.rahul.net!rahul.net!a2i!olivea!spool.mu.edu!howland.erols.net!newsfeed.internetmci.com!news.sover.net!news.monad.net!usenet
From: Paul Venezia <pvenezia@top.monad.net>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Help with virtual hosts
Date: Wed, 11 Sep 1996 14:00:23 -0400
Organization: MonadNet Corp.
Lines: 37
Message-ID: <3236FE37.497A@top.monad.net>
References: <506oup$pj5@news.cais.com> <01bb9f9b$6560a380$1f02fbcc@ricky.bigeasy.com>
NNTP-Posting-Host: jpj.hq.monad.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02Gold (Win95; I)

Richard Windmann wrote:
> 
> Shaleh <noone@nowhere.net> wrote in article <506oup$pj5@news.cais.com>...
> 
> > Please post instructions on how to set up virtual servers on a BSDI
> > 2.1 machine.  We need .com resolution for web pages, ftp, and e-mail.
> > Please be as verbose as possible.  Thank you.
> 
> Setup or instruct your name servers to point the virtual host names to the
> virtual IP address.  Once the name servers are updated, do the following...
> 
> Add the following lines to the VERY END of /etc/netstart using vi if you
> are a masochist, or pico if smart...
> 
> ifconfig lo0 alias 204.251.2.51
> arp -s 204.251.2.51 00:c0:df:43:c0:0e pub
> 
> Where 204.251.2.51 is the virtual IP address, and 00:c0:df:43:c0:0e is the
> hardware address of your NIC (network card).  You cannot simply make up a
> NIC address, you must know what it is.  To find out, type...
> 
> arp -a
> 
> This will return...
> 
> yourhost.yourdomain.com (204.251.2.10) at 00:c0:df:43:c0:0e

I'm running about 20 virtual domains on my system, and I have yet to specify
a MAC address for the network card in the /etc/netstart. Just the alias
works fine for me.

-- 

Paul Venezia - MonadNet System Administrator
MonadNet Corporation | Email: request@monad.net  | Information:(603)352-7619
322 Winchester St.   | http://www.monad.net      | TechSupport:(603)358-2497
Keene, NH 03431-3936 | http://top.monad.net/~techsupport | Fax:(603)357-1267