I’m having trouble implementing multiple vlans from Mikrotik router thru a UniFi Switch (USW). I’m used multiple vlans with Mikrotik routers & AirMax equipment, or thru ToughSwitches with success before, but this is my first time using a USW.
Everything works as it should until I try to add a “Corporate” subnet with tagged & untagged ports on the Mikrotik. (see diagram below) As soon as I put the “Corporate” vlan into a bridge on the Mikrotik I lose contact with the UniFi Switch & UAPs behind it, and all traffic thru the UniFi Switch & UAPs stop as well.
Mikrotik CCR1009-1S-1S+ with v6.32.2
UniFi Switch 48 POE-500W with v184.108.40.20624
UniFi Controller v4.7.5 (hosted at my office; L3 adoption for all UniFi devices)
The Mikrotik port (Eth6), which goes to the USW, has 6 tagged vlans and “Management” subnet untagged. The USW has “All” networks/vlans on Port 1 (the link to the Mikrotik). Then the ports for the UAP have one of the following:
• “HotelGuest” vlan tagged with “Management” untagged
• one of the “Conference” vlans tagged with “Management” untagged
• “HotelGuest” vlan tagged & the “Corporate” vlan tagged with “Management” untagged
• There are a couple USW ports that are access ports (untagged) for one of the “Conference” vlans without UAPs.
The UAPs are using the corresponding vlan tag for whichever SSID(s) they are broadcasting.
Another port from the Mikrotik goes to a ToughSwitch 8-port with a similar setup. (see diagram)
In the Mikrotik:
Eth1 – Eth3 are in “Bridge-Corp”
Eth5 – has vlans listed on diagram / in “Bridge-Management”
Eth6 – has vlans listed on diagram / in “Bridge-Management”
When I’ve have it setup just like this it works. But when I try to create some access ports (untagged) on the Mikrotik itself everything in the USW stops working. But everything coming off the ToughSwitch continues to work.
To create access port on the Mikrotik I add vlan260-Corporate to the “Bridge-Corp”. Then it’s like a loop is created? Or having the vlan in the bridge floods Eth6 with broadcast traffic?
I can make this setup work in the lab with a different model Mikrotik and a ToughSwitch, so I’m trying to figure out if it’s a Mikrotik issue or USW issue. I have a feeling it’s a USW issue.
Any thoughts or insights? I have also posted this on the Ubiquiti forum.