From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 08:17:37 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FEB016A418 for ; Thu, 6 Dec 2007 08:17:37 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id EA54413C459 for ; Thu, 6 Dec 2007 08:17:36 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1J0BvM-0004s1-GG for freebsd-questions@freebsd.org; Thu, 06 Dec 2007 00:17:36 -0800 Message-ID: <14188023.post@talk.nabble.com> Date: Thu, 6 Dec 2007 00:17:36 -0800 (PST) From: Atrox To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: silver.salonen@gmail.com Subject: enabling if_bridge STP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2007 08:17:37 -0000 Hello! I've just built myself a VPN-network for testing bridge STP. I installed 3 FreeBSD boxes (2 FreeBSD-6.2 and 1 FreeBSD-6.1) and connected all of them with OpenVPN with TAP-bridging: * 1st box is OpenVPN server only and has tap0 bridged with its inner interface (192.168.1.1). * 2nd box is OpenVPN client only and has tap0 and tap1 bridged with its inner interface (192.168.2.1). * 3rd box is both OpenVPN client and server and has also bridged tap0, tap1 and its inner interface (192.168.3.1). So now the question is on which interfaces should I enable STP in such setup? I tried enabling it on all interfaces (well, besides the external ones ;) like this: ===== ifconfig bridge0 create addm tap0 stp tap0 addm sk0 stp sk0 addm tap1 stp tap1 up ===== But after doing so, all the interfaces just stay disabled, a'la: ===== bridge0: flags=28143 mtu 1500 ether ac:de:48:46:d3:ef priority 32768 hellotime 2 fwddelay 15 maxage 20 member: tap0 flags=7 port 7 priority 128 path cost 55 disabled member: tap1 flags=7 port 9 priority 128 path cost 55 disabled member: sk0 flags=7 port 1 priority 128 path cost 55 disabled ===== Am I doing smth wrong? -- Silver -- View this message in context: http://www.nabble.com/enabling-if_bridge-STP-tf4954594.html#a14188023 Sent from the freebsd-questions mailing list archive at Nabble.com.