MikroTik MTCINE lab 9 of 12
VRFs and route leaking
Host two tenants with identical addressing on one Fernvale data-centre router using VRFs, prove they can't see each other, then leak just the routes needed so one tenant reaches a shared backup service, and see why overlapping addresses limit leaking.
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 MTCINE RouterOS v7 guided labs, then 09 - VRFs and route leaking
- Level
- Advanced
- Time
- About 60 minutes
- Nodes need
- 6 vCPU, 3,072 MB
- Smallest plan
- Lite
The scenario
Fernvale has opened a small data centre. Its router DC-PE connects three networks:
- Oakridge Clinic (CE-A) and Brightwater School (CE-B), two tenants who were both given the same addressing by the same installer: link 172.16.1.0/30 and LAN 192.168.10.0/24, with a PC at 192.168.10.10 on each side.
- Fernvale's shared services network (SVC), with a backup server at 10.200.0.10.
The tenants must never see each other. Oakridge has bought the backup service; Brightwater hasn't. One routing table can't hold the same prefix twice for two different customers, so DC-PE needs VRFs. The CE routers and SVC are configured already (each has a default route towards DC-PE); you configure DC-PE.
| Network | DC-PE interface | DC-PE address | Far end |
|---|---|---|---|
| VRF-A (Oakridge) | ether1 | 172.16.1.1/30 | CE-A 172.16.1.2, LAN 192.168.10.0/24 |
| VRF-B (Brightwater) | ether2 | 172.16.1.1/30 | CE-B 172.16.1.2, LAN 192.168.10.0/24 |
| SERVICES | ether3 | 172.16.9.1/30 | SVC 172.16.9.2, servers 10.200.0.0/24 |
What you’ll practise
- Explain VRFs: separate routing tables, interfaces bound to a table, overlapping address space
- Create VRFs in RouterOS 7 with /ip vrf and route inside them
- Use ping and traceroute in a VRF
- Leak routes between VRFs with static routes and the gateway@vrf syntax
- Explain why overlapping customer addresses limit route leaking
The tasks
- Create the VRFs
- Route inside each VRF
- Prove the isolation
- Leak routes for Oakridge's backup service
- Think about the overlap
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
- CE-A
ether1to DC-PEether1 - CE-B
ether1to DC-PEether2 - DC-PE
ether3to SVCether1 - PC-A
eth0to CE-Aether2 - PC-B
eth0to CE-Bether2
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| DC-PE | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| CE-A | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| CE-B | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| SVC | 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 MTCINE RouterOS v7 guided labs.Open
09 - VRFs and route leakingand 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 MTCINE 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.