Community discussions

MikroTik App
 
ik3umt
Member Candidate
Member Candidate
Topic Author
Posts: 295
Joined: Tue Jul 08, 2014 3:58 pm

need to assign vlan to a bridge

Thu Jul 15, 2021 11:43 pm

I have two bridges :

bridge1 (ether1 and ether2) for data
bridge2 (ether3 and ether4) for voice
NO vlans

I have to add a switch connected by a SINGLE ethernet cable and replicate distinct data and voice ethernet ports on it.

On switch side it can be easily done with untagged vlans ethernets facing devices and tagged vlans on the ethernet facing RB

How to assign instead a different vlan to each RB bridge ? simply enabling Vlan Filtering to each bridge ?

Thanks
 
biomesh
Long time Member
Long time Member
Posts: 561
Joined: Fri Feb 10, 2012 8:25 pm

Re: need to assign vlan to a bridge

Fri Jul 16, 2021 1:00 am

You should migrate from a dual bridge config to a single bridge config and configure the correct VLANs on the correct ports along with PVID, taggged and untagged status per port. Once done, you can enable vlan filtering on the bridge.

The link from the switch would just be for tagged packets and would have both VLANs configured on it. The other ports (1&2, 3&4) would be untagged for their respective matching VLAN on the switch. If you need to assign services for each VLAN - instead of using the bridge you would create two VLAN interfaces assigned to the one bridge and make the assignment to each VLAN interface (ip address, DHCP server, etc)
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11433
Joined: Thu Mar 03, 2016 10:23 pm

Re: need to assign vlan to a bridge

Fri Jul 16, 2021 7:59 am

You want to go through this tutorial to get more or less complete overview of how to configure VLANs properly.

Who is online

Users browsing this forum: Bing [Bot], gigabyte091 and 41 guests