
DHCPv6 Configuration
278
Switch2(Config-if-Vlan100)#ipv6 dhcp relay destination 2001:da8:10:1::1
Switch2(Config-if-Vlan100)#exit
Switch2(config)#
Example2:
When the network operator is deploying IPv6 networks, network automatically
configuration can be achieved through the prefix delegation allocation of IPv6 addresses,
in stead of configuring manually for each switch:
1. To configure the switching or routing device which is connected to the client
switch as DHCPv6 prefix delegation server, that is to setup a local database for
the relationship between the allocated prefix and the DUID of the client switch.
2. To configure the switch as the prefix delegation client, and make the client switch
to get IPv6 address prefix from the prefix delegation server, through a process
which is much like the process of DHCPv6 address allocation.
3. The edge devices which receive the address prefix, send routing advertisement -
RA messages, to the client hosts about the address prefix through the interface
which is connected to the hosts, then the hosts get an valid IPv6 address through
stateless auto configuration, while at the same time, the stateless DHCPv6
server will be configured for the interface, in order to provide the DHCPv6 client
with information such as DNS, and domain name, etc.
Network Topology:
The edge switch is a Switch1 switch. The interface connected to the trunk switch
which is Switch2, is configured as the prefix delegation client. The interfaces connected to
hosts, are configured as stateless DHCPv6 servers to provide the hosts with stateless
information such as DNS and domain names, also routing advertisement of stateless
address allocation is enabled for the host interfaces; On Switch2, the prefix delegation
server is configured, and routing advertisement of state address allocation is enabled; On
the host side, DHCPv6 client capable operating system such Windows Vista should be
installed.