From owner-freebsd-stable Mon May 13 12:23:47 2002 Delivered-To: freebsd-stable@freebsd.org Received: from peitho.fxp.org (peitho.fxp.org [209.26.95.40]) by hub.freebsd.org (Postfix) with ESMTP id 2AA6A37B434 for ; Mon, 13 May 2002 12:23:26 -0700 (PDT) Received: by peitho.fxp.org (Postfix, from userid 1501) id 138811366F; Mon, 13 May 2002 15:23:25 -0400 (EDT) Date: Mon, 13 May 2002 15:23:24 -0400 From: Chris Faulhaber To: "Mike M." Cc: freebsd-stable@freebsd.org Subject: Re: 4.6-PRERELASE fxp alias woes Message-ID: <20020513192324.GA14323@peitho.fxp.org> Mail-Followup-To: Chris Faulhaber , "Mike M." , freebsd-stable@freebsd.org References: <5.1.0.14.2.20020513142059.03741410@127.0.0.1> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <5.1.0.14.2.20020513142059.03741410@127.0.0.1> User-Agent: Mutt/1.3.24i 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 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 13, 2002 at 03:20:12PM -0400, Mike M. wrote: > Greetings all, >=20 > I cvsup'd to the latest -stable last night (4.6-pr): >=20 > FreeBSD homer.wmis.net 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #3: Mon May = 13=20 > 12:22:11 EDT 2002 root@homer.wmis.net:/usr/obj/usr/src/sys/HOMER i386 >=20 > Much to my dismay, I rebooted after running mergemaster, and discovered= =20 > that none of > my IP aliases were in place. The console indicated a "ifconfig: ioctl=20 > (SIOCAIFADDR): File exists" > for every alias entry in my rc.conf. Keep in mind these aliases were=20 > working perfectly as-is > until the upgrade (from 4.4-STABLE 9/27/01). My first few rc.conf entrie= s: >=20 > network_interfaces=3D"fxp0 lo0" > ifconfig_fxp0=3D"inet 216.109.194.4 netmask 255.255.255.0" > ifconfig_fxp0_alias0=3D"inet 216.109.194.8 netmask 255.255.255.0" > ifconfig_fxp0_alias1=3D"inet 216.109.194.10 netmask 255.255.255.0" > ifconfig_fxp0_alias2=3D"inet 216.109.194.21 netmask 255.255.255.0" >=20 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. T= his is sometimes useful when changing network numbers, and one wis= hes to accept packets addressed to the old interface. If the addr= ess is on the same subnet as the first network address for this interface, a netmask of 0xffffffff has to be specified. --=20 Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) Comment: FreeBSD: The Power To Serve iD8DBQE84BKsObaG4P6BelARApGJAJ9eBwTT5TgCfKVd0/Ur1YNIFf+/mwCdFbyd 95XWYuvVlANIh5WNr2i63/4= =ytUx -----END PGP SIGNATURE----- --liOOAslEiF7prFVr-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message