A dnsmasq DHCP server is running on the 192.168.10.0/24 subnet. The student's task is to switch the hosts to DHCP mode, obtain addresses from the pool, and verify connectivity.
The goal
Instead of manual configuration, hosts obtain addresses automatically from a DHCP server. The network runs dnsmasq, handing out addresses from 192.168.10.0/24. You'll switch both computers to DHCP mode and confirm they got addresses and can see each other.
IP plan
| Parameter | Value |
|---|---|
| Subnet | 192.168.10.0/24 |
| Gateway (from server) | 192.168.10.1 |
| Pool | 192.168.10.100 – 192.168.10.200 |
The exact addresses PC1 and PC2 receive aren't known in advance — the server assigns them.
How to open a node's console — in the guide.
Tasks
- On the PC1 console:
ip dhcp, thensave. On the PC2 console:ip dhcp, thensave. - Run
show ipon each, then ping PC2's address from PC1.
Completion criteria
- PC1 got an address from the
192.168.10.100-192.168.10.200pool, gateway192.168.10.1. - PC2 — same.
- Ping between PC1 and PC2 succeeds.
Validation
Launch the lab and click "Check" on the session page. When every step turns green — click "End" to free up the stand.