From owner-freebsd-stable@FreeBSD.ORG Mon Jun 19 18:14:52 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84AC516A508 for ; Mon, 19 Jun 2006 18:14:52 +0000 (UTC) (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 388DB43D45 for ; Mon, 19 Jun 2006 18:14:52 +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 k5JIEpbA020290; Mon, 19 Jun 2006 11:14:51 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k5JIEpin020287; Mon, 19 Jun 2006 11:14:51 -0700 Date: Mon, 19 Jun 2006 11:14:51 -0700 From: Brooks Davis To: Todor Dragnev Message-ID: <20060619181451.GC4027@odin.ac.hmc.edu> References: <200606191738.43641.todor.dragnev@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WplhKdTI2c8ulnbP" Content-Disposition: inline In-Reply-To: <200606191738.43641.todor.dragnev@gmail.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new Cc: freebsd-stable@freebsd.org Subject: Re: bridge.ko, sysctrl.conf and ifconfig_XXX_name, SCSI as a boot device X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 18:14:52 -0000 --WplhKdTI2c8ulnbP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 19, 2006 at 05:38:43PM +0300, Todor Dragnev wrote: > Hello list, > I have two minor problems: >=20 > First one:=20 >=20 > I want to make bridging on two of my interfaces but have problem when I u= se=20 > ifconfig_XXX_name directrive in rc.conf . After each restart of machine I= =20 > must enter manually commands for sysctrl to enable bridging. >=20 > After reboot dmesg shows: > interface net0 Not found in bridge > interface net2 Not found in bridge >=20 > /etc/rc.conf: > ifconfig_rl0_name=3D"net0" > ifconfig_rl1_name=3D"net1" > ifconfig_rl2_name=3D"net2" >=20 > /etc/sysctrl.conf: > net.link.ether.bridge.enable=3D1 > net.link.ether.bridge.config=3Dnet0,net2 /etc/sysctl.conf is processed really early in the startup process so the renaming hasn't happend yet. Using the origional names would work, but would be confusing. If you want the naming, I'd suggest switching to if_bridge which can be configured entierly using rc.conf variables. -- 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 --WplhKdTI2c8ulnbP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFElumaXY6L6fI4GtQRAokuAJ48Vmwl5wT9FjPnpUTVGPxlWLoPgQCglXof KkHGVLZPk7VNyw+lAneiXzs= =WkvY -----END PGP SIGNATURE----- --WplhKdTI2c8ulnbP--