Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 1998 12:09:00 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Donn Miller <dmm125@bellatlantic.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: question about ppp & dynamic IP
Message-ID:  <Pine.BSF.3.96.980204120715.15689C-100000@gdi.uoregon.edu>
In-Reply-To: <Pine.NEB.3.96.980203152155.5704A-100000@myname.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 3 Feb 1998, Donn Miller wrote:

> I use ppp with an ISP that assigns dynamic IP addresses.  What IP address
> should I use for my machine?  It seems 127.0.0.1 should be used, i.e.:

That is true. You don't want local accesses going out over the wire if you
can help it.

> The one shown here (10.0.0.1) was causing problems with fetchmail -- it
> gave me gethostbyname failed for myname.my.domain.  But I sort of read
> between the lines in the handbook that 10.0.0.1 should be used in the case
> of dynamic IP allocation.  But it caused problems with fetchmail, so
> I changed it to 127.0.0.1.  I thought this was wrong at first because I
> figured that the same IP address couldn't be used for more than one entry
> in /etc/hosts file.
> 

You shouldn't -- just stick the names on the same line, ie

127.0.0.1  localhost localhost.my.domain myname myname.my.domain

It should be in hosts(5).

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980204120715.15689C-100000>