Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 20:59:23 -0800
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        Michael Sierchio <kudzu@tenebras.com>
Cc:        "David A. Koran" <dak@solo.net>, freebsd-stable@FreeBSD.ORG
Subject:   Re: ifconfig aliases
Message-ID:  <20020227205923.F66092@blossom.cjclark.org>
In-Reply-To: <3C7DA87B.4070005@tenebras.com>; from kudzu@tenebras.com on Wed, Feb 27, 2002 at 07:48:11PM -0800
References:  <p05100300b8a2f3ad4026@[192.168.200.104]> <20020227194112.E66092@blossom.cjclark.org> <3C7DA87B.4070005@tenebras.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020227205923.F66092>