Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!gatech!news.mathworks.com!zombie.ncsc.mil!newsgate.duke.edu!godot.cc.duq.edu!newsfeed.pitt.edu!scramble.lm.com!dns.pulsenet.com!news From: Paul Sivie <psivie@pulsenet.com> Newsgroups: comp.unix.bsd.bsdi.misc,comp.infosystems.www.servers.unix Subject: Re: Virtual Host Problems Date: Tue, 23 Jul 1996 09:09:24 -0400 Organization: ALCOSAN Lines: 51 Message-ID: <31F4CF04.34B4@pulsenet.com> References: <31F091E6.2C1D@peacenet.com> NNTP-Posting-Host: pm1_p29.pulsenet.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.01 (Win95; U) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:4363 comp.infosystems.www.servers.unix:16937 Stan Golob wrote: > > Having some difficulty configuring virtual hosts to work properly using > BSD/OS 2.1. > > This is what I have done: > > Added the ifconfig lo0 alias `ipaddress` > > (Additionally all the DNS configuration has been done, but > doesn't have anything to do with the problem I'm having.) > > This is what happens: > > Ping to virtual ip works from anywhere in local domain. > Ping to virtual ip doesn't work from anywhere out of local. > Ping to hosts within local domain works. > (all pings are being done with IP addresses) > > Everything seems to be configured the way it is supposed to be, but > I just can't seem to figure out why packets aren't being accepted for > the virtual address from outside the domain. > > Any suggestions appreciated. > > TIA > Stan > > sgolob@peacenet.com 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. What is the correct syntax. The book lists lo0 but TechSupport says to use an ethernet interface? Which is correct? My problem is that the virtual domains can be ping from ANYWHERE except the server that is hosting them! Go figure. Paul