Date: Tue, 13 Feb 2007 20:10:19 +0100 From: "Patrick M. Hausen" <hausen@punkt.de> To: freebsd-stable@freebsd.org Subject: Re: Desired behaviour of "ifconfig -alias" Message-ID: <20070213191019.GA24006@hugo10.ka.punkt.de> In-Reply-To: <200702131837.l1DIbHJW010476@lurza.secnetix.de> References: <200702130915.04257.fcash@ocis.net> <200702131837.l1DIbHJW010476@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! On Tue, Feb 13, 2007 at 07:37:17PM +0100, Oliver Fromme wrote: > Freddie Cash wrote: > > For a set of IPs in the same subnet on the same interface, wouldn't the > > primary IP be the one with the proper netmask, and all IPs with netmasks > > of /32 be secondary? > > That's historic. :-) Old versions of FreeBSD indeed > required the netmask of the "aliases" to be /32 in that > case. But it's no longer the case. WTF? Er, sorry, what did I miss? This is complete news to me and I'm really surprised. I had that same thought as Freddie had when I read this thread, but did not find the time to answer until today. Was there a HEADS UP or something? > > In that situation, wouldn't deleting the primary IP > > cause connection issues for the rest of the IPs? > > No. I can delete _any_ of the above IP addresses, and the > others would still work perfectly fine. I already did > things like that (on a different machine). _If_ they all share the same netmask when they are part of the same prefix. As much as I appreciate the change, this is a big POLA violation. I considered the "netmask 0xffffffff" cast in concrete until now. Thanks for clarifying. Patrick -- punkt.de GmbH * Vorholzstr. 25 * 76137 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: Jürgen Egeling AG Mannheim 108285
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070213191019.GA24006>