HCIA-Datacom lab 12 of 22

DHCP server with address pools and relay

Run DHCP on a Huawei router the two ways VRP offers: an interface address pool for a local LAN, with exclusions and a fixed reservation, and a global pool that serves a remote LAN through a DHCP relay agent. You follow DORA and the relay's giaddr from both ends.

Run this lab

It needs Lite: its 3 nodes are set to 3 vCPU and 6,144 MB in total. That fits the free demo too.

In your workspace: Shared, then HCIA-Datacom H12-811 guided labs, then 12 - DHCP server with address pools and relay

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 55 minutes
Nodes need
3 vCPU, 6,144 MB
Smallest plan
Lite

The scenario

Northwind wants its PCs addressed automatically, with one DHCP server at HQ (R1) serving both the HQ LAN and the branch LAN behind R2. To keep the lab light, one router called Client plays the PCs: its GE0/0/1 sits in the HQ LAN and its GE0/0/2 in the branch LAN, and each asks for an address with DHCP. (The exam's official lab guide also uses routers as DHCP clients.)

SegmentNetworkGatewayDHCP
HQ LAN (R1 GE0/0/1 – Client GE0/0/1)192.168.10.0/24192.168.10.254 (R1)interface pool on R1
Branch LAN (R2 GE0/0/1 – Client GE0/0/2)192.168.20.0/24192.168.20.254 (R2)global pool on R1, relay on R2
WAN (R1 – R2)10.0.12.0/30––

Requirements:

  • HQ: dynamic addresses .100 to .199 only (exclude .1–.99 and .201–.253), DNS 8.8.8.8, a 2-day lease. A stretch task reserves 192.168.10.200 for the Client.
  • Branch: exclude .1–.49, DNS 8.8.8.8, a 1-day lease.

What you’ll practise

  • Explain DORA, leases, and what options 3 (gateway) and 6 (DNS) give a client
  • Configure an interface address pool with exclusions, DNS, lease time and a static binding
  • Configure a global address pool and serve a remote subnet through a DHCP relay
  • Use display ip pool, display dhcp client and the relay counters to verify and troubleshoot

The tasks

  • Task 0: Load the starting configuration
  • Task 1: Interface pool for the HQ LAN
  • Task 2: Ask for an address
  • Concept: DHCP relay
  • Task 3: Global pool for the branch
  • Task 4: Relay on R2, then ask again
  • Task 5 (stretch): A fixed address for the Client

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 with address pools and relay3 nodes, 3 links. Every link is listed as text below the diagram.R1R2ClientGE0/0/1GE0/0/1GE0/0/1GE0/0/2GE0/0/0GE0/0/0
3 nodes, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in DHCP server with address pools and relay, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
R1Huawei AR1000V routerhuaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn1 vCPU, 2,048 MB
R2Huawei AR1000V routerhuaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn1 vCPU, 2,048 MB
ClientHuawei AR1000V routerhuaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn1 vCPU, 2,048 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 HCIA-Datacom H12-811 guided labs.

  3. Open 12 - DHCP server with address pools and relay 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 HCIA-Datacom labs

All HCIA-Datacom labs

Related labs in other courses

CloudLabBox is independent of Huawei. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.