From owner-freebsd-stable Wed Feb 27 19:48:19 2002 Delivered-To: freebsd-stable@freebsd.org Received: from laptop.tenebras.com (laptop.tenebras.com [66.92.188.18]) by hub.freebsd.org (Postfix) with SMTP id 26CF137B417 for ; Wed, 27 Feb 2002 19:48:13 -0800 (PST) Received: (qmail 18103 invoked from network); 28 Feb 2002 03:48:11 -0000 Received: from sapphire.tenebras.com (HELO tenebras.com) (66.92.188.241) by 0 with SMTP; 28 Feb 2002 03:48:11 -0000 Message-ID: <3C7DA87B.4070005@tenebras.com> Date: Wed, 27 Feb 2002 19:48:11 -0800 From: Michael Sierchio User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.8) Gecko/20020218 X-Accept-Language: en-us MIME-Version: 1.0 To: "Crist J. Clark" Cc: "David A. Koran" , freebsd-stable@FreeBSD.ORG Subject: Re: ifconfig aliases References: <20020227194112.E66092@blossom.cjclark.org> Content-Type: text/plain; charset=us-ascii; format=flowed 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 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? I'm not sure I buy the problem of "multiple routes" -- my experience is that outbound traffic is simply going to come from the interface (real or virtual) that is first in the table for a subnet. In some ways this is cleaner on Solaris, where the notion of creating a virtual if happens before ifconfig. One of the things that happens, which may cause difficulty without a 255.255.255.255 is the grat arp upon bringing up an interface. I've always accepted uncritically that this is simply the way it works, that the broadcast address for an alias on the same subnet as a previously configured addr must match the IP address, but the details are still a bit unclear. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message