From owner-freebsd-stable Mon May 6 14:39:16 2002 Delivered-To: freebsd-stable@freebsd.org Received: from damnhippie.dyndns.org (12-253-177-2.client.attbi.com [12.253.177.2]) by hub.freebsd.org (Postfix) with ESMTP id 0A31F37B406 for ; Mon, 6 May 2002 14:39:09 -0700 (PDT) Received: from [172.22.42.2] (peace.hippie.lan [172.22.42.2]) by damnhippie.dyndns.org (8.11.6/8.11.6) with ESMTP id g46Lc5G56447; Mon, 6 May 2002 15:38:05 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) User-Agent: Microsoft Outlook Express Macintosh Edition - 5.01 (1630) Date: Mon, 06 May 2002 15:38:05 -0600 Subject: Re: Unable to alias IP's in 4.5 From: Ian To: Erich Zigler , Message-ID: In-Reply-To: <200205061243.38680.erichz@superhero.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > It seems from FreeBSD version 4.5 on I am unable to alias IP addresses to a > NIC card if the IP I am trying to alias has the same netmask as the > previously bound IP. > > I get nothing but a file exists error from ifconfig. > > I have been doing this since 3.4 so Im wondering what has changed. What changed is that the code now enforces that you do it the right way, which is to use 255.255.255.255 as the netmask for the alias IPs. That is, use the normal/proper netmask for the primary IP for that NIC, then use 255.255.255.255 for any alias IPs on the same subnet for that NIC. -- Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message