Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2006 11:14:51 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Todor Dragnev <todor.dragnev@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: bridge.ko, sysctrl.conf and ifconfig_XXX_name, SCSI as a boot device
Message-ID:  <20060619181451.GC4027@odin.ac.hmc.edu>
In-Reply-To: <200606191738.43641.todor.dragnev@gmail.com>
References:  <200606191738.43641.todor.dragnev@gmail.com>

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

--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--



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