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

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 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.

SegmentPrefixMethodDevices
Staff LAN2001:db8:100:10::/64SLAAC + stateless DHCPv6R1 Gi0/0 ::1, R3 Gi0/0, H1 eth0
Server LAN2001:db8:100:30::/64Stateful DHCPv6R1 Gi0/1 ::1, R3 Gi0/1, CHR1 ether1, H1 eth1
Branch WAN2001:db8:100:ff::/64SLAACR1 Gi0/2 ::1, R2 Gi0/0
Delegation pool2001:db8:200::/40/56 per branchR2 gets one
DNS server2001:db8:100:20::53name kestrel.example
DeviceRunsHow to log in
R1, R2, R3Cisco IOSv 15.9The console opens at >; enable has no password.
CHR1MikroTik RouterOS 7.14admin / Lab-admin1
H1, H2Alpine Linuxroot, 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

  1. Start the Linux hosts
  2. Stateless DHCPv6
  3. Stateful DHCPv6
  4. 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.

Topology of DHCPv6 - stateless stateful and prefix delegation6 nodes and 2 networks, 9 links. Every link is listed as text below the diagram.R1R2R3CHR1H1H2StaffServersGi0/0Gi0/1Gi0/1ether1Gi0/2Gi0/0Gi0/1eth0Gi0/0eth0eth1
6 nodes and 2 networks, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in DHCPv6: stateless, stateful and prefix delegation, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
R1Cisco IOSvvios-adventerprisek9-m.spa.159-3.m91 vCPU, 512 MB
R2Cisco IOSvvios-adventerprisek9-m.spa.159-3.m91 vCPU, 512 MB
R3Cisco IOSvvios-adventerprisek9-m.spa.159-3.m91 vCPU, 512 MB
CHR1MikroTik RouterOSmikrotik-7.14.21 vCPU, 256 MB
H1Alpine Linuxclbalpinebase-alpine-base-3-20-31 vCPU, 512 MB
H2Alpine Linuxclbalpinebase-alpine-base-3-20-31 vCPU, 512 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 IPv6 in practice across vendors guided labs.

  3. Open 03 - DHCPv6 - stateless stateful and prefix delegation 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 IPv6 in practice labs

All 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.