Introducing DHCPv6 Prefix Delegation

April 25, 2024

Introducing DHCPv6 Prefix Delegation
Designed by Freepik

By Tom Coffeen, IPv6 Consultant and Co-Founder @ www.hexabuild.io

Let’s begin with the most basic definition of DHCPv6 Prefix Delegation: It’s a function of the overall DHCPv6 protocol that allows a DHCPv6 client to request and receive an entire IPv6 prefix (rather than just one IPv6 address) from a DHCPv6 server.

This mechanism may not be as familiar as the much more typical operational scenario where DHCPv6 (and/or IPv4 DHCP) provides a single address to a requesting client device such as a laptop or smartphone, enabling network access for that device.

By comparison, the original definition of prefix delegation from RFC 3633: IPv6 Prefix Options for Dynamic Host Configuration Protocol (DHCP) version 6 describes a mechanism “intended for simple delegation of prefixes from a delegating router [DHCPv6 server] to requesting routers [DHCPv6 clients]” that “would be used by a service provider to assign a prefix to a Customer Premise Equipment (CPE) [ONT/ONU] device acting as a router between the subscriber’s internal network and the service provider’s core network.” (Note that the original DHCPv6 specification has been updated in RFC 8415: Dynamic Host Configuration Protocol for IPv6 (DHCPv6)

(Free access, no subscription required)

Before we look at an example of this mechanism, let’s consider what this same configuration looks like using IPv4:

An ONT/ONU device (e.g., a CPE/cable modem that includes a router and perhaps a wireless AP) comes online and requests, via DHCP from the upstream ISP router, a publicly routable IPv4 address to assign to its ISP router/Internet facing interface. Meanwhile, the CPE’s own internal interface is preconfigured with a private (i.e., RFC1918) network (such as 192.168.1.0/24). A DHCP server runs on the CPE to assign individual addresses to requesting home network end-users. Because private addresses are a shared resource and not globally routable, the CPE router must also perform IPv4 Network Address Translation (NAT44) to enable home network end-users to reach the Internet.

Now let’s take a look at the IPv6 configuration:

The views expressed by the authors of this blog are their own and do not necessarily reflect the views of LACNIC.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments