How to prevent WDS loop (WDS static)

Hi,
we have problem with WDS static loop.

Scenario is:
Site 1
xDSL switch – AP1–> <–>AP2

Site 2
swicth – AP3–> <–>AP4

AP1<–>AP2 is the main link and AP3<–>the backup.

If we enable all MT devices after a certain time network go down and appear anomalous traffic between devices (loop I believe).

Some ideas to prevent this?

AP1 (station WDS)
R name=“wlan1” mtu=1500 mac-address=XX:XX:XX:XX:XX:EE arp=enabled
interface-type=Atheros AR5413 mode=station-wds ssid=“mySSID”
frequency=5240 band=5ghz scan-list=default antenna-mode=ant-a
wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no
default-authentication=yes default-forwarding=yes default-ap-tx-limit=0
default-client-tx-limit=0 hide-ssid=no security-profile=mySecurity
compression=no
AP2 (AP Bridge)
R name=“wlan1” mtu=1500 mac-address=XX:XX:XX:XX:XX:0D arp=enabled
interface-type=Atheros AR5413 mode=ap-bridge ssid=“mySSID”
frequency=5240 band=5ghz scan-list=default antenna-mode=ant-a
wds-mode=static wds-default-bridge=bridge1 wds-ignore-ssid=no
default-authentication=yes default-forwarding=yes default-ap-tx-limit=0
default-client-tx-limit=0 hide-ssid=yes security-profile=mySecurity
compression=no
/interface wireless wds> pr
Flags: X - disabled, R - running, D - dynamic
R name=“wds1_AP1” mtu=1500 l2mtu=2290 mac-address=XX:XX:XX:XX:XX:0D
arp=enabled master-interface=wlan1 wds-address=XX:XX:XX:XX:XX:EE


AP4 (AP Bridge)
R name=“wlan1” mtu=1500 mac-address=XX:XX:XX:XX:XX:0B arp=enabled
interface-type=Atheros AR5413 mode=ap-bridge ssid=“mySSID”
frequency=5240 band=5ghz scan-list=default antenna-mode=ant-a
wds-mode=static wds-default-bridge=bridge1 wds-ignore-ssid=no
default-authentication=yes default-forwarding=yes default-ap-tx-limit=0
default-client-tx-limit=0 hide-ssid=yes security-profile=mySecurity
compression=no
/interface wireless wds> pr
Flags: X - disabled, R - running, D - dynamic
R name=“wds1_AP1” mtu=1500 l2mtu=2290 mac-address=XX:XX:XX:XX:XX:0B
arp=enabled master-interface=wlan1 wds-address=XX:XX:XX:XX:XX:EF

AP3 (station WDS)
R name=“wlan1” mtu=1500 mac-address=XX:XX:XX:XX:XX:EF arp=enabled
interface-type=Atheros AR5413 mode=station-wds ssid=“mySSID”
frequency=5240 band=5ghz scan-list=default antenna-mode=ant-a
wds-mode=disabled wds-default-bridge=none wds-ignore-ssid=no
default-authentication=yes default-forwarding=yes default-ap-tx-limit=0
default-client-tx-limit=0 hide-ssid=no security-profile=mySecurity
compression=no

Try enabling protocol-mode=rstp on all WDS bridges.

I have already tried the RSTP protocol but this creates a regular TCP packet loss every number of seconds so this makes it impossible to use certain services such as VoIP.

I do not think it’s a misconfiguration of my devices…

Cetalfio

ROS 5 have an issue with bridge it seems. WDS in bridge is unusable for me, where 4.17 works 100%
Hopefully 5.2 will fix this. 5.1 is sooo 5 minutes ago, we’re waiting in anticipation for 5.2 so we can upgrade hotspots with WDS to ROS5

As an alternative you can try: http://wiki.mikrotik.com/wiki/MPLSVPLS#Split_horizon_bridging

AP1<–>AP2 is the main link and AP3<–>the backup.

I will presume two things here.

  1. There are no typo errors.
  2. The use of “main” and “backup” links imply they are coming from and going to the same locations.

If those statements are not correct, ignore this.

The SSID and frequency on both APs are the same (mySSID and 5240). Would that not cause a connection problem? I could see how those station units could connect to the wrong AP, or at least make the attempt, depending on the security settings. That would explain traffic that would appear to be a loop. No?