enabling if_bridge STP
silver.salonen at gmail.com
Thu Dec 6 00:17:37 PST 2007
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
* 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
But after doing so, all the interfaces just stay disabled, a'la:
bridge0: flags=28143<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,PPROMISC> mtu
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?
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.
More information about the freebsd-questions