*BSD News Article 48530


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!scsing.switch.ch!news.rediris.es!news.uoregon.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!newsfeed.internetmci.com!uunet!in1.uu.net!news1.digital.com!pa.dec.com!depot.mro.dec.com!nntpd.lkg.dec.com!usenet
From: Jon Jenkins <jenkinsj@ozy.dec.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: BIND, DNS and route broken ??
Date: 7 Aug 1995 21:02:34 GMT
Organization: Digital Equipment Corp
Lines: 39
Message-ID: <405v1a$e45@nntpd.lkg.dec.com>
References: <3vmk8a$pgr@nntpd.lkg.dec.com> <401aeu$ine@enigma.uniserve.com> <9508062104.AA17122@oils.ozy.dec.com> <Pine.BSF.3.91.950806180942.673B-100000@haven.uniserve.com>
NNTP-Posting-Host: ozyd13-p3.ozy.dec.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; BSD/386 uname failed)
X-URL: news:Pine.BSF.3.91.950806180942.673B-100000@haven.uniserve.com

Tom Samplonius <tom@haven.uniserve.com> wrote:

>
>  Exactly what is "local traffic"?  Traffic for an address that is local 
>should never go out the wire, as it should match the address of a 
>connected interface.  It should not be necessary to add routes to lo0.

OK try this: ping <myself>
unless you have a route to the loopback driver installed
the default route will send it out on the slip link to wherever.

The try this: <xapp> -display <myself>:0
again unless you have the local loopback installed it will not
work. It will also not work if you have the DISPLAY env
set to <myself>:0. For some reason I dont understand most 
X apps dont seem to need this, but some do. I think it is 
something to do with default display not being "localhost"
but I really know zip about X. What I do know is that if
you install this route then it all works fine.


Have a look in the /etc/netstart file, last line

# use loopback, not the wire 
route add $hostname localhost

its there for a reason, dont ask me what that reason is....



-- 
----------------------------------------------------------------------
Name:      Dr Jon Jenkins    Location: Digital Equipment Corporation NaC
Voice/Fax: 61-7-55-75-0151/100         Burnett Place, Research Park,  
Inet:      jenkinsj@ozy.dec.com        Bond University, Gold Coast
Close Proximity: "HEY YOU !!!"         QLD, AUSTRALIA 4229
"Daddy, what's outside the Universe?" (My 5 year old.....)
-----------------------------------------------------------------------