Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2007 00:17:36 -0800 (PST)
From:      Atrox <silver.salonen@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   enabling if_bridge STP
Message-ID:  <14188023.post@talk.nabble.com>

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

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<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,PPROMISC> mtu
1500
        ether ac:de:48:46:d3:ef
        priority 32768 hellotime 2 fwddelay 15 maxage 20
        member: tap0 flags=7<LEARNING,DISCOVER,STP>
                port 7 priority 128 path cost 55 disabled
        member: tap1 flags=7<LEARNING,DISCOVER,STP>
                port 9 priority 128 path cost 55 disabled
        member: sk0 flags=7<LEARNING,DISCOVER,STP>
                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.




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