*BSD News Article 74613


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.sdsmt.edu!news.mid.net!news.dra.com!netaxs.com!op.net!news.mathworks.com!uunet!in3.uu.net!picard.chickasaw.com!picard.chickasaw.com!smcmahon
From: Shawn McMahon <smcmahon@chickasaw.com>
Newsgroups: comp.unix.bsd.bsdi.misc,comp.infosystems.www.servers.unix
Subject: Re: Virtual Host Problems
Date: Wed, 24 Jul 1996 10:50:46 -0500
Organization: Chickasaw Nation Net
Lines: 34
Message-ID: <Pine.BSI.3.94.960724104453.775B-100000@picard.chickasaw.com>
References: <31F091E6.2C1D@peacenet.com> <31F4CF04.34B4@pulsenet.com>
NNTP-Posting-Host: picard.chickasaw.com
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: Paul Sivie <psivie@pulsenet.com>
In-Reply-To: <31F4CF04.34B4@pulsenet.com>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:4372 comp.infosystems.www.servers.unix:17011

On Tue, 23 Jul 1996, Paul Sivie wrote:

> This is what BSDI Tech Support told me:
> 
> ifconfig INTERFACE IPADDR alias    [ where INTERFACE is an ethernet interface ]
> route add -host IPADDR 127.0.0.1
> 
> 	or
> 
> ifconfig lo0 IPADDR alias
> arp -s IPADDR ETHERADDR pub
> 
> 
> You should do only one of this method and not mix them.

[some text deleted for brevity]

> My problem is that the virtual domains can be ping from ANYWHERE
> except the server that is hosting them!  Go figure. 

That's because you did only one of them, and not both.  Here's what we
use for several domains, and it works perfectly:

ifconfig lo0 IPADDR alias
arp -s IPADDR ETHERADD pub
route add IPADDR 127.1

They can be pinged from anywhere.


  Shawn McMahon          | Smokesignals Computer Company
  Senior System Operator | Southern Oklahoma's Internet Service Provider
  Chickasaw Nation Net   | 405 332-0033   http://www.chickasaw.com