i need your help to choose if we need to use bridge or not to configure Mikrotik routeur for serving multiple VLAN to SWITCH and Access Point
routeur : Mikrotik CCR1036-8G-2S+EM
SWITCH1 : HP J9660A
Acess point WLAN : Ubiquiti Unifi AP AC LR
this is our network topology : mikrotik-bridge.pdf (87.8 KB)
could you please tell me if i need to configure on mikrotik routeur ether5 bridge ? with bridge :
I don’t see the need for that bridge in the CCR1036 in this scenario. The need for a bridge would depend on the further uplink of VLAN40 and VLAN50. If the VLAN’s have their endpoint in the CCR1036 then there is no need for a bridge. You would use a bridge if you needed VLAN filtering at L2 in the CCR1036 to lead the VLAN40/50 to other ports, tagged or untagged. I see none of these requirements in this scenario.
As @bpw already mentioned, if your use scenario (with regards to CCR) is exactly as shown in network topology, then it would be slightly more resource-efficient to go without bridge.
However, if you do choose bridge solution, then config you showed is missing quite a few important settings, such as setting of vlan-filtering=yes on bridge-trunk and all settings under /interface bridge vlan. In addition, VLAN-aware variant of xSTP is MSTP. The config which goes under /interface bridge should look something like this:
You could merge the two /iterface bridge vlan commands into one (setting vlan-ids=40,50), but for readability reasons I showed it as two lines. If there was another port in the game (which would actually be the reason to go with bridge setup in the first place) and that port would not carry the same VLANs as ether5, then you’d have to use separate config lines anyway. I don’t think there’s any difference between using single- or multi- line config performance-wise.
Thank you very much @bpwl & @mkx for you great answers.
i need to show you the network topology to have a big picture of our network
as you can see on this picture , we have another dedicated switchUBIQUITI US-16-XG for VMware ESXi servers with 3 Vlans :
VLAN 40
VLAN 50
VLAN 17
mikrotik-HP-Ubiquiti.pdf (110 KB)
VLAN 17 is created only on dedicated switchUBIQUITI US-16-XG because it is a separate VLAN for VMware Management VMkernel adapter
Thanks for your advises : i add it on my new config bellow :