MikroTik MTCNA lab 14 of 19
Tunnels: IPIP, GRE and EoIP
Join two sites across the Internet three ways: an IPIP tunnel and a GRE tunnel with keepalive carrying routed traffic (with automatic fail-over between them), and an EoIP tunnel that stretches the head-office LAN to a shop at layer 2, encrypted with IPsec.
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 14 - Tunnels - IPIP GRE and EoIP
- Level
- Intermediate
- Time
- About 60 minutes
- Nodes need
- 6 vCPU, 3,840 MB
- Smallest plan
- Lite
The scenario
A bakery chain has head office (HQ) and a new Shop, each with ordinary broadband from different exchanges. The shop's PCs need to reach the HQ LAN, and the shop Till must sit on the HQ LAN itself (192.168.1.0/24), because the stock system only talks to devices on its own subnet. There is no NAT between the sites today: both routers have public addresses.
| Device | Interface | Address |
|---|---|---|
| HQ | ether1 (WAN) · bridge-lan (ether2) | 203.0.113.2/30 · 192.168.1.1/24 |
| Shop | ether1 (WAN) · ether2 (LAN) · ether3 | 198.51.100.2/30 · 192.168.2.1/24 · Till port (layer 2 only) |
| Tunnels | IPIP · GRE | 172.16.1.1/30 – .2 · 172.16.2.1/30 – .2 (HQ .1, Shop .2) |
| EoIP | tunnel ID 10 | no addresses: bridged into HQ's LAN |
| PC-HQ · PC-Shop · Till | eth0 | 192.168.1.10 · 192.168.2.10 · 192.168.1.30 (gateway 192.168.1.1) |
What you’ll practise
- Explain layer-3 tunnels (IPIP, GRE) and layer-2 tunnels (EoIP), and their overheads
- Build IPIP and GRE tunnels and route LANs through them
- Use GRE keepalive and route distance for automatic fail-over
- Bridge an EoIP tunnel to extend a LAN to another site
- Encrypt a tunnel with ipsec-secret and check the IPsec peers
The tasks
- Check the path the tunnels will use
- Build an IPIP tunnel
- Build a GRE tunnel with keepalive
- Route the LANs through the tunnels, GRE first
- Test the fail-over
- Stretch the HQ LAN to the shop with EoIP
- Encrypt the EoIP tunnel
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
- ISP
ether1to HQether1 - ISP
ether2to Shopether1 - HQ
ether2to PC-HQeth0 - Shop
ether2to PC-Shopeth0 - Shop
ether3to Tilleth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| ISP | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| HQ | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| Shop | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| PC-HQ | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
| PC-Shop | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
| Till | 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 MTCNA RouterOS v7 guided labs.Open
14 - Tunnels - IPIP GRE and EoIPand 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
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.