Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 19:48:11 -0800
From:      Michael Sierchio <kudzu@tenebras.com>
To:        "Crist J. Clark" <cjc@FreeBSD.ORG>
Cc:        "David A. Koran" <dak@solo.net>, freebsd-stable@FreeBSD.ORG
Subject:   Re: ifconfig aliases
Message-ID:  <3C7DA87B.4070005@tenebras.com>
References:  <p05100300b8a2f3ad4026@[192.168.200.104]> <20020227194112.E66092@blossom.cjclark.org>

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




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