VLAN trunking, etc, on Mikrotik hardware

Hi guys,

I am not new to networks (Cisco), but configing Mikrotik switching is becoming a pain
see topology

I would appreciate if anyone would post complete switching config for all 3 Mikrotik devices, for IP subnets pls use x.x.Z.x (Z=vlan id)

Many Thanks,
Tomas
mikrotik switching.jpg

For each VLAN that you want to appear on a RouterOS Ethernet interface make a VLAN interface (in interface menu) and assign it a name, VLAN ID and assign to the relevant physical Ethernet interface. The VLAN interface names have to be unique but the same VLAN ID can appear in multiple VLAN interfaces, so use VLAN interface names such as VLAN82-Eth2 for the sub interface for VLAN 82 on Eth2.

Once you have the VLAN interfaces created make a bridge for each VLAN - e.g. VLAN82-Br . Then add each relevant VLAN interface as a bridge port on its parent bridge. The bridges joins the various VLAN interfaces together.

If you want the equivalent of a Cisco access port then join a physical Ethernet port as a bridge port on the relevant VLAN bridge.

I recommend that you do not use the native VLAN on the trunk ports - for security reasons it should generally be assigned to an unused VLAN anyway.

Hey CelticComms,

man, if you know how to do it - pls drop config

I am getting tired of all this Mikrotik (though features are amazing)…
on cisco it would take me few minutes… probably I am not the first one…
I dont have much of time left, its becoming urgent

thanks a lot

Note that the way that RouterOS configures VLANs is similar to Cisco routers rather than Cisco switches - i.e. it uses sub-interfaces for the VLANs.

Hey CelticComms,

the point is - I need to have specified interfaces on the RB951G and RB750GL act as L2switch (in Cisco terms), with SVI on each RB on the VLAN-80

the role of each device is clearly shown in the topology
routing for 81,82,83,84 is done on a separate router (not shown)
routing for 80 is done on RB2011 (router on the stick)
gray = dot1q trunk
string = access port

if you know how to do it, and have a time and will, please drop at least one config

thanks a lot,
Tomas

any comments from Mikrotik staff ?

The article from the link describes VLAN implementation in RouterOS:
http://wiki.mikrotik.com/wiki/Vlans_on_Mikrotik_environment