From owner-freebsd-questions Tue Apr 18 10:44:01 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA12591 for questions-outgoing; Tue, 18 Apr 1995 10:44:01 -0700 Received: from ess.harris.com (su15a.ess.harris.com [130.41.1.251]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id KAA12581 for ; Tue, 18 Apr 1995 10:43:58 -0700 Received: from borg.ess.harris.com (suw2k.ess.harris.com) by ess.harris.com (4.1/SMI-4.0) id AA23619; Tue, 18 Apr 95 13:43:45 EDT Received: by borg.ess.harris.com (4.1/SMI-4.1) id AA05651; Tue, 18 Apr 95 13:41:38 EDT Date: Tue, 18 Apr 95 13:41:38 EDT From: jleppek@suw2k.ess.harris.com (James Leppek) Message-Id: <9504181741.AA05651@borg.ess.harris.com> To: freebsd-questions@FreeBSD.org Subject: Re: PPP and dynamic IPs drifting a little Sender: questions-owner@FreeBSD.org Precedence: bulk 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 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 >