From owner-freebsd-doc@FreeBSD.ORG Wed Sep 17 13:33:45 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B557616A539 for ; Wed, 17 Sep 2003 13:33:45 -0700 (PDT) Received: from omoikane.mb.skyweb.ca (209-5-243-50.mb.skyweb.ca [209.5.243.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9390743FB1 for ; Wed, 17 Sep 2003 13:33:43 -0700 (PDT) (envelope-from mark@omoikane.mb.skyweb.ca) Received: from omoikane.mb.skyweb.ca (localhost [127.0.0.1]) by omoikane.mb.skyweb.ca (8.12.9/8.12.9) with ESMTP id h8HKXhHF003657; Wed, 17 Sep 2003 15:33:43 -0500 (CDT) (envelope-from mark@omoikane.mb.skyweb.ca) Received: (from mark@localhost) by omoikane.mb.skyweb.ca (8.12.9/8.12.9/Submit) id h8HKXhBm003656; Wed, 17 Sep 2003 15:33:43 -0500 (CDT) Date: Wed, 17 Sep 2003 15:33:43 -0500 From: Mark Johnston To: Adam Newhard Message-ID: <20030917203343.GC1716@omoikane.mb.skyweb.ca> Mail-Followup-To: Adam Newhard , doc@freebsd.org References: <01c401c37d57$f4e5e640$09a7a8c0@Anewhard> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01c401c37d57$f4e5e640$09a7a8c0@Anewhard> User-Agent: Mutt/1.4.1i cc: doc@freebsd.org Subject: Re: freebsd documentation X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 20:33:45 -0000 Adam Newhard wrote: > ifconfig_fxp0="inet 10.1.1.1 netmask 255.255.255.0" > ifconfig_fxp0_alias0="inet 10.1.1.2 netmask 255.255.255.255" > ifconfig_fxp0_alias1="inet 10.1.1.3 netmask 255.255.255.255" > ifconfig_fxp0_alias2="inet 10.1.1.4 netmask 255.255.255.255" > ifconfig_fxp0_alias3="inet 10.1.1.5 netmask 255.255.255.255" > ifconfig_fxp0_alias4="inet 202.0.75.17 netmask 255.255.255.240" > ifconfig_fxp0_alias5="inet 202.0.75.18 netmask 255.255.255.255" > ifconfig_fxp0_alias6="inet 202.0.75.19 netmask 255.255.255.255" > ifconfig_fxp0_alias7="inet 202.0.75.20 netmask 255.255.255.255" > If you're configuring your system how you said above, those last 3 lines > needs a netmask of 255.255.255.240, not .255 Actually, the lines are correct as shown. When a second IP address is added on a subnet where we already have one, the netmask has to be all 1's as above. Trying to configure a second address with the same netmask as the first results in this wonderfully specific error: ifconfig: ioctl (SIOCAIFADDR): File exists I believe this was the subject of hot debate and much mail to stable@ when the restriction was first introduced (4.5? 4.7?) Mark