Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 May 2002 15:38:05 -0600
From:      Ian <freebsd@damnhippie.dyndns.org>
To:        Erich Zigler <erichz@superhero.org>, <freebsd-stable@freebsd.org>
Subject:   Re: Unable to alias IP's in 4.5
Message-ID:  <B8FC53DD.CB79%freebsd@damnhippie.dyndns.org>
In-Reply-To: <200205061243.38680.erichz@superhero.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B8FC53DD.CB79%freebsd>