MikroTik MTCSE lab 5 of 10
Layer 2 troubleshooting: a rogue DHCP server, DHCP snooping and bridge filters
Staff at Harbourside are getting 10.99.0.x addresses and can't reach anything. Find the rogue DHCP server plugged into the office switch, stop it with DHCP snooping and a bridge filter, and fix the real DHCP server, which a maintenance change had quietly broken. A troubleshooting lab with two planted faults.
Run this lab
It needs Lite: its 4 nodes are set to 4 vCPU and 1,024 MB in total. That fits the free demo too.
In your workspace: Shared, then MikroTik MTCSE RouterOS v7 guided labs, then 05 - Layer 2 troubleshooting - a rogue DHCP server DHCP snooping and bridge filters
- Level
- Advanced
- Time
- About 60 minutes
- Nodes need
- 4 vCPU, 1,024 MB
- Smallest plan
- Lite
The scenario
Monday morning at Fernvale Harbourside: staff PCs have addresses like 10.99.0.150 and can't reach anything. The office LAN is 192.168.40.0/24, served by GW's DHCP server through the office switch SW (a RouterOS router used as a switch, its ports bridged). Someone has plugged a home router into the meeting-room socket, and something else is wrong too. Find and fix both faults, and make sure a plugged-in DHCP server can never do this again.
| Device | Port | Notes |
|---|---|---|
| GW | ether1 → SW ether1 | 192.168.40.1/24, DHCP server staff (pool .100–.199) |
| SW | bridge office: ether1 (uplink), ether2 (desk 12), ether3 (meeting room) | no IP address |
| PC1 | ether1 → SW ether2 | DHCP client |
| ROGUE | ether1 → SW ether3 | 10.99.0.1, a DHCP server handing out 10.99.0.0/24 |
What you’ll practise
- Recognise a rogue DHCP lease from the client's point of view
- Find the port a rogue device is on with the bridge host table
- Use DHCP snooping with a trusted uplink so only the real server's answers reach clients
- Add a bridge filter that drops DHCP server traffic from access ports
- Explain DHCP starvation and the layer 2 tools that limit it
The tasks
- Look at the problem from the client
- Find the rogue's port, and the second fault
- Fix the real server
- DHCP snooping on the switch
- A bridge filter for defence in depth
- Get a good lease
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 SWether1 - SW
ether2to PC1ether1 - SW
ether3to ROGUEether1
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| GW | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| SW | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| PC1 | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| ROGUE | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
MikroTik MTCSE RouterOS v7 guided labs.Open
05 - Layer 2 troubleshooting - a rogue DHCP server DHCP snooping and bridge filtersand 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 MTCSE 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.