Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 19:41:12 -0800
From:      "Crist J. Clark" <cjc@FreeBSD.ORG>
To:        "David A. Koran" <dak@solo.net>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: ifconfig aliases
Message-ID:  <20020227194112.E66092@blossom.cjclark.org>
In-Reply-To: <p05100300b8a2f3ad4026@[192.168.200.104]>; from dak@solo.net on Wed, Feb 27, 2002 at 03:51:04PM -0500
References:  <p05100300b8a2f3ad4026@[192.168.200.104]>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 27, 2002 at 03:51:04PM -0500, David A. Koran wrote:
> Did somebody make a change to the syntax of how the ifconfig aliases 
> (eg. "ifconfig_fxp0_alias1="inet some.ip.addr.ess netmask 
> some.net.mask.num") work? According to the old listings (and many 
> FreeBSD docs of the past) the netmask of the aliases in the past used 
> to be whatever your base netmask was. For example, this used to be 
> legal:
> 
> 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.

[snip]

> I apologize if this seems confusing, but I'm trying to track down 
> what exactly made the syntax change for aliases in this fashion.

I'm kind of curious, but it could be a lot of things. But then again,
it doesn't really matter, nothing is broken.
-- 
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?20020227194112.E66092>