*BSD News Article 79175


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!in-news.erinet.com!ddsw1!news.mcs.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!news1.erols.com!news
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Simple PPP Question
Date: Wed, 25 Sep 1996 20:53:33 +0000
Organization: Erol's Internet Services
Lines: 78
Message-ID: <32499BCD.3738@www.play-hookey.com>
References: <32488613.1835104@news.idt.net>
Reply-To: kbigelow@www.play-hookey.com
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 3.0 (Win16; U)

koppla wrote:
> 
> I am using ppp to dial my isp.  Now it seems that i having problems
> using it. To start off this is ma routing tables from both ppp and
> netstat
> 
> netstat -rn
> 
> Routing Table
> 
> Internet:
> 
> Destination     Gateway Flags   Refs Use  Netir Expire
> 127.0.0.1       127.0.0.1       UH      0        0               lo0
> 163.179.66.7    204.31.237.133  UH      0        0               tun0
> 204.31.237.133  127.0.0.1       UH      0        0               lo0
> 
> show route (under ppp)
> 127.0.0.1       127.0.0.1       ffffffff UH 2
> 163.179.66.7    204.31.237.133  ffffffff UH 4
> 204.31.237.133  127.0.0.1       ffffffff UH 2
> 
> This is my ppp.conf file:
> 
> default:
>  set device /dev/cuaa0
>  set speed 57600
>  set phone *70,459-3000
>  set login "TIMEOUT 5 login:-\\r-login: blah word: blah"
> 
> This is my ppp.linkup file:
> 
> MYADDR:
>  delete ALL
>  add 0 0 HISADDR
> 
> Now this a cut out of my sysconfig file:
> 
> hostname="koppla.my.domain.com"
> 
> network_interfaces="tun0 lo0"
> ifconfig_tun0="inet koppla.my.domain.com 0 netmask 0xffffff00"
> ifconfig_lo0="inet localhost"
> #static_routes="multicast loopback"
> #route_multicast="224.0.0.0 -netmask 0xf0000000 -interface${hostname}"
> #route_loopback="${hostname} localhost"
> 
> # Set to the host you'd like set as your default router, or NO for
> # none.
> defaultrouter=NO
> 
> This is my resolv.conf file:
> 
> nameserver      199.182.120.202
> nameserver      199.182.120.203
> 
> This is what i have in my hosts file:
> 127.0.0.1               localhost koppla.my.domain
> 
> Now i have done ma homework and finish it at least that's what i
> think. But when i try to connect or ping something it tells me no
> route to the ip...???? Have i done something wrong... If anyone can
> help me out please do
> 

Don't use the 127.0.0.1 address externally -- it is strictly a local
address. If you are being assigned a dynamic IP address by your ISP,
you'll get it when you log in.

Both the 127.0.0.1 and 10.0.0.1 addresses are reserved for local use
(local subnets if need be) only. They can't be used on the Internet, and
any ISP will reject these numbers.
-- 
Ken

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