Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2002 15:23:24 -0400
From:      Chris Faulhaber <jedgar@fxp.org>
To:        "Mike M." <mikem@wmis.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 4.6-PRERELASE fxp alias woes
Message-ID:  <20020513192324.GA14323@peitho.fxp.org>
In-Reply-To: <5.1.0.14.2.20020513142059.03741410@127.0.0.1>
References:  <5.1.0.14.2.20020513142059.03741410@127.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, May 13, 2002 at 03:20:12PM -0400, Mike M. wrote:
> Greetings all,
> 
> I cvsup'd to the latest -stable last night (4.6-pr):
> 
> FreeBSD homer.wmis.net 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #3: Mon May 13 
> 12:22:11 EDT 2002     root@homer.wmis.net:/usr/obj/usr/src/sys/HOMER  i386
> 
> Much to my dismay, I rebooted after running mergemaster, and discovered 
> that none of
> my IP aliases were in place.  The console indicated a "ifconfig: ioctl 
> (SIOCAIFADDR): File exists"
> for every alias entry in my rc.conf.  Keep in mind these aliases were 
> working perfectly as-is
> until the upgrade (from 4.4-STABLE 9/27/01).  My first few rc.conf entries:
> 
> network_interfaces="fxp0 lo0"
> ifconfig_fxp0="inet 216.109.194.4 netmask 255.255.255.0"
> ifconfig_fxp0_alias0="inet 216.109.194.8 netmask 255.255.255.0"
> ifconfig_fxp0_alias1="inet 216.109.194.10 netmask 255.255.255.0"
> ifconfig_fxp0_alias2="inet 216.109.194.21 netmask 255.255.255.0"
> 

Proper alias netmasks are now enforced.  See the ifconfig(8)
man page for the proper format:

     alias   Establish an additional network address for this interface.  This
             is sometimes useful when changing network numbers, and one wishes
             to accept packets addressed to the old interface.  If the address
             is on the same subnet as the first network address for this
             interface, a netmask of 0xffffffff has to be specified.

-- 
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
Comment: FreeBSD: The Power To Serve

iD8DBQE84BKsObaG4P6BelARApGJAJ9eBwTT5TgCfKVd0/Ur1YNIFf+/mwCdFbyd
95XWYuvVlANIh5WNr2i63/4=
=ytUx
-----END PGP SIGNATURE-----

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