*BSD News Article 69663


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!bofh.dot!in-news.erinet.com!imci5!imci4!newsfeed.internetmci.com!in1.uu.net!EU.net!sun4nl!beta.nedernet.nl!usenet
From: Gary Howland <gary@systemics.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: route add on boot
Date: Wed, 29 May 1996 13:28:45 +0200
Organization: Systemics Ltd.
Lines: 35
Message-ID: <31AC34ED.33FADC43@systemics.com>
References: <1996May26.024631.17673@cs.mun.ca> <4od33r$i9k@uriah.heep.sax.de> <4og1md$bcr@jraynard.demon.co.uk>
NNTP-Posting-Host: mainstreet.support.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b2 (X11; I; FreeBSD 2.1.0-RELEASE i386)
X-Forwarded: by - (DeleGate2.8.31)

James Raynard wrote:
> 
> In article <4od33r$i9k@uriah.heep.sax.de>,
> >Use only numerical IP addresses this early in the game, no host names.
> >For the default name resolution order (DNS first, /etc/hosts second),
> >the routing to the nameserver is not yet established, so the boot
> >process waits until DNS times out, and then falls back to /etc/hosts.
> 
> Is there any point having these? I commented them out on my system
> months ago, after seeing Garrett Wollman say they were totally bogus.

For what it's worth, this is what I use in /etc/sysconfig:

	static_routes="loopback1 loopback2 internet multicast"
	route_internet="default -interface <IP of remote PPP>"
	route_multicast="224.0.0.0 -netmask 0xf0000000 -interface 192.168.0.1"
	route_loopback1="192.168.0.1 127.0.0.1"
	route_loopback2="<my IP addr> 127.0.0.1"

and I don't use a default router:

	defaultrouter="NO"	

I also use:

	ifconfig_tun0=""

and my /etc/start_if.tun0 contains:

	/usr/sbin/ppp -auto leased-line

Gary
--
pub  1024/C001D00D 1996/01/22  Gary Howland <gary@systemics.com>
Key fingerprint =  0C FB 60 61 4D 3B 24 7D  1C 89 1D BE 1F EE 09 06