MikroTik MTCRE lab 2 of 14
Recursive next hops, scope and dual-ISP fail-over
Build dual-ISP fail-over that notices an outage beyond the provider's first router: pin a probe host to each provider, make the default routes recursive through those hosts with scope and target-scope, check them with ping, and stop the probes leaking through the other provider.
Run this lab
It needs Lite: its 5 nodes are set to 5 vCPU and 2,048 MB in total. That fits the free demo too.
In your workspace: Shared, then MikroTik MTCRE RouterOS v7 guided labs, then 02 - Recursive next hops scope and dual-ISP fail-over
- Level
- Advanced
- Time
- About 60 minutes
- Nodes need
- 5 vCPU, 2,048 MB
- Smallest plan
- Lite
The scenario
An insurance broker pays for two Internet lines from different providers. Last month ISP1's own upstream failed: ISP1's router kept answering, so the broker's router never switched to ISP2 and the office was offline for three hours. You'll build fail-over that tests the path through each provider to the Internet, not just the provider's first router.
| Device | Interface | Address |
|---|---|---|
| GW | ether1 (WAN1) · ether2 (WAN2) · ether3 (LAN) | 203.0.113.2/30 · 198.51.100.2/30 · 192.168.1.1/24 |
| ISP1 | ether1 · ether2 (upstream) | 203.0.113.1/30 · 10.1.0.1/30 |
| ISP2 | ether1 · ether2 (upstream) | 198.51.100.1/30 · 10.2.0.1/30 |
| Core (the Internet) | internet loopback | web 192.0.2.10; probe targets 192.0.2.101 and 192.0.2.102 |
| PC1 | eth0 | 192.168.1.10/24, gateway .1 |
What you’ll practise
- Explain scope and target-scope and how RouterOS resolves a gateway
- Build host routes that pin a monitoring address to one provider
- Build recursive default routes with target-scope and check-gateway
- Show why check-gateway on the first hop alone misses upstream failures
- Prevent probe leaks with blackhole routes, and NAT out of two WANs
The tasks
- Understand scope and target-scope
- Pin a probe target to each provider
- Build recursive default routes
- NAT out of both providers
- Fail ISP1's upstream
- Stop the probes leaking through the other provider
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
- GW
ether1to ISP1ether1 - GW
ether2to ISP2ether1 - ISP1
ether2to Coreether1 - ISP2
ether2to Coreether2 - GW
ether3to PC1eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| ISP1 | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| ISP2 | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| Core | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| GW | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| PC1 | 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
02 - Recursive next hops scope and dual-ISP fail-overand 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.