From owner-freebsd-questions Tue Jun 17 14:24:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA08690 for questions-outgoing; Tue, 17 Jun 1997 14:24:48 -0700 (PDT) Received: from xmission.xmission.com (softweyr@xmission.xmission.com [198.60.22.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA08654 for ; Tue, 17 Jun 1997 14:24:38 -0700 (PDT) Received: (from softweyr@localhost) by xmission.xmission.com (8.8.5/8.7.5) id PAA26237; Tue, 17 Jun 1997 15:21:49 -0600 (MDT) From: Wes Peters - Softweyr LLC Message-Id: <199706172121.PAA26237@xmission.xmission.com> Subject: Re: NT4 ISP To: vas@vas.tomsk.su (Victor A. Sudakov) Date: Tue, 17 Jun 1997 15:21:46 -0600 (MDT) Cc: questions@freebsd.org In-Reply-To: <199706161616.AAA03879@vas.tomsk.su> from "Victor A. Sudakov" at Jun 17, 97 00:16:36 am X-Mailer: ELM [version 2.4 PL25] 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 > And in my /etc/rc.local: > > /sbin/ifconfig lo0 inet 192.168.1.1 alias > > What is the reason of recommending against this assignment? What is wrong > with it? Note the "alias" parameter I use. Thus, lo0 has two addresses. > > 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. But it really didn't add any value. You can simply achieve the same result by adding your "hostname" as an alias to the standard loopback address in /etc/hosts: 127.0.0.1 localhost vas.tomsk.su Now you can ping vas.tomsk.su, it will resolve to the the standard loopback address, and you don't need to create a virtual network that isn't there. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com