[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Re: STP and fully-connected mesh of bridges



Jean-Pierre Schwickerath schrieb:


You can set a "path cost" for each link and if stp is indeed working
it will find out by its own, that directly going from A to B is
cheaper than first travelling to C.


Check the brctl manpage:
brctl setpathcost <bridge> <port> <cost> sets the port cost of the
port <port> to <cost>. This is a dimensionless metric.


The problem then is, that all Traffic from A to C would then go over B ...


If you set the cost on each port on each host to 10, for example, then
the bridges will find out on their own that they can reach the hosts
directly. The cost from A to B will be 10 so as the cost from A to C
will be 10. And that the cost from A to C when going over B is 20 and
thus this link will not be used.

Are you sure that this would work? Normally STP selects only one path for all Layer2-traffic and disables the other link (just as it happend by the OP). If you want traffic to take the shortest path the OP should use a routed-vpn instead of a bridged-vpn.



____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-09/msg00046.html on line 197

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-09/msg00046.html on line 197