Date: Tue, 18 Apr 95 13:41:38 EDT From: jleppek@suw2k.ess.harris.com (James Leppek) To: freebsd-questions@FreeBSD.org Subject: Re: PPP and dynamic IPs drifting a little Message-ID: <9504181741.AA05651@borg.ess.harris.com>
next in thread | raw e-mail | index | archive | help
Speaking of IP's I was responding to this mail and recalled the words of wisdom in the /etc/hosts file about selecting private IPs from a set of reserved numbers that are never to appear on the net and getting valid numbers if you are on the net. It had mentioned 192.168.0.0-192.168.255.255 as reserved. Well, I tried to ping those to confirm they are never in use and I got an answer! Then I tried 192.168.1.2 and it answered!! So what is the scoop on those numbers and RFC1597? Jim Leppek > From owner-freebsd-questions@freefall.cdrom.com Tue Apr 18 12:32:25 1995 > Date: Tue, 18 Apr 1995 12:13:52 -0400 > From: kelly@fsl.noaa.gov (Sean Kelly) > To: kcw@grumpy.ksc.nasa.gov > Cc: questions@FreeBSD.org > Subject: Re: PPP and dynamic IPs > Sender: questions-owner@FreeBSD.org > > >>>>> "Ken" == Ken Whedbee <kcw@grumpy.ksc.nasa.gov> writes: > > Ken> I'm connecting to the internet (from FreeBSD2.0 patched) > Ken> through a dialup PPP (Internet Service Provider) account > Ken> which assigns an IP number dynamically. > > Same here, although at work we're supposedly getting permanently > assigned IP addresses for our home hosts ... waiting ... waiting ... > > Ken> My question is, do I have to setup anything in my /etc/hosts > Ken> and /etc/host.conf files or should my machine become aware of > Ken> its IP automagically ? > > Nah, no need to do anything special. > > Ken> Do I need to specify my hostname in the /etc/hosts file ? > > Pick any host name and IP address you want. > > Ken> What order should DNS lookup and /etc/hosts lookup be in the > Ken> /etc/host.conf file ? > > I think any order will work; but I use /etc/hosts first for when I'm > not connected to my service provider. > > Ken> I was tring to talk to the ISP's nntp server (telnet to the > Ken> port number) and it was saying "host not in nntp access file > Ken> .. error code 502". The ISP claims their floating IPs are in > Ken> the nntp access file. > > They're lying. > > Ken> If I ping myself it shows the dynamically assigned IP. > > Good. > > Ken> Any insights ? > > I haven't had a good insight in years. > > -- > Sean Kelly > NOAA Forecast Systems Lab, Boulder Colorado USA > > If they ever come up with a swashbuckling school, I think one of the > courses should be Laughing, Then Jumping Off Something. > -- Jack Handey >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9504181741.AA05651>