*BSD News Article 63769


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!cs.utexas.edu!howland.reston.ans.net!ix.netcom.com!netcom.com!blake1
From: blake1@netcom.com (Blake R. Swensen)
Subject: No Route To Host HELP PLEASE
Message-ID: <blake1DoHMA5.1Kw@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
X-Newsreader: TIN [version 1.2 PL1]
Date: Mon, 18 Mar 1996 23:51:41 GMT
Lines: 166
Sender: blake1@netcom16.netcom.com

This is the second request.  Would some kind soul please help.
I have tried several different configurations all of which get me the 
same result ( or network not reachable, obviously).  I have picked my 
brain, read the FAQ, went out to the Web site (choked), and tried 
chanting a mantra or two.  I have double checked sysconfig, resolv.conf, 
hosts, myname, rc.local and just about everything in /etc.  Please help.

I recently got my domain registration and a range of ip addresses from my 
ISP, and proceded to change my addresses to the assigned numbers.

However in the process, I either lost my mind, or forgot one critical peice 
of the network puzzle (see sysconfig below).  Upon reboot I get the following 
messages:

ed0: Flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,DUPLEX> mtu 1500
	inet 206.251.72.3 netmask 0xffffff00 broadcast 206.251.72.255
lo0: flags=8009<UP,LOOPBACK,MULTICAST>mtu 16384
	inet 127.0.0.1 netmask 0xff000000
Writing to routing socket: File exists
Add net 206.251.72.3: gateway phil.pbgi.com:File exists
writing to routing socket: File exists
add host phil.pbgi.com: gateway localhost: File exists
configuring host as gateway
net.inet.ip.forwarding: 0 -> 1

Now when I ping phil (as listed in my hosts) I get a no route to host error 
message.  I can ping the ip address directly OK... as well with other 
addresses on the net.  

Can someone help me!

sysconfig network section:
######################### Start Of Netconfig Section #######################

# Set to the name of your host - this is pretty important!
hostname=phil.pbgi.com

# Set to the NIS domainname of your host, or NO if none
defaultdomainname=pbgi.com

#
# Some broken implementations can't handle the RFC 1323 and RFC 1644
# TCP options.  If TCP connections randomly hang, try disabling this,
# and bug the vendor of the losing equipment.
#
tcp_extensions=YES

#
# Set to the list of network devices on this host.  You must have an
# ifconfig_${network_interface} line for each interface listed here.
# for example:
#
network_interfaces="ed0 lo0"
#	ifconfig_ed0="inet 10.0.0.1 netmask 0xffffff00"
#	ifconfig_sl0="inet 10.0.1.0 netmask 0xffffff00"
#
ifconfig_lo0="inet localhost"
ifconfig_ed0="inet 206.251.72.3 netmask 255.255.255.0"

#
# Set to the list of route add lines for this host.  You must have a
# route_${static_routes} line for each static route listed here.
#
static_routes="multicast loopback"
route_multicast="206.251.72.3 -netmask 0xffffff00 -interface ${hostname}"
route_loopback="${hostname} localhost"

# Set to the host you'd like set as your default router, or NO for none.
defaultrouter=NO

# These are the flags you'd like to start the routing daemon with
# this is the old configuration:routedflags=-q
routedflags=-s

# timed flags, or NO if you don't want to start the time daemon
timedflags=NO

# xntpd flags, or NO if you don't want to start the xntpd daemon
xntpdflags="NO"

# this is inoperative unless xntpd is enabled; NO to disable
tickadjflags="-Aq"

# Set to the site you'd like to syncronize your clock from 
(gatekeeper.dec.com,
# for example) or NO for no such site.
ntpdate="NO"

# Set to YES if you want to run rwhod
rwhod="YES"

# Default sendmail flags.  -bd is pretty mandatory, -q<n>m sets the queue 
scan
# time in minutes.  If set to NO, don't start sendmail at all.
sendmail_flags="-bd -q30m"

# Set to appropriate flags if you want to use AMD
amdflags="NO"

# Set to YES if this machine will be an NFS client
nfs_client=NO

# Set to YES if this machine will be an NFS server
nfs_server=NO

# Set to appropriate flags if you want to start NIS for a client
nis_clientflags="NO"

# Set to host to ypset to if you need to do that
nis_ypsetflags="NO"

# Set to appropriate flags if you want to start NIS for a server
nis_serverflags="NO"

# Set to appropriate flags for yppasswdd, if you wish to run it.
# Typical flags might be "-m /var/yp/master.passwd -s -f"
yppasswddflags="NO"

# Set to appropriate flags for named, if you have a full-time
# connection to the Internet.
# For most hosts, flags should be "-b /etc/namedb/named.boot"
# old configuration
namedflags="NO"
#namedflags="-b /etc/namedb/named.boot"

# Set to YES if you run PC-NFSD (see /usr/ports/net/pcnfsd) for
# sharing filesystems with DOS/Windows PCs.
pcnfsd=NO

# Set to YES if you have the Apache WEB server (see /usr/ports/net/apache)
# installed and want to run it at system startup time (this is better than
# running it from inetd if you're running a dedicated WWW server).
apache_httpd=NO

# Set to YES if you want to run the X-10 power controller daemon
xtend=NO

# Set to the name of the device for kernel crashdumps, or `off' to
# disable any statically configured dumpdev, or NO for no change.
# The device should normally be one of the swap devices specified
# in /etc/fstab.
dumpdev=NO

# Set to YES if you want kernel crashdumps to be saved for debugging
savecore=NO

# Set to YES if you want to run Kerberos authentication
kerberos_server=NO

# If you want this host to be a gateway, set to YES.
gateway=YES

# Set to YES if you want to run gated
gated=NO

# Set to YES if you wish to check quotas.  NOTE:  For now this probably
# doesn't work and should be left disabled.
check_quotas=NO

# Set to YES to turn on accounting.  NOTE: For now this probably
# doesn't work and should be left disabled.
accounting=NO

######################### End Of Netconfig Section #######################