Community discussions

MikroTik App
 
OKNET
Member
Member
Topic Author
Posts: 405
Joined: Mon Jun 22, 2015 9:22 am

Bridge as tagged port in bridge

Mon Jun 09, 2025 10:29 am

WHEN and WHY one should add the bridge ITSELF as tagged interface in bridge-vlan configuration ?
I'm using a CRS354 as basic L2 switch with bridge vlan filtering
The only L3 thing is the management IP address of the dedicated Vlan
 
melectronics
just joined
Posts: 24
Joined: Fri Oct 06, 2023 7:43 pm
Location: Germany

Re: Bridge as tagged port in bridge

Mon Jun 09, 2025 10:38 am

Hello,

It is used for L3 Hw. Offloading and when you want to have a tagged VLAN interface on the switch with the management IP
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13812
Joined: Thu Mar 03, 2016 10:23 pm

Re: Bridge as tagged port in bridge

Mon Jun 09, 2025 11:50 am

More generally: bridge port is a CPU-facing port created automatically with every bridge ... and it functions the same way as the rest of bridge ports. It's special because it's created and added implicitly and carries the same name as bridge switch-like entity, again named with same name as the switch-like entity. The third entity, created automatically, is CPU bridge-facing interface. So: whenever device (which has the bridge configured) needs to interact with certain VLAN on L3 (IP layer), then bridge port has to become member of that VLAN. It could either be untagged (in which case all L3 setup goes directly on bridge interface - bridge-facing CPU interface). Or it could be tagged in which case one has to create VLAN interface (with corresponding VLAN ID set) and anchored to bridge interface.

The above principle holds both for in-band management VLAN (in which case it might make sense to make bridge port untagged member of management VLAN) and when device is actually routing ... in which case bridge port will have to be tagged (ideally for all VLANs, might be for all but one VLAN) and corresponding number of VLAN interfaces has to be created and configured. In case of routing it conceptually doesn't matter if routing is done by CPU or if it's offloaded to switch chip (L3HW offloading).

If bridge CPU-facing port is not made member of a VLAN, then CPU doesn't have access to that VLAN (it'll be passed between member ports).
 
OKNET
Member
Member
Topic Author
Posts: 405
Joined: Mon Jun 22, 2015 9:22 am

Re: Bridge as tagged port in bridge

Tue Jun 10, 2025 12:45 pm

Thank you for explanation !