From owner-freebsd-current@FreeBSD.ORG Fri Mar 25 12:54:08 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72406106564A for ; Fri, 25 Mar 2011 12:54:08 +0000 (UTC) (envelope-from alp@rsu.ru) Received: from mail.r61.net (mail.r61.net [195.208.245.249]) by mx1.freebsd.org (Postfix) with ESMTP id EBBB18FC20 for ; Fri, 25 Mar 2011 12:54:07 +0000 (UTC) Received: from pyhalov.cc.rsu.ru (pyhalov.cc.rsu.ru [195.208.252.128]) (authenticated bits=0) by mail.r61.net (8.14.4/8.14.4) with ESMTP id p2PCfrlc074674 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT) for ; Fri, 25 Mar 2011 15:41:53 +0300 (MSK) (envelope-from alp@rsu.ru) Message-ID: <4D8C8D91.2060002@rsu.ru> Date: Fri, 25 Mar 2011 15:41:53 +0300 From: Alexander Pyhalov User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110306 Thunderbird/3.1.8 MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Could /etc/rc.d/routing require bridge? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 12:54:08 -0000 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? -- Best regards, Alexander Pyhalov, system administrator of Computer Center of Southern Federal University