From owner-freebsd-bugs@FreeBSD.ORG Sat Jun 8 16:40:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EBE6CB14 for ; Sat, 8 Jun 2013 16:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D2A1B15F9 for ; Sat, 8 Jun 2013 16:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r58Ge082068795 for ; Sat, 8 Jun 2013 16:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r58Ge0Ti068794; Sat, 8 Jun 2013 16:40:00 GMT (envelope-from gnats) Resent-Date: Sat, 8 Jun 2013 16:40:00 GMT Resent-Message-Id: <201306081640.r58Ge0Ti068794@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tiago Daniel Jacobs Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8FDA6AD6 for ; Sat, 8 Jun 2013 16:35:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 6831715DD for ; Sat, 8 Jun 2013 16:35:06 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r58GZ59P074495 for ; Sat, 8 Jun 2013 16:35:05 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r58GZ5Xs074492; Sat, 8 Jun 2013 16:35:05 GMT (envelope-from nobody) Message-Id: <201306081635.r58GZ5Xs074492@oldred.freebsd.org> Date: Sat, 8 Jun 2013 16:35:05 GMT From: Tiago Daniel Jacobs To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/179429: STP enabled tap bridge X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jun 2013 16:40:01 -0000 >Number: 179429 >Category: misc >Synopsis: STP enabled tap bridge >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 08 16:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Tiago Daniel Jacobs >Release: 8.1-RELEASE-p13 >Organization: iMDT.com.br >Environment: FreeBSD ht2p7-router.ht2p.local 8.1-RELEASE-p13 FreeBSD 8.1-RELEASE-p13 #1: Fri Apr 12 10:58:43 EDT 2013 root@snapshots-8_1-amd64.builders.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8 amd64 >Description: Create two tap interfaces and include in a bridge. Enable STP on the interfaces. The TAP interfaces will be "role disabled state discarding". It avoid us to create redundant layer2 VPN using openvpn. >How-To-Repeat: ifconfig tap10 create ifconfig tap11 create ifconfig bridge1 create ifconfig bridge1 addm tap10 bridge1 addm tap11 ifconfig bridge1 bridge1: flags=8802 metric 0 mtu 1500 ether 02:3e:35:58:14:01 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0 member: tap11 flags=143 ifmaxaddr 0 port 15 priority 128 path cost 2000000 member: tap10 flags=143 ifmaxaddr 0 port 14 priority 128 path cost 2000000 ifconfig tap10 up ifconfig tap11 up ifconfig bridge1 stp tap10 ifconfig bridge1 stp tap11 ifconfig bridge1 bridge1: flags=8802 metric 0 mtu 1500 ether 02:3e:35:58:14:01 id 00:bd:12:22:00:01 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:bd:12:22:00:01 priority 32768 ifcost 0 port 0 member: tap11 flags=147 ifmaxaddr 0 port 15 priority 128 path cost 2000000 proto rstp role disabled state discarding member: tap10 flags=147 ifmaxaddr 0 port 14 priority 128 path cost 2000000 proto rstp role disabled state discarding >Fix: Not sure, but i found a discussion on the following link. http://unix.derkeiler.com/Mailing-Lists/FreeBSD/net/2008-09/msg00207.html >Release-Note: >Audit-Trail: >Unformatted: