Page 1 of 1

Tagged and Untagged VLAN

Posted: Fri Feb 27, 2015 7:51 pm
by KBoris
Hi guys,

I use RB 951Ui 2HnD as regular wireless router but I see that can be used for much more than that. What I would like to do is, add 2 Tagged VLAN's to WAN port (VOIP and IPTV) and bridge them to two specific interface as Untagged. No changes with DATA on WAN interface which should stay Untagged and NAT-ed.

I believe there is somebody who already did this and can point me to the right way or show me how to do that. I know how to do that on Cisco and Extreme equipement but Mikrotik is new world for me.

Thank you in advance

For better understanding see scheme!
mikrotik_rb.png

Re: Tagged and Untagged VLAN

Posted: Fri Feb 27, 2015 8:46 pm
by ZeroByte
Create 2 bridges, e.g. VoIP and IPTV

Create two VLAN interfaces on WAN interface with the correct tags (you didn't specify so I'm going to use 10=voip and 20=iptv in my example)
New Interface -> Name=WAN.10, VLAN ID = 10, Interface=WAN
New Interface -> Name=WAN.20, VLAN ID = 20, Interface=WAN
(note that the name doesn't matter - it just helps you identify the vlan ID in the interface list when clicking drop-downs)

On the VoIP bridge, add two interfaces: WAN.10 and Ether4 (Be sure that Ether4 is not running slave to any other ports)
On the IPTV bridge, add two interfaces: WAN.20 and Ether5 (same for ether5)

That should do it, and will leave the existing IP configuration on WAN and ether2-3 untouched.

Re: Tagged and Untagged VLAN

Posted: Sat Feb 28, 2015 11:37 am
by KBoris
ZeroByte, thank you for your explanation.I will try this and inform you if everything work's fine.

Regards

Re: Tagged and Untagged VLAN

Posted: Sun Mar 01, 2015 11:37 am
by KBoris
@ZeroByte , thank you very much, It works like a charm ;-).

Best regards

Re: Tagged and Untagged VLAN

Posted: Wed Mar 04, 2015 7:58 pm
by ZeroByte
@ZeroByte , thank you very much, It works like a charm ;-).

Best regards
No problem. Glad it worked for you! :D

I was in the same boat - I could do it in my sleep with Cisco, but couldn't do the same in Mikrotik until I thought it through. After getting the right mindset for MT, it is easy too.