Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

DHCPv6 Relay

Direct answer

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.

When to use this

Use it when DHCPv6 clients and the server are in different subnets, or clients get no reply.

First 30 seconds

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.

Operational verification

client solicit → relay → server → reply via relay

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Relay pitfalls
  • 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.
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · IOS/IOS XE
Scope / prerequisiteUse it when DHCPv6 clients and the server are in different subnets, or clients get no reply.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • show ipv6 dhcp interface — relay destination
  • show 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:

FieldMeaning (RFC 8415)
link-addressIdentifies the client's link for the server; typically a global or unique local address of the relay's interface
peer-addressThe 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 sendsBroadcastMulticast FF02::1:2
Link identificationgiaddrlink-address
MessageThe original, modifiedWrapped in Relay-forward
Default gatewayFrom DHCPNever from DHCPv6; still from RAs

Requirements

RequirementWhy
RAs on the client VLANHosts learn the gateway, and the M or O flag starts DHCPv6
Route from the server back to the relay's link-addressReplies go to the relay
UDP 547 allowed between relay and serverRelay-forward and Relay-reply
DHCPv6 Guard on access portsRogue servers can't answer clients directly

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 8200

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%
Confirmation

Confirm action

Continue?