MikroTik MTCRE lab 6 of 14
VLANs and QinQ across a provider network
Carry a customer's own VLANs between two sites across Fernvale's network without touching them: each provider edge wraps everything the customer sends in an 802.1ad service tag (S-VLAN 100), using an S-VLAN interface bridged to the customer port.
Run this lab
It needs Lite: its 6 nodes are set to 6 vCPU and 3,072 MB in total. That fits the free demo too.
In your workspace: Shared, then MikroTik MTCRE RouterOS v7 guided labs, then 06 - VLANs and QinQ across a provider network
- Level
- Advanced
- Time
- About 55 minutes
- Nodes need
- 6 vCPU, 3,072 MB
- Smallest plan
- Lite
The scenario
Harper Ltd has two offices and runs its own VLANs: 10 for PCs and 20 for managing its switches. It wants Fernvale to join the two sites "as if with one long cable", keeping its VLAN numbers, which clash with VLANs Fernvale already uses. The answer is QinQ: Fernvale's edge switches PE1 and PE2 put every Harper frame, already tagged by Harper, into Fernvale's service VLAN 100. Harper's switches CE1 and CE2 are already configured.
| Device | Port | Role |
|---|---|---|
| CE1 / CE2 | ether1 | Harper uplink, trunk: VLANs 10 and 20 tagged (802.1Q) |
| CE1 / CE2 | ether2 | Harper PC, access VLAN 10 |
| CE1 / CE2 | vlan20 | 192.168.20.1 / .2 (Harper management) |
| PE1 / PE2 | ether2 | Customer port, bridged with the S-VLAN |
| PE1 ↔ PE2 | ether1 | Provider core: S-VLAN interface s-vlan100 (802.1ad, VLAN 100) |
| PC-A / PC-B | eth0 | 192.168.10.11 / .12 |
What you’ll practise
- Explain C-tags (802.1Q), S-tags (802.1ad, EtherType 0x88a8) and why providers use QinQ
- Create an S-VLAN interface with use-service-tag=yes
- Bridge a customer port with an S-VLAN to build a transparent layer-2 service
- Carry two customer VLANs between sites in one service VLAN
- Read the host table to see where the provider learns customer MAC addresses
- Compare the S-VLAN interface method with bridge tag stacking on switch chips
The tasks
- Read the customer side
- Build PE1's QinQ service
- Mirror it on PE2
- Look at what the provider learns
- Know the alternatives (reading)
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.
Every link, as text
- CE1
ether1to PE1ether2 - PE1
ether1to PE2ether1 - PE2
ether2to CE2ether1 - CE1
ether2to PC-Aeth0 - CE2
ether2to PC-Beth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| PE1 | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| PE2 | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| CE1 | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| CE2 | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| PC-A | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
| PC-B | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
MikroTik MTCRE RouterOS v7 guided labs.Open
06 - VLANs and QinQ across a provider networkand 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 MTCRE 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.