From owner-freebsd-stable Wed Feb 27 20:59:33 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id EB4A937B402 for ; Wed, 27 Feb 2002 20:59:24 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020228045924.JHBV2951.rwcrmhc53.attbi.com@blossom.cjclark.org>; Thu, 28 Feb 2002 04:59:24 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1S4xNU67582; Wed, 27 Feb 2002 20:59:23 -0800 (PST) (envelope-from cjc) Date: Wed, 27 Feb 2002 20:59:23 -0800 From: "Crist J. Clark" To: Michael Sierchio Cc: "David A. Koran" , freebsd-stable@FreeBSD.ORG Subject: Re: ifconfig aliases Message-ID: <20020227205923.F66092@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20020227194112.E66092@blossom.cjclark.org> <3C7DA87B.4070005@tenebras.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C7DA87B.4070005@tenebras.com>; from kudzu@tenebras.com on Wed, Feb 27, 2002 at 07:48:11PM -0800 X-URL: http://people.freebsd.org/~cjc/ 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 On Wed, Feb 27, 2002 at 07:48:11PM -0800, Michael Sierchio wrote: > Crist J. Clark wrote: > > >>ifconfig_fxp0="inet AAA.BBB.CCC.190 netmask 255.255.255.128" > >>ifconfig_fxp0_alias0="inet AAA. BBB.DDD.209 netmask 255.255.255.248" > >>ifconfig_fxp0_alias1="inet AAA. BBB.DDD.210 netmask 255.255.255.248" > >>ifconfig_fxp0_alias2="inet AAA. BBB.DDD.211 netmask 255.255.255.248" > >>ifconfig_fxp0_alias3="inet AAA. BBB.DDD.212 netmask 255.255.255.248" > >>ifconfig_fxp0_alias4="inet AAA. BBB.DDD.213 netmask 255.255.255.248" > >>ifconfig_fxp0_alias5="inet AAA. BBB.DDD.214 netmask 255.255.255.248" > >> > > > > This was never "legal." It has always been a > > misconfiguration. However, depending on what you were doing, it may > > still have worked in spite of not making any sense. > > Care to expand a little bit? Looking at this more... it's a little weird. This machine has all of the addresses on this AAA.BBB.DDD.208/29 subnet? If you are using this as I imagine you are, perhaps putting them on the loopback device would be better. The most obvious question that arises when you want to reach another system on the same subnet as the aliases. Which address should be the source? Depending on how the code works, (1) you might get predictable behavior (it's always the first alias), (2) unpredictable behavior (it might be any one of them), or (3) broken behavior (it doesn't work at all or only works sometimes). It looks like you are seeing (3) at the moment. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message