Pcornel
Networking · Network & Protocols › IPv6 Protocol Reference

DHCPv6 Relay Evidence

Cheat sheet · https://pcornel.dk/topic.php?topic=321

Back to the Topic

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.

Remember

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.

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

Commands

show ipv6 dhcp relay binding

Verify in this order

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

Where it usually breaks

local configuration → reachability/transport → request/negotiation → server or policy decision → response/state installation → client-visible result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=321

Confirmation

Confirm action

Continue?