Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2011 04:16:25 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        Alexander Pyhalov <alp@rsu.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Could /etc/rc.d/routing require bridge?
Message-ID:  <20110401091625.GB63248@lor.one-eyed-alien.net>
In-Reply-To: <4D8C8D91.2060002@rsu.ru>
References:  <4D8C8D91.2060002@rsu.ru>

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

--/NkBOFFp2J2Af1nK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Mar 25, 2011 at 03:41:53PM +0300, Alexander Pyhalov wrote:
> Hello.
> I'm just implementing the following network scheme on our freebsd hosts:
> 1) physical interface
> 2) for each vlanN on physical interface I create bridgeN and connect=20
> interface to the bridge
> 3) for each vnet jail which need access to vlanN I create epair and=20
> connect it to bridgeN
> 4) for real host I use the same scheme: I create epair and connect it to=
=20
> the bridge with necessary vlan.
>=20
> I have the following problem: routing is started before bridge creation,=
=20
> so in default configuration host is inaccessible.
> If I modify /etc/rc.d/routing script so that it requires bridge,=20
> everything is fine (I can reach my host).
> So what is a reason for /etc/rc.d/routing to miss dependency on bridge?

It makes sense to me that routing woul depend on bridge.  After all, it
doesn't make much sense to configure routing until you have all your
interfaces.

-- Brooks

--/NkBOFFp2J2Af1nK
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iD8DBQFNlZfoXY6L6fI4GtQRAjqaAKDKbIlckm/GGMoMn3s4hP4cvg0udACgu954
nRwqkjDPdfKE7EoM/lGr6NQ=
=3whP
-----END PGP SIGNATURE-----

--/NkBOFFp2J2Af1nK--



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