MikroTik MTCNA lab 4 of 19

DHCP server in depth and ARP

Run a working DHCP server like a professional: read and manage leases, hand out extra options, reserve an address for a printer, and use ARP reply-only so only devices that got their address from DHCP can use the network.

Run this lab

It needs Lite: its 4 nodes are set to 4 vCPU and 2,816 MB in total. That fits the free demo too.

In your workspace: Shared, then MikroTik MTCNA RouterOS v7 guided labs, then 04 - DHCP server in depth and ARP

Try it free for 30 minutesRun it on Lite from £3 a day

The free demo needs no card and no email. Every lab plan includes every guided lab.

Level
Intermediate
Time
About 50 minutes
Nodes need
4 vCPU, 2,816 MB
Smallest plan
Lite

The scenario

An accountancy office runs on the router from lab 3: one subnet, a DHCP server, two PCs and a network printer. Two things go wrong every week. The printer gets a new address after every power cut, so everyone's print jobs fail. And a visitor once plugged in a laptop with a hand-typed address that clashed with the server. The partners want the printer on a fixed address and only DHCP-registered devices on the LAN.

DeviceInterfaceAddressConnects to
GWbridge-lan (ether2)192.168.88.1/24, DHCP server dhcp-lanOffice LAN
PC1eth0DHCPOffice LAN
PC2eth0DHCP, later a hand-typed 192.168.88.99Office LAN
Printereth0DHCP, reserved 192.168.88.5; MAC 02:00:00:00:88:05 (on its label)Office LAN

What you’ll practise

  • Read the lease table and explain lease states
  • Add domain, NTP and custom options to a DHCP network
  • Create a static lease (reservation) for a device by MAC address
  • Read the ARP table and explain dynamic, complete and DHCP-added entries
  • Use add-arp and arp=reply-only to lock the LAN to DHCP clients

The tasks

  1. Read the lease table
  2. Hand out more options
  3. Reserve an address for the printer
  4. Read the ARP table
  5. Only DHCP clients may use the LAN

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.

Topology of DHCP server in depth and ARP4 nodes and 1 network, 4 links. Every link is listed as text below the diagram.GWPC1PC2PrinterOffice-LANether2eth0eth0eth0
4 nodes and 1 network, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in DHCP server in depth and ARP, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
GWMikroTik RouterOSmikrotik-7.14.21 vCPU, 256 MB
PC1VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PC2VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PrinterAlpine Linuxclbalpinebase-alpine-base-3-20-31 vCPU, 512 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder MikroTik MTCNA RouterOS v7 guided labs.

  3. Open 04 - DHCP server in depth and ARP and 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

All 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.