Users Guide

1448 DHCPv6 Server Settings
DHCPv6 Configuration Examples
This section contains the following examples:
Configuring a DHCPv6 Stateless Server
Configuring the DHCPv6 Server for Prefix Delegation
Configuring an Interface as a DHCPv6 Relay Agent
Configuring a DHCPv6 Stateless Server
This example configures a DHCPv6 pool that will provide information for the
DHCPv6 server to distribute to DHCPv6 clients that are members of VLAN
100. To define stateless information for the DHCPv6 server to distribute,
multiple DNS domain names and DNS server addresses are defined within
the pool.
VLAN routing interface 100 is configured as a DHCPv6 server. Setting NDP
on the interface to send the other-config-flag option allows the interface to
prompt DHCPv6 clients to request only stateless server information.
To configure the switch:
1
Enable the DHCPv6 feature.
console#configure
console(config)#service dhcpv6
2
Create the DHCPv6 pool and configure stateless information.
console(config)#ipv6 dhcp pool my-pool
console(config-dhcp6s-pool)#domain-name pengo.dell.com
console(config-dhcp6s-pool)#domain-name dell.com
console(config-dhcp6s-pool)#dns-server 2001:DB8:A328:22C::1
console(config-dhcp6s-pool)#dns-server 2001:DB8:A328:22C::2
3
Configure VLAN 100 as a routing interface and assign a globally unique
IPv6 address.
console(config)#interface vlan 100
console(config-if-vlan100)#ipv6 address
2001:DB8:A328:34B::11/32
4
Configure the DHCPv6 server functionality on VLAN 100. Clients can use
the preference value to determine which DHCPv6 server to use when
multiple servers exist.
console(config-if-vlan100)#ipv6 dhcp server my-pool preference
10