Use it when DHCPv6 clients and the server are in different subnets, or clients get no reply.
DHCPv6 Relay
A DHCPv6 relay (ipv6 dhcp relay destination on IOS) forwards client messages from the client's link to a DHCPv6 server on another network, adding the interface context so the server picks the right pool.
1. DHCPv6 relay forwards client messages (ff02::1:2) to servers.
2. Configure on the client-facing interface.
3. Relay adds interface-id/link info.
4. Server needs a route back.
5. Check server logs for relayed requests.
client solicit → relay → server → reply via relay
Context & applicabilityCommon mistakes · platform/version boundaries
- Server lacks a route back to the relay's link address.
- Firewall blocking UDP 546/547 between relay and server.
- Relay on the wrong interface or missing on some VLANs.
- Server pools not matching the link-address of the relay.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification & troubleshooting Narrow the fault
1. Capture RA prefix, A/M/O flags and lifetime.
2. Verify host address construction and DAD.
4. Check DNS and default route.
5. Confirm renewal and relay behavior.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- RA supplies prefix and default-router information
- M/O flags signal DHCPv6 expectations but do not themselves lease data
- Stateless DHCPv6 supplies options; stateful DHCPv6 can lease addresses
- DHCPv6 does not supply the default gateway
- DUID/IAID, relay context, lifetimes, privacy addresses and DAD affect observed state.
show ipv6 dhcp interface— relay destinationshow running-config interface <interface>— ipv6 dhcp relay destination <server>
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
DHCPv6 relay: forwarding client requests to a central server
DHCPv6 clients send to FF02::1:2, a link-scoped multicast group, so the server must be on the link or reached through a relay. RFC 8415 defines the Relay-forward (type 12) and Relay-reply (type 13) messages. The relay wraps the client's message and adds two addresses:
| Field | Meaning (RFC 8415) |
|---|---|
| link-address | Identifies the client's link for the server; typically a global or unique local address of the relay's interface |
| peer-address | The address of the client (or downstream relay) that sent the message |
Relay messages must include a Relay Message option and may include an Interface-Id option.
R1(config)# interface Vlan20
R1(config-if)# ipv6 address 2001:db8:20::1/64
R1(config-if)# ipv6 nd managed-config-flag
R1(config-if)# ipv6 nd prefix 2001:db8:20::/64 no-autoconfig
R1(config-if)# ipv6 dhcp relay destination 2001:db8:50::547
R1# show ipv6 dhcp interface Vlan20
Vlan20 is in relay mode
Relay destinations:
2001:DB8:50::547
R1# debug ipv6 dhcp relay
IPv6 DHCP_RELAY: Relaying SOLICIT from FE80::5054:FF:FE1A:2B3C on Vlan20
IPv6 DHCP_RELAY: Sending RELAY-FORWARD to 2001:DB8:50::547 on TenGigabitEthernet1/1/1
How the server picks the scope
The server matches the link-address (2001:db8:20::1 here) against its configured prefixes and assigns from the 2001:db8:20::/64 scope. A relay interface without a global or unique local address gives the server nothing to match.
Differences from DHCPv4 relay
DHCPv4 (ip helper-address) | DHCPv6 (ipv6 dhcp relay destination) | |
|---|---|---|
| Client sends | Broadcast | Multicast FF02::1:2 |
| Link identification | giaddr | link-address |
| Message | The original, modified | Wrapped in Relay-forward |
| Default gateway | From DHCP | Never from DHCPv6; still from RAs |
Requirements
| Requirement | Why |
|---|---|
| RAs on the client VLAN | Hosts learn the gateway, and the M or O flag starts DHCPv6 |
| Route from the server back to the relay's link-address | Replies go to the relay |
| UDP 547 allowed between relay and server | Relay-forward and Relay-reply |
| DHCPv6 Guard on access ports | Rogue servers can't answer clients directly |
Documented example, not captured output.
Quick reference
A DHCPv6 relay plays the same role as an IPv4 ip helper-address: clients send their requests to a link-scoped multicast group that never leaves the VLAN, so the gateway relays them as unicast to central DHCPv6 servers. The relay includes information about the link the request came from, which the server uses to choose the correct prefix or pool. Without a relay on every client VLAN, central DHCPv6 cannot work.
DHCPv6 relay forwards client messages (to ff02::1:2) as unicast to servers, adding Relay-Forward encapsulation and optionally the interface-id and client link-layer address options.
interface Vlan20
ipv6 dhcp relay destination 2001:db8::60
ipv6 dhcp relay destination 2001:db8::61
show ipv6 dhcp relay binding
show ipv6 dhcp interface Vlan20
Servers pick the scope from the relay's link-address. DHCPv6 Guard on access ports blocks rogue DHCPv6 servers.
ReferenceConfiguration & state1 section · depth on demand
Configuration
interface Vlan10
ipv6 dhcp relay destination 2001:db8:99::10
Documented example, not captured output. The relay sends Relay-Forward messages (with the link address identifying the client subnet) to the server; the server picks the pool by link address. The server must have a route back to the relay. Check with show ipv6 dhcp relay binding or a capture on UDP 547.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → IPv6 → IPv6 SLAAC / DHCPv6 → DHCPv6 Relay. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%