Network Engineer

Case File: The Address Pool

Devices at a customer site get addresses that collide with the router, and a printer keeps moving. Repair the DHCP server's configuration: the pool, the router and DNS it hands out, how long a lease lasts, and fixed reservations for the printers. The details are generated for you alone.

45 min

Eko Metro Fibre · Services 1

The Address Pool

Staff are being knocked offline when a laptop takes the router's address, and the front-desk printer moves every few days

Ifeoma Field technician · Phone call

Ifeoma. I am on site and the customer is not happy. Twice this week the whole office lost the internet for a minute, and Dayo says it was because a laptop picked up the router’s own address. The front-desk printer also keeps changing its address, and every computer that prints to it stops working until someone types in the new one.

Dayo copied the DHCP file from a blog post. I have the file open on my phone and I cannot see what is wrong with it. Can you?

The brief

What you need to know first.

  • DHCP gives devices their network settings automatically in four steps, remembered as DORA: Discover, Offer, Request, Acknowledge. The settings it hands out include an address, the router, the DNS servers, a domain name and a lease time.
  • The server’s file (dhcpd.conf on the common ISC server) has a subnet block for each network: the network and mask, the range (the pool of addresses it may give away), and the options for that network. Every statement ends with a semicolon.
  • Anything that must keep a fixed address belongs outside the pool. A host block reserves an address for one device, matched by its MAC address: hardware ethernet <MAC>; and fixed-address <address>;.
  • A lease is a loan. default-lease-time and max-lease-time are in seconds. Short leases return addresses quickly; long ones ease the renewal traffic.
  • authoritative; tells the server it is the official DHCP server for the network, so it can correct a device that holds a wrong address.

Fix the file until every requirement is met. The checker reads statements, so spacing and order do not matter. The facts above the editor are this site’s; copy MAC addresses exactly.

The flag: when everything is met your change ticket reference appears. Submit it at the bottom of the page.

Preparing the server…

🔒 The debrief unlocks when you close the case. Finish the lab above.

Write the change note

Describe what was wrong with the DHCP file and what you changed: the pool and why it must stay clear of the reserved addresses, the router, DNS and lease settings, and the printer reservations. Say how you would test the file before restarting the server.

0 words

🧪 Want to practise this on your own computer? See how to set up your lab →

📝

Knowledge Check

1 of 3

Why should the DHCP pool NOT include the router's address or the addresses of printers and servers?

Report a problem

About: /lessons/case-the-address-pool