From owner-freebsd-stable@FreeBSD.ORG Tue Feb 13 19:03:09 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 33FAC16A408 for ; Tue, 13 Feb 2007 19:03:09 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: from bizet.nethelp.no (bizet.nethelp.no [195.1.209.33]) by mx1.freebsd.org (Postfix) with SMTP id 82BAC13C441 for ; Tue, 13 Feb 2007 19:03:08 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: (qmail 24261 invoked from network); 13 Feb 2007 19:03:06 -0000 Received: from bizet.nethelp.no (HELO localhost) (195.1.209.33) by bizet.nethelp.no with SMTP; 13 Feb 2007 19:03:06 -0000 Date: Tue, 13 Feb 2007 20:03:06 +0100 (CET) Message-Id: <20070213.200306.74735550.sthaug@nethelp.no> To: freebsd-stable@FreeBSD.ORG, fcash@ocis.net, olli@lurza.secnetix.de From: sthaug@nethelp.no In-Reply-To: <200702131837.l1DIbHJW010476@lurza.secnetix.de> References: <200702130915.04257.fcash@ocis.net> <200702131837.l1DIbHJW010476@lurza.secnetix.de> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: Desired behaviour of "ifconfig -alias" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2007 19:03:09 -0000 > > 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). > > As for outgoing connections: It is true that the kernel > picks a random matching IP address to be the source IP, > which happens to be the first one, but that's just as > coincidence as "-alias" picking the first one if none > is given. ;-) If it is indeed true that the kernel picks a *random* IP address for the source IP, I'd have to say that's not at all good enough. I'm all for being able to use the same netmask for several addresses in the same subnet (I have asked for this before) - but the source IP used by traffic generated from the host itself *must* be predictable. Steinar Haug, Nethelp consulting, sthaug@nethelp.no