From owner-freebsd-isp Mon Feb 17 12:33:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA12677 for isp-outgoing; Mon, 17 Feb 1997 12:33:48 -0800 (PST) Received: from cold.org (cold.org [206.81.134.103]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA12672 for ; Mon, 17 Feb 1997 12:33:46 -0800 (PST) Received: from localhost (brandon@localhost) by cold.org (8.8.5/8.8.3) with SMTP id NAA12780 for ; Mon, 17 Feb 1997 13:33:55 -0700 (MST) Date: Mon, 17 Feb 1997 13:33:54 -0700 (MST) From: Brandon Gillespie To: freebsd-isp@freebsd.org Subject: Which way is 'correct'? (was: Re: Aliases) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >From this thread I heard that both of the following ways of adding an IP alias will work. What I'm wondering is which way is the 'best' way? ifconfig lo0 alias x.y.z netmask 255.255.255.255 arp -s x.y.z 00:c0:f0:0a:25:de pub vs: ifconfig ed0 alias x.y.z netmask 255.255.255.255 arp add x.y.z 127.0.0.1 They both work, which is the better way? Frankly I'd think the latter would be, as it isn't tied to any hardware configuration (i.e. the ethernet address). -Brandon Gillespie