*BSD News Article 77317


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!corolla.OntheNet.com.au!news
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ISP connect - need a default gateway?
Date: Tue, 03 Sep 1996 12:47:33 +1000
Organization: On the Net (ISP on the Cold Coast, Australia)
Lines: 32
Message-ID: <322B9C45.456D@OntheNet.com.au>
References: <321EEB4D.6BD2@alaska.net>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b5aGold (WinNT; I)
To: hmmm <hmmm@alaska.net>

hmmm wrote:
> 
> thanks to user-ppp docs, i am able to get that going.
> 
> but i can't get ftp or lynx to realize a connection.
> 
> route only sees my lo0 connection, and i can't add
> a new entry into the kernels routing tables (get
> conection doesn't exist or something).
> 
> can anyone tell me how to get ftp & lynx to realize
> a tcp/ip with my ISP thru my tun0 PPP interface?
> 
> i have a static IP address ...  all i can think of
> is my static routes="" in sysconfig because i'm not sure
> how to fill this entry.

Basically, you need a routing table entry for every network you might
ever want to reach (impractical!) or a DEFAULT route that gets your
packets to the nearest 'real' router.  This can be done with a default
gateway entry if the system you connect to is always the same so that
the IP address doesn't vary.  Also, the Internet needs to know now to
get packets back to you for anything to work so your IP address has to
be know by the Internet as well.  If it was given to you by an ISP then
hopefully the routing tables already know what to do (ie. you have one
address in a Class-C CIDR block that is already operational).

I'm a little surprised that the IJPPP stuff didn't provide you with a
default route.  Did you disable (or not enable, I can't remember what
the default ?! is) this behaviour?

Tony