From owner-freebsd-questions Sat Jun 14 10:05:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA29737 for questions-outgoing; Sat, 14 Jun 1997 10:05:26 -0700 (PDT) Received: from mpeks.tomsk.su (mpeks.tomsk.su [193.124.185.19]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id KAA29732 for ; Sat, 14 Jun 1997 10:05:17 -0700 (PDT) Received: (from uucp@localhost) by mpeks.tomsk.su (8.6.11/8.6.9) with UUCP id BAA04828 for questions@freebsd.org; Sun, 15 Jun 1997 01:04:54 +0800 Received: (from vas@localhost) by vas.tomsk.su (8.8.5/8.8.3) id XAA05163 for questions@freebsd.org; Sat, 14 Jun 1997 23:08:57 +0800 (TSD) From: "Victor A. Sudakov" Message-Id: <199706141508.XAA05163@vas.tomsk.su> Subject: Re: NT4 ISP To: questions@freebsd.org Date: Sat, 14 Jun 1997 23:08:56 +0800 (TSD) In-Reply-To: <19970612201434.17335@peeper.my.domain> from "Tom Jackson" at "Jun 12, 97 08:14:34 pm" Organization: Tomsk Region Education Department X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Tom Jackson wrote: > I have dynamic assigned address. My /etc/hosts file has only the loopback > address, 127.0.0.1, and nothing else (I have no ethernet card). If I use > anything there with my hostname, my isp will try to use that address and > the connection will fail. Why should he try to use that address? And how is he going to know about it, anyway? > This is something I wish somebody would clearup. I also have a dynamically assigned address. However, I have in my /etc/hosts file: 127.0.0.1 localhost 192.168.1.1 vas.tomsk.su vas And in my /etc/rc.local: /sbin/ifconfig lo0 inet 192.168.1.1 alias It works fine, I can ping vas.tomsk.su even if I am offline. It does not prevent me from using ppp because 192.168.1.1 is associated with lo0 and has nothing to do with tun0. -- Victor Sudakov http://www.tomsk.su/r/persons/vas.htm