From owner-freebsd-questions Wed Feb 4 12:27:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA01424 for questions-outgoing; Wed, 4 Feb 1998 12:27:59 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA01400 for ; Wed, 4 Feb 1998 12:27:38 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id MAA15722; Wed, 4 Feb 1998 12:09:00 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Wed, 4 Feb 1998 12:09:00 -0800 (PST) From: Doug White Reply-To: Doug White To: Donn Miller cc: questions@FreeBSD.ORG Subject: Re: question about ppp & dynamic IP In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" 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