Courseiva
IPv6Interface Config

ipv6 dhcp relay destination [ipv6-addr]

Forwards DHCPv6 client messages to a remote server across routed networks.

Definition: ipv6 dhcp relay destination [ipv6-addr] is a Cisco IOS interface config command. Configures an interface to relay DHCPv6 messages from clients to a remote DHCPv6 server. Used when the DHCPv6 server is not on the same segment as the clients.

Syntax·Interface Config
ipv6 dhcp relay destination <ipv6-address>

When to Use This Command

  • Relaying DHCPv6 from access-layer switches/routers to a central DHCPv6 server.
  • Large enterprise deployments where a single DHCPv6 server serves multiple VLANs.
  • Replacing multiple local DHCPv6 pools with one central managed server.
  • IPv6 equivalent of 'ip helper-address' for IPv4 DHCP relay.

Command Examples

Configure DHCPv6 relay to a central server

R1(config)# interface GigabitEthernet0/1 R1(config-if)# ipv6 dhcp relay destination 2001:db8:ffff::1
R1(config-if)#

GigabitEthernet0/1 is now a DHCPv6 relay agent. Client Solicit messages arriving on this interface are forwarded to the DHCPv6 server at 2001:db8:ffff::1. This is the IPv6 equivalent of 'ip helper-address'.

Verify relay configuration

R1# show ipv6 dhcp interface GigabitEthernet0/1
GigabitEthernet0/1 is in relay mode
  Relay destinations:
    2001:db8:ffff::1

The interface shows 'relay mode' with the destination server address — not 'server mode'. An interface can be relay OR server, not both.

Understanding the Output

Verify with 'show ipv6 dhcp interface' — it shows 'relay mode' and the relay destination. An interface cannot be both a server and a relay agent. The relay destination can be a global unicast or link-local address (with the 'interface' keyword added if link-local).

CCNA Exam Tips

1.

CCNA exam tip: IPv4 uses 'ip helper-address'; IPv6 uses 'ipv6 dhcp relay destination' — same concept, different command.

2.

CCNA exam tip: A router interface can be a DHCPv6 relay OR server, not both simultaneously.

3.

CCNA exam tip: DHCPv6 relay must be configured on the interface facing the CLIENTS, not the server.

4.

CCNA exam tip: The relay destination address must be reachable from the relay router.

Common Mistakes

Mistake 1: Configuring relay on the server-facing interface — it should be on the CLIENT-facing interface.

Mistake 2: Setting the relay destination to an unreachable address — DHCPv6 Solicit packets are forwarded but no Reply arrives.

Mistake 3: Confusing relay destination (DHCPv6 server's address) with the server's pool address.

ipv6 dhcp relay destination [ipv6-addr] vs ipv6 dhcp server [pool-name]

Both commands are configured under interface configuration mode for DHCPv6 operations, but they serve opposite roles: one relays requests to a remote server, the other provides server functionality locally. They are commonly confused because both are applied to interfaces and involve DHCPv6 configuration.

Aspectipv6 dhcp relay destination [ipv6-addr]ipv6 dhcp server [pool-name]
RoleRelays DHCPv6 messages to a remote serverActs as DHCPv6 server for clients on the interface
ConfigurationSpecifies destination IPv6 address of DHCPv6 serverAssociates interface with a local DHCPv6 pool
DependencyRequires a DHCPv6 server reachable at the destination addressRequires a configured DHCPv6 pool on the device
Traffic FlowClient messages are forwarded to the server; server responses relayed backClient messages are processed locally; device assigns addresses from pool
Typical UseWhen DHCPv6 server is on a different network segmentWhen the device itself is the DHCPv6 server for its directly connected clients

Use ipv6 dhcp relay destination [ipv6-addr] when the DHCPv6 server resides on a different network segment and you need to forward client messages to it.

Use ipv6 dhcp server [pool-name] when the router or switch should act as the DHCPv6 server for clients on that interface, using a predefined address pool.

Related Commands

Practice for the CCNA 200-301

Test your knowledge with practice questions covering all CCNA 200-301 exam domains.

Practice CCNA 200-301 Questions