From owner-freebsd-stable Fri Aug 4 8:40:11 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mail2.uniserve.com (mail2.uniserve.com [204.244.156.10]) by hub.freebsd.org (Postfix) with ESMTP id CF21737BB67 for ; Fri, 4 Aug 2000 08:40:05 -0700 (PDT) (envelope-from tom@uniserve.com) Received: from shell.uniserve.ca ([204.244.186.218]) by mail2.uniserve.com with esmtp (Exim 3.13 #1) id 13KjZM-000MZZ-00; Fri, 04 Aug 2000 08:39:32 -0700 Date: Fri, 4 Aug 2000 08:39:30 -0700 (PDT) From: Tom X-Sender: tom@shell.uniserve.ca To: cjclark@alum.mit.edu Cc: Jonathan Vaughan , freebsd-stable@FreeBSD.ORG Subject: Re: Unable to get IP address of own host during CVSup In-Reply-To: <20000803222436.B66052@184.215.6.64.reflexcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 3 Aug 2000, Crist J . Clark wrote: > > I thought the correct way was to have something like > > > > ifconfig_lo0_alias0="inet 10.0.0.1 netmask 0xffffffff" > > This is not the correct way. This is a Bad Idea. Don't give the > loopback any address but 127.0.0.1. That is an alias address by the way. Assigning alias addresses to lo0 is perfectly ok thing to do. > > and a hosts file like > > > > 127.0.0.1 localhost.turnip.org.uk localhost > > 10.0.0.1 mashed.turnip.org.uk mashed > > This is fine, but remember that 'hosts' has to appear in /etc/host.conf > for the /etc/hosts file to be referenced. > -- > Crist J. Clark cjclark@alum.mit.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > > Tom Uniserve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message