Slow DHCP/Connection to WiFi network on a VLAN when spanning tree is enabled

Dear all, I am having some slow initial connection issues with Mikrotik and think I have narrowed it down to spanning tree. A quick rundown of my setup:

I have two a CAP2N which is running two wireless networks (corp and guest).

I have created two VLANs GUEST_VLAN60 and CORP_VLAN61 for the wireless plus a MGMT_VLAN70 for management.

I set all VLANs under the ether1 interface. MGMT_VLAN is not set on any bridge and is assigned the ether1 and has the management IP address set (which I can access no issues).

I then bridge the GUEST_VLAN60 to a bridge called GUEST_BRIDGE and also add the WLAN-GUEST to the this bridge.

Similarly, for the corp I add both CORP_VLAN61 and WLAN-CORP to a bridge called CORP-BRIDGE.

Each CAP2N connects via ether1 to a HP2530 ProCurve switch which sends tagged frames on that port for the 3 VLANS: VLAN60 (guest), VLAN61 (corp), VLAN70 (management).

All works OK, and I can get DHCP etc. What I am seeing is when I connect to the network via WiFi, it takes 30 to 45 seconds before getting an ip address… this is with STP enabled.

If I disable STP and set to none for all the wireless bridges, then i am connected instantly and get an IP address straight away in less than a second (as opposed to 45 seconds).

I am using a HP 2530 series switch (which is using MSTP, and has the lowest priority), I have to use spanning tree mode STP otherwise the Mikrotiks go offline so presume is some compatibility issue there.

My questions are please:

  1. Is it bad to disable spanning tree on the WiFi bridges?

  2. Any alternative to disabling spanning tree?

  3. Is this a problem with my design of trunking VLANs to the access point, and are there other recommendations people have for a multi SSID setup with an up-link trunk to switch with VLAN for each SSID?

One thing I am seeing is the Mikrotiks are declaring themselves as the root bridge (running STP), the HP ProCurve 2530 running MSTP has the lowest priority but this is being ignored.

Anyone know please why is the spanning tree root not being assigned to the switch?

Keep in mind the priority value you enter in STP tab on the mikrotiks is Hex…

Many thanks, I believe the default Mikrotik is 0x8000, my HP2530 switch is 1 decimal (0x0001) with the lowest priority should be elected as the master?

Try 0x1000. Are you using STP or RSTP on the mikrotik?

I am using STP as with RSTP ports shutdown even though there is no loop seems to be a compatibility issue between the HP ProCurve and Mikrotik when using RSTP