Re: Could /etc/rc.d/routing require bridge?

From: Brooks Davis <brooks_at_freebsd.org>
Date: Fri, 1 Apr 2011 04:16:25 -0500
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 
> interface to the bridge
> 3) for each vnet jail which need access to vlanN I create epair and 
> connect it to bridgeN
> 4) for real host I use the same scheme: I create epair and connect it to 
> the bridge with necessary vlan.
> 
> I have the following problem: routing is started before bridge creation, 
> so in default configuration host is inaccessible.
> If I modify /etc/rc.d/routing script so that it requires bridge, 
> 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

Received on Fri Apr 01 2011 - 14:49:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC