MikroTik MTCNA lab 7 of 19

VLANs with bridge VLAN filtering

Split one switched network into staff, guest and management VLANs the RouterOS 7 way: one bridge per switch, access and trunk ports with PVID and frame types, the bridge VLAN table, VLAN filtering switched on last, and a router-on-a-stick for routing between VLANs.

Run this lab

It needs Lite: its 6 nodes are set to 6 vCPU and 3,840 MB in total. That fits the free demo too.

In your workspace: Shared, then MikroTik MTCNA RouterOS v7 guided labs, then 07 - VLANs with bridge VLAN filtering

Try it free for 30 minutesRun it on Lite from £3 a day

The free demo needs no card and no email. Every lab plan includes every guided lab.

Level
Intermediate
Time
About 60 minutes
Nodes need
6 vCPU, 3,840 MB
Smallest plan
Lite

The scenario

A small hotel has staff PCs and a guest network on the same switches. Today everything is one flat network, so a guest can see the reception PC. You will split it into three VLANs: 10 Staff, 20 Guest and 99 Management for the switches themselves. GW routes between them (the guest firewall comes in lab 10).

DevicePortModeVLANs
SW1ether1 → GWtrunk10, 20, 99 tagged
SW1ether2 → SW2trunk10, 20, 99 tagged
SW1ether3 → Staff1access10 untagged
SW1ether4 → Guest1access20 untagged
SW2ether1 → SW1trunk10, 20, 99 tagged
SW2ether2 → Staff2access10 untagged
GWether2 → SW1trunkVLAN interfaces 10, 20, 99
InterfaceAddress
GW vlan10 / vlan20 / vlan99192.168.10.1/24 · 192.168.20.1/24 · 192.168.99.1/24
SW1 / SW2 management (VLAN 99)192.168.99.2/24 · 192.168.99.3/24, gateway 192.168.99.1
Staff1 · Guest1 · Staff2192.168.10.11 · 192.168.20.11 · 192.168.10.12 (already set)

What you’ll practise

  • Explain 802.1Q tagging, access ports, trunk ports and the PVID
  • Configure bridge ports with pvid, frame-types and ingress filtering
  • Build the bridge VLAN table, including the bridge itself for management
  • Enable vlan-filtering safely, last
  • Give a switch a management address in its own VLAN
  • Route between VLANs with VLAN interfaces on a router

The tasks

  1. Plan the ports
  2. Build SW1's bridge and ports (filtering still off)
  3. Fill SW1's VLAN table and give it a management address
  4. Switch on VLAN filtering on SW1
  5. Do the same on SW2
  6. Route between the VLANs on GW (router on a stick)
  7. Look at VLAN-aware MAC learning

The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.

Topology and devices

The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.

Topology of VLANs with bridge VLAN filtering6 nodes, 5 links. Every link is listed as text below the diagram.GWSW1SW2Staff1Guest1Staff2ether3eth0ether4eth0ether2eth0ether2ether1ether2ether1
6 nodes, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in VLANs with bridge VLAN filtering, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
GWMikroTik RouterOSmikrotik-7.14.21 vCPU, 256 MB
SW1MikroTik RouterOSmikrotik-7.14.21 vCPU, 256 MB
SW2MikroTik RouterOSmikrotik-7.14.21 vCPU, 256 MB
Staff1VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
Guest1VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
Staff2VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder MikroTik MTCNA RouterOS v7 guided labs.

  3. Open 07 - VLANs with bridge VLAN filtering and start its nodes, then open Lab Tasks for the scenario and the steps.

The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.

More MikroTik MTCNA labs

All MikroTik MTCNA labs

Related labs in other courses

CloudLabBox is independent of MikroTik. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.