*BSD News Article 67741


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.hawaii.edu!ames!usenet.kornet.nm.kr!usenet.etri.re.kr!news.kreonet.re.kr!usenet.seri.re.kr!news.cais.net!news.ac.net!news.serv.net!not-for-mail
From: zeno@serv.net (Sean T. Lamont)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Can't traceroute to virtual hosts
Date: 5 May 1996 02:36:13 -0700
Organization: ServNet Internet Services, Seattle, WA
Lines: 40
Message-ID: <4mhsqd$dv6@itchy.serv.net>
References: <4mhaeg$f8@venus.os.com>
NNTP-Posting-Host: itchy.serv.net

In article <4mhaeg$f8@venus.os.com>, Craig Shrimpton <craigs@os.com> wrote:
>Folks,
>
>I have configured virtual hosts like so:
>
>ifconfig de0 inet alias x.x.x.x netmask 0xffffffff
>
>The virtual domains work fine except that I can't traceroute to them.  The 
>traceroute basically times out trying to reach the last hop.  My guess is 
that it is due to the fact that the virtual host machine is on subnet 
0xfffffff0.

That netmask looks a bit funny. You're saying that all the bits of the address 
are significant for network and none for host. 

You should probably be putting them on the class C. If you want to reach it 
from the local host its alias on, you can add a static route to it ; this 
is what we do.

IE:

ifconfig ed0 inet a.b.c.d alias
route add a.b.c.d 127.0.0.1












-- 
Sean T. Lamont, President / CEO, Abstract Software (ServNet)  
- Internet access * WWW hosting * TCP/IP * UNIX * NEXTSTEP * WWW Development -
email: lamont@abstractsoft.com              WWW:  http://www.serv.net
"...There's no moral, it's just a lot of stuff that happens". - H. Simpson