From owner-freebsd-questions Sun Jun 15 04:54:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA06948 for questions-outgoing; Sun, 15 Jun 1997 04:54:16 -0700 (PDT) Received: from peeper.my.domain ([208.128.8.125]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA06936 for ; Sun, 15 Jun 1997 04:54:04 -0700 (PDT) Received: (from tom@localhost) by peeper.my.domain (8.8.5/8.7.3) id GAA00485; Sun, 15 Jun 1997 06:49:22 -0500 (CDT) Message-ID: <19970615064922.52723@peeper.my.domain> Date: Sun, 15 Jun 1997 06:49:22 -0500 From: Tom Jackson To: questions@FreeBSD.ORG Subject: Re: NT4 ISP References: <19970612201434.17335@peeper.my.domain> <199706141508.XAA05163@vas.tomsk.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.76e In-Reply-To: <199706141508.XAA05163@vas.tomsk.su>; from Victor A. Sudakov on Sat, Jun 14, 1997 at 11:08:56PM +0800 Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, Jun 14, 1997 at 11:08:56PM +0800, Victor A. Sudakov wrote: > 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? > Well for one reason, that is the default standard everyone starts with. You only muck it up when you start modifying the file :) > > 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 I think maybe you have an ethernet card, yes? > > And in my /etc/rc.local: > > /sbin/ifconfig lo0 inet 192.168.1.1 alias > Everything I've seen posted recommends against using this assignment. I'm glad it works for you though. > 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. > I'm not sure I understand this. I thought the 127 address was the loopback address. Tom