LRL wrote:As I understand BPDU packets, the switch/bridge sends them out all interfaces as multicast and if they're received on another interface it knows there is a loop and blocks one port according to cost and priority. Inside that BPDU frame is information that RSTP switches share or pass on to their neighbors to each other such as switch and port priority which is used by all the switches involved to determine how to converge in the event of a loop of path failure in about 2 seconds.
I may be wrong, it's been 14 years since I learned about this and the mind tends to disappoint me sometimes. Anyways, that was the logic I approached this with.
BPDU frames/packets are sent out every port that R/STP is configured on with their unique switch port interface mac address but they are destined to
01:80:C2:00:00:00 which when received by an adjoining switch are not passed through anywhere.
The BPDU frame contains information about the R/STP configuration and is used to determine if port(s) need to be set to discarding to prevent a loop or set some ports to forwarding to recover and converge from a path failure. R/STP does path convergence similar to higher level routing protocols.
Sending packets out one port and looking for them on another port is how loop protection works which is totally different. Loop Protetion is a SIMPLE non-intelligent Boolean type solution where as R/STP makes decisions based on metrics such as priorities or costs if expanding from RSTP to MSTP.
With RSTP when multiple switches are involved they sort of communicate and decide which ports to set to discarding based on priority values set on switches and ports.
The fact that you have 2 RTSP configured switches and a dumb switch in the middle complicates issues and as I stated earlier is more like an MSTP LAB than a simple RSTP fail-over
And as I stated earlier if used as a simple fail-over for wireless links with an RSTP switch at both ends or just a SINGLE RSTP switch on one end and no dumb switch in the middle it would work fine.
The LAB you set up where as it does show a bug on our part is not an accurate LAB as to what your intended use would be and it would work just fine as you intend to use it but not in the configuration you set up which I want to stress again is not a "typical" WISP deployment for a fail over link between towers. Change out that 3rd switch with a HUB which more accurately represents a wireless BRIDGE and it works fine! Switches handle special packets like BPDU differently than HUB's or Transparent wireless Ethernet Bridges.
HOWEVER with that said again I do consed that your lab setup does indeed show a software bug that should not be and we will correct it as soon as possible but in a simple link fail-over it will work just fine as intended.