IPv6Global Config

ipv6 dhcp pool [name]

Creates a DHCPv6 pool for stateful IPv6 address assignment to clients.

Syntax·Global Config
ipv6 dhcp pool <pool-name>

When to Use This Command

  • Assigning IPv6 addresses to hosts that cannot auto-configure via SLAAC.
  • Providing DNS server and domain information alongside SLAAC (stateless DHCPv6).
  • Centralized IPv6 address management for enterprise networks.
  • Required when M flag (managed) is set on the interface.

Command Examples

Create a DHCPv6 pool with address prefix and DNS

R1(config)# ipv6 dhcp pool IPV6-CLIENTS R1(config-dhcpv6)# address prefix 2001:db8:1::/64 lifetime 86400 14400 R1(config-dhcpv6)# dns-server 2001:4860:4860::8888 R1(config-dhcpv6)# domain-name example.com
R1(config-dhcpv6)#

Creates pool 'IPV6-CLIENTS' with a /64 prefix for address assignment. Address lifetime is 86400s (valid) and 14400s (preferred). Clients receive Google's IPv6 DNS server.

Apply the pool to an interface

R1(config)# interface GigabitEthernet0/1 R1(config-if)# ipv6 dhcp server IPV6-CLIENTS
R1(config-if)#

The interface becomes a DHCPv6 server for connected clients. Clients must send DHCPv6 Solicit messages to receive addresses.

Understanding the Output

No direct output from pool creation. Verify with 'show ipv6 dhcp pool' to see the pool configuration and active bindings. The pool name is case-sensitive and must match the 'ipv6 dhcp server [pool]' command on the interface.

CCNA Exam Tips

1.

CCNA exam tip: DHCPv6 stateful uses the M (Managed) flag set on the interface ('ipv6 nd managed-config-flag'). Stateless uses the O (Other) flag.

2.

CCNA exam tip: The 'address prefix' command in DHCPv6 pool is different from interface IPv6 address — it defines the POOL range, not the router's own address.

3.

CCNA exam tip: Routers don't auto-configure from DHCPv6 — only hosts. Routers use 'ipv6 address dhcp' command.

4.

CCNA exam tip: A DHCPv6 pool without a server assignment ('ipv6 dhcp server') on an interface does nothing.

Common Mistakes

Mistake 1: Creating the pool but forgetting to assign it to the interface with 'ipv6 dhcp server' — clients never receive addresses.

Mistake 2: Not setting the M or O flag on the interface — clients don't know to contact DHCPv6.

Mistake 3: Using a /128 or non-/64 prefix in 'address prefix' — DHCPv6 stateful pools must be /64.

Related Commands

Practice for the CCNA 200-301

Test your knowledge with hundreds of CCNA practice questions covering all exam domains.

Practice CCNA Questions