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
- 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.)
| Segment | Network | Gateway | DHCP |
|---|---|---|---|
| HQ LAN (R1 GE0/0/1 – Client GE0/0/1) | 192.168.10.0/24 | 192.168.10.254 (R1) | interface pool on R1 |
| Branch LAN (R2 GE0/0/1 – Client GE0/0/2) | 192.168.20.0/24 | 192.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.
Every link, as text
- R1
GE0/0/0to R2GE0/0/0 - R1
GE0/0/1to ClientGE0/0/1 - R2
GE0/0/1to ClientGE0/0/2
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| R1 | Huawei AR1000V router | huaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn | 1 vCPU, 2,048 MB |
| R2 | Huawei AR1000V router | huaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn | 1 vCPU, 2,048 MB |
| Client | Huawei AR1000V router | huaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn | 1 vCPU, 2,048 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
HCIA-Datacom H12-811 guided labs.Open
12 - DHCP server with address pools and relayand 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
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.