From owner-freebsd-rc@FreeBSD.ORG Fri Oct 28 18:06:37 2005 Return-Path: X-Original-To: rc@freebsd.org Delivered-To: freebsd-rc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BEDE16A41F for ; Fri, 28 Oct 2005 18:06:37 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F0D143D6B for ; Fri, 28 Oct 2005 18:06:29 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j9SI6OIS020676; Fri, 28 Oct 2005 11:06:24 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j9SI6OqZ020673; Fri, 28 Oct 2005 11:06:24 -0700 Date: Fri, 28 Oct 2005 11:06:24 -0700 From: Brooks Davis To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20051028180624.GB17096@odin.ac.hmc.edu> References: <86ll0d4mtk.fsf@xps.des.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mxv5cy4qt+RJ9ypb" Content-Disposition: inline In-Reply-To: <86ll0d4mtk.fsf@xps.des.no> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: rc@freebsd.org Subject: Re: ifconfig_foo0 syntax X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 18:06:37 -0000 --mxv5cy4qt+RJ9ypb Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 28, 2005 at 06:40:23PM +0200, Dag-Erling Sm=F8rgrav wrote: > I've been having trouble with a bridge interface. It seemed logical > to me to do >=20 > cloned_interfaces=3D"bridge0" > ifconfig_bridge0=3D"addm foo0 addm bar0 inet 10.0.0.1/24" >=20 > but ifconfig(8) does not accept "inet" after "addm". >=20 > (perhaps I should have put the inet bit at the front?) >=20 > In any case, I came up with a patch that allows me to do >=20 > ifconfig_bridge0=3D"addm foo0; addm bar0; inet 10.0.0.1/24" >=20 > which translates into three different ifconfig invocations. >=20 > there's probably a better / cleaner way to do this... In addition to Yar's comments, I'll be committing a patch from Philipp Wuensche which adds a new ipv4_addrs_ variable that you could use to set the IPv4 address even if the ordering issue wasn't resolvable. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --mxv5cy4qt+RJ9ypb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDYmifXY6L6fI4GtQRAv5NAKCF6z9Xzwt/F/AeaOv/3o2iC2FQUgCbBBQf 2rVBMl+hx7cQgsPTi65cZUI= =UcoF -----END PGP SIGNATURE----- --mxv5cy4qt+RJ9ypb--