IPv6 in practice lab 3 of 12
DHCPv6: stateless, stateful and prefix delegation
Run all three DHCPv6 services from one IOS router. Hand out DNS settings on a SLAAC LAN, lease addresses on a managed LAN to IOS, RouterOS and Linux, then delegate a /56 to a branch router that numbers its own LAN from it.
Run this lab
It needs Lite: its 6 nodes are set to 6 vCPU and 2,816 MB in total. That fits the free demo too.
In your workspace: Shared, then IPv6 in practice across vendors guided labs, then 03 - DHCPv6 - stateless stateful and prefix delegation
- Level
- Intermediate
- Time
- About 75 minutes
- Nodes need
- 6 vCPU, 2,816 MB
- Smallest plan
- Lite
The scenario
Kestrel Freight's staff LAN uses SLAAC, but laptops also need the DNS server. The server LAN needs addresses you can look up. A new branch needs a whole prefix of its own, without anyone touching the head-office router each time. All three jobs fall to DHCPv6 on R1.
| Segment | Prefix | Method | Devices |
|---|---|---|---|
| Staff LAN | 2001:db8:100:10::/64 | SLAAC + stateless DHCPv6 | R1 Gi0/0 ::1, R3 Gi0/0, H1 eth0 |
| Server LAN | 2001:db8:100:30::/64 | Stateful DHCPv6 | R1 Gi0/1 ::1, R3 Gi0/1, CHR1 ether1, H1 eth1 |
| Branch WAN | 2001:db8:100:ff::/64 | SLAAC | R1 Gi0/2 ::1, R2 Gi0/0 |
| Delegation pool | 2001:db8:200::/40 | /56 per branch | R2 gets one |
| DNS server | 2001:db8:100:20::53 | name kestrel.example |
| Device | Runs | How to log in |
|---|---|---|
| R1, R2, R3 | Cisco IOSv 15.9 | The console opens at >; enable has no password. |
| CHR1 | MikroTik RouterOS 7.14 | admin / Lab-admin1 |
| H1, H2 | Alpine Linux | root, no password. |
What you’ll practise
- Explain what DHCPv6 gives a host and what still comes from the RA
- Configure stateless DHCPv6 with the O flag, and read the options on IOS and Linux clients
- Configure stateful DHCPv6 with the M flag, and read the bindings on the server
- Lease addresses to IOS, RouterOS and Linux clients
- Delegate a prefix to a branch router and number its LAN from it
The tasks
- Start the Linux hosts
- Stateless DHCPv6
- Stateful DHCPv6
- Prefix delegation
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
Gi0/0to Staff (network) - R3
Gi0/0to Staff (network) - H1
eth0to Staff (network) - R1
Gi0/1to Servers (network) - R3
Gi0/1to Servers (network) - CHR1
ether1to Servers (network) - H1
eth1to Servers (network) - R1
Gi0/2to R2Gi0/0 - R2
Gi0/1to H2eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| R1 | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| R2 | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| R3 | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| CHR1 | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| H1 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| H2 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
IPv6 in practice across vendors guided labs.Open
03 - DHCPv6 - stateless stateful and prefix delegationand 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 IPv6 in practice labs
Related labs in other courses
CloudLabBox is independent of Cisco, CompTIA, Juniper Networks and MikroTik. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.