*BSD News Article 76088


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!news.mathworks.com!newsfeed.internetmci.com!news.nrv.net!abyss.radford.net!pitlord
From: pitlord@abyss.radford.net (Troy Settle)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Dynamic IP's
Date: 14 Aug 1996 10:00:34 GMT
Organization: via NRVnet Inc. Internet Service (540-953-5000)
Lines: 35
Message-ID: <4us842$iot@kirk.nrv.net>
References: <4uojpr$nbd@news.teleplex.net>
NNTP-Posting-Host: port-25.server2.nrv.net
X-Newsreader: TIN [version 1.2 PL2]

gene johnson (gene@johnson) wrote:
: alright, got ppp to work automatically however, what happens when your
: ISP assigns ip's dynamicly?  what do you put in your hosts file to
: identify yourself?

: reply if you can
: gene@teleplex.net

I've been using dynamic dial-up for a while now, and never had a problem 
with the following in my /etc/hosts file

127.0.0.1		localhost.radford.net localhost
192.168.23.5		abyss.radford.net abyss

192.168.23.5 is my ethernet card (useless right now), if you don't have 
an ethernet card, then just the entry for localhost would be sufficient.

By RTFM, we learn that with PPP, network addresses don't really make any 
difference, beings how the link is "point to point" -- meaning that there 
are only two (2) nodes on that network.  Your machine can do damn near 
anything it wants, and won't screw up your ISP's network, or the internet 
in general.  If it does, then your ISP has a serious problem with their 
configuration.

Routing is handled seperately on both ends, you simply need to provide a 
default route, which is normally taken care of by pppd or ijppp.  Your 
ISP's configuration will provide a route for incoming packets to reach 
your machine, read up on networking to learn how. :)


cya,
Troy

(corrections are welcome, flames are ignored, and help getting incoming 
mail working correctly on a dynamic link would be greatly appreciated.)