*BSD News Article 72805


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.ysu.edu!news.cps.udayton.edu!news.conterra.com!newsfeed.internetmci.com!newsfeed.internetmci.com!hunter.premier.net!news1.erols.com!news
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help finding my web server!!!
Date: Thu, 04 Jul 1996 08:57:01 -0700
Organization: A poorly-installed InterNetNews site
Lines: 39
Message-ID: <31DBE9CD.1DF4@www.play-hookey.com>
References: <31D88009.52EF@ns.hondunet.net> <4rd24t$jv@anorak.coverform.lan>
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win16; I)

Brian Somers wrote:
> 
> Samuel E. Romero (sromero@ns.hondunet.net) wrote:
> : I've setup a FreeBSD 2.0 box and have to PC's connected to it through
> : ethernet cards, when I do a "ping pc1" or "ping pc2" from the unix
> : machine it works, when I do a ping from PC1 or PC2 to HOST it works, but
> : when I do a ping www.xx.xx from PC1 or PC2 timeout error occurs.  I
> : added a ifconfig lo0 alias www on the configuration (sysconfig) and when
> : i do a ping www on a unix screen it works, how can I access my web
> : server in the unix machine from the PC's??
> 
> : P.S. also just before the login prompt in the boot process there is a
> : message that say's:
> :   host.xx.xx not found
> : altough when I login and type ping host.xx.xx it work's!!!.  Why is the
> : message comming out?
> 
> : Netstat -r gives:
> : Destination   Gateway         Flags   Refs ...        Netif
> : mynet         link#1          UC      1
> : host          0:40:5:...      UHLW    0               lo0
> : www           www             UH      0               lo0
> 
> You need to "ifconfig ed0 alias www netmask 0xffffffff" where ed0
> is your network interface, *not* your local interface.
> 

Also make sure that each machine has the others listed in its "hosts" 
file. If you're not connected to the Internet and have no name server, 
translations won't happen. Each machine must have, within itself, enough 
information to identify the others.

-- 

Ken

Are you interested in   |
byte-sized education    |   http://www.play-hookey.com
over the Internet?      |