From owner-freebsd-questions@FreeBSD.ORG Sun Oct 24 15:13:38 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14A2E16A4CE for ; Sun, 24 Oct 2004 15:13:38 +0000 (GMT) Received: from imo-m15.mx.aol.com (imo-m15.mx.aol.com [64.12.138.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id A841743D4C for ; Sun, 24 Oct 2004 15:13:37 +0000 (GMT) (envelope-from TM4525@aol.com) Received: from TM4525@aol.com by imo-m15.mx.aol.com (mail_out_v37_r3.8.) id h.ee.4617a19 (4238); Sun, 24 Oct 2004 11:13:24 -0400 (EDT) From: TM4525@aol.com Message-ID: Date: Sun, 24 Oct 2004 11:13:24 EDT To: scrappy@hub.org MIME-Version: 1.0 X-Mailer: 9.0 for Windows sub 5114 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: questions@freebsd.org Subject: Re: ifconfig alias: File Exists X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2004 15:13:38 -0000 In a message dated 10/19/04 3:51:33 PM Eastern Daylight Time, scrappy@hub.org writes: >> # ifconfig fxp0 alias 200.46.204.9 >> ifconfig: ioctl (SIOCAIFADDR): File exists >> >> when I know for a fact that it hasn't been configured? > > you should use a netmask of 255.255.255.255 for ipv4 aliases. > > ifconfig fxp0 alias 200.46.204.9 netmask 255.255.255.255 >Is that new? You are right, that fixed it, but didn't think I had to do >that before :( You get it because the guy who maintains ifconfig didn't have the foresight to realize the "alias" should imply a host mask, and also that the guy who coded the kernel code didn't think that assuming a host mask was reasonable. Welcome to open source. Love it and live with it.