*BSD News Article 57574


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.hawaii.edu!ames!pendragon!news.msfc.nasa.gov!newsfeed.internetmci.com!news.pe.net!news.corpcomm.net!news.ccs-online.com!news.ccs-online.com!berdahl
From: berdahl@news.ccs-online.com (Tim Berdahl)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Virtual Hosts
Date: 15 Dec 1995 15:46:09 GMT
Organization: Computer Consulting Services
Lines: 26
Message-ID: <4as581$4rb@news.ccs-online.com>
NNTP-Posting-Host: news.ccs-online.com
X-Newsreader: TIN [version 1.2 PL2]

I have a web server setup which has 5 virtual hosts and it actually does work.
However, I have two questions:

1.  When ifconfig'ing the virtual hosts with the command:
	ifconfig ed0 inet virtual_host_ip_addr alias
    if says:
	ifconfig: ioctl (SIOCAIFADDR): File exists
    Then, if I execute the same command a second time, everything seems to
    work.  Why doe it fail the first time?

2.  Some of the virtual hosts can be ping'ed from the actual host and others
    cannot.  This behavior is not consistent:  sometimes all can be ping'ed,
    sometimes none, sometimes a few can be ping'ed.  Why is this?

Thanks in advance,

--
Tim Berdahl
(((((((((((((((Time(to(make(a(silly(.sig)file)like)everyone)else))))))))))))))
berdahl@ccs.ccs-online.com        // Proud employee/founder of Computer     //
berdahl@plains.nodak.edu          // Consulting Services (CCS)              //
http://www.ccs-online.com/        //                                        //
Goals:========================================================================
Get married, get masters & doctorate degrees, get job, have kids, retire & die

(Finger berdahl@ccs.ccs-online.com to get my public key)