Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

DHCPv6 Relay Evidence

Direct answer

A DHCPv6 relay — normally the router on the client's link — wraps each client message in a Relay-Forward message and sends it to a server on another network, then unwraps the reply. The wrapper's link-address tells the server which network the client is on.

When to use this

Use it when clients on VLANs without a local DHCPv6 server get no address, or one from the wrong pool.

First 30 seconds

1. show ipv6 dhcp interface <interface> — is it a relay, to the right server?

2. ping ipv6 <server> source <interface> — reachable both ways?

3. Do clients send a Solicit at all? If not → managed flag in the Router Advertisement.

4. Server answers "no addresses" → no pool for the link-address prefix.

5. Address but no default route → Router Advertisement, not the relay.

Operational verification

Router Advertisement sets the managed flag → client Solicit reaches the relay interface → Relay-Forward with link-address sent to the server → server selects the pool → Relay-Reply returns → relay delivers the reply to the client

Context & applicabilityCommon mistakes · platform/version boundaries
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
Key commandshow ipv6 dhcp interface Vlan20
Scope / prerequisiteUse it when clients on VLANs without a local DHCPv6 server get no address, or one from the wrong pool.
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.

2 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 workflow Verify boundary
show ipv6 dhcp interface Vlan20
show ipv6 route 2001:db8:ffff::10
ping ipv6 2001:db8:ffff::10 source Vlan20
debug ipv6 dhcp relay

The interface view confirms relay mode and the destination. The route lookup and the sourced ping test the path to the server and back from the address that will appear as link-address. The debug shows each client message being relayed and each reply returned; use it briefly.

In a capture between relay and server, filter on dhcpv6: a Relay-Forward should be followed by a Relay-Reply, and the link-address in both should be the client VLAN's address. On the server, check that a pool exists for that prefix.

Known-good: Relay-Forward and Relay-Reply are seen for each client exchange, and the client receives an address from the pool of its own VLAN.

Step 2 Failure isolation workflow Narrow the fault
  • Clients send Solicit; no Relay-Forward leaves the router. The relay command is missing or on the wrong interface.
  • Relay-Forward is sent; nothing comes back. The server is unreachable, has no route back, or a firewall blocks UDP 547.
  • The server answers that no addresses are available. It has no pool for the prefix in the link-address.
  • Clients get an address from the wrong network. The link-address is not the one expected — the interface has several global addresses, or the server's pools are mapped wrongly.
  • Clients never send a Solicit. The Router Advertisement on the VLAN does not set the managed flag.
  • Clients get an address but no default route. That comes from the Router Advertisement, not through the relay.
  • Works for clients on the server's own link only. Nothing relays for the other links.
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

Configured with ipv6 dhcp relay destination <server> on the client-facing interface. The server picks the pool from the link-address and needs a route back to the relay. The relay does not make clients ask: the Router Advertisement must set the managed flag.

Key checks
  • show ipv6 dhcp interface <interface> — relay mode and destination.
  • show ipv6 route <server> — a path to the server.
  • ping ipv6 <server> source <interface> — reachable from the address used as link-address.
  • debug ipv6 dhcp relay — messages relayed and returned; use briefly.
ReferenceWhat it is1 section · depth on demand

Mental model

A DHCPv6 client looks for a server by multicast on its own link. When the server is on another network, a relay agent — normally the router on the client's link — passes the messages on. It wraps each client message in a relay message, sends it to the server, and unwraps the answer for the client.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

Most networks have central DHCPv6 servers, so relay is the normal case. The wrapping contains the one piece of information the server uses to pick the right address pool: an address identifying the client's link. When relayed clients get no address, or one from the wrong pool, the cause is nearly always in that field or in the routing between relay and server.

ReferenceHow it works1 section · depth on demand

How it works

On Cisco IOS the relay is configured on the interface facing the clients:

interface Vlan20
 ipv6 address 2001:db8:20::1/64
 ipv6 nd managed-config-flag
 ipv6 dhcp relay destination 2001:db8:ffff::10

Towards the server — Relay-Forward (type 12).

FieldContent
Hop countNumber of relays the message has passed
Link-addressA global address of the relay's interface on the client's link — here 2001:db8:20::1
Peer-addressThe address the message came from: the client's link-local address
Relay Message optionThe client's original message, complete and unchanged
Interface-ID optionIdentifies the interface the client is on

The server reads the link-address to learn which network the client is on, and chooses the pool whose prefix contains it. It then processes the wrapped client message as if it had received it directly.

Back to the client — Relay-Reply (type 13). The server sends its answer to the relay, wrapped the same way and with the same link-address, peer-address and Interface-ID. The relay takes out the inner message and delivers it to the peer-address on the indicated interface.

Both relay messages are sent to UDP port 547, as ordinary routed unicast.

What must be in place.

  • The relay can reach the server, and the server has a route back to the relay.
  • The server has a pool for the prefix the link-address belongs to.
  • The client-facing interface has a global address — without one there is nothing to put in the link-address.
  • The router's Router Advertisements tell clients to use DHCPv6. The relay only carries the messages; it does not make clients send them, and it does not give them a default route.

Several relays in a row wrap the message once each. When prefixes are delegated through a relay, the relay's router also needs a route for each delegated prefix.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

DHCPv6 relay

Clients find DHCPv6 servers by multicasting to ff02::1:2, which never leaves the link. A relay agent is therefore needed whenever the server is elsewhere. RFC 8415 defines how the relay wraps the client's message in a Relay-forward message. It sets hop-count, sets link-address to an address identifying the client's link, sets peer-address to the client's address, and adds the original message as the mandatory Relay Message option. It can also add an Interface-Id option. The server answers with Relay-reply, which the relay unwraps and passes back to the client. Relays can be chained, up to HOP_COUNT_LIMIT (8).

Relay-forward fields (RFC 8415)

FieldContentsUsed for
hop-countNumber of relays passedLoop protection (limit 8)
link-addressAn address on the client's link, or unspecifiedChoosing the server's pool
peer-addressThe client's link-local address, or the previous relaySending the reply back
Relay Message optionThe client's original messageRequired
Interface-Id optionThe relay's interface identifierReturning the reply when link-address isn't enough

Relay transport

HopDestination
Client → relayff02::1:2, UDP 547
Relay → serverA configured server address (unicast), or ff05::1:3
Server → relay → clientRelay-reply to the relay, then the Reply to the client on UDP 546
R1(config)# interface Vlan110
R1(config-if)# ipv6 address 2001:db8:110::1/64
R1(config-if)# ipv6 nd managed-config-flag
R1(config-if)# ipv6 nd other-config-flag
R1(config-if)# ipv6 dhcp relay destination 2001:db8:20::15
R1(config-if)# ipv6 dhcp relay source-interface Loopback0
R1# show ipv6 dhcp relay binding
R1# show ipv6 dhcp interface Vlan110
Vlan110 is in relay mode
  Relay destinations:
    2001:DB8:20::15
R1# debug ipv6 dhcp relay
srv$ sudo tcpdump -ni eth0 -v 'udp port 547' | grep -E "relay-fwd|relay-reply|linkaddr"

Troubleshooting relays

SymptomCheck
Server never sees requestsThe relay destination is configured; the route and ACLs towards the server
Server sees requests but answers from the wrong poollink-address: the relay interface needs a global address in the client prefix
Replies don't reach clientsReturn route from the server to the relay's source address
Clients get an address but no gatewayRAs missing on the client link; DHCPv6 never provides a gateway

On routers that also delegate prefixes, show ipv6 dhcp relay binding lists the prefixes passed through. That is useful when downstream routers lose their delegated prefixes.

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

Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → DHCPv6 Relay Evidence. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc8415.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
dhcpv6 relay forwardrelay reply
Confirmation

Confirm action

Continue?