
Technical Note 3
DHCPv6
C613-05019-00 REV A
25 August 2003
2. Create the IPv6 interface.
Create the IPv6 interface that will respond to DHCPv6 messages, using the
command:
CREATE IPV6 INTERFACE=eth0
3. Configure the IPv6 interface to receive its address from the DHCP6 server.
Configure the interface to receive its IPv6 address from DHCP6, using the
command:
ADD IPV6 INTERFACE=eth0 IPADDRESS=fec0::0001:0001/64
4. Enable DHCP6 on the server.
To enable DHCP6 on the server, use the command:
ENABLE DHCP6
5. Create a DHCP6 policy.
The DCHP6 policy will contain the details of the configuration given to the
client that makes a DHCP6 request.
CREATE DHCP6 POLI=sierra
6. Create a DHCP6 range.
To configure the server to assign IP addresses to the clients, associate the
range of addresses with the policy and specify an address type of “norm”
CREATE DHCP6 RANGE=leone POLICY=sierra
IP=fec0:0001::0001/128-fec0:0001::ffff/128 TYPE=NORMAL
CREATE DHCP6 RANGE=nevada POLICY=sierra IP=fec0:0002::/64-
fec0:0010::/64 TYPE=PD
7. Add configuration parameters to the policy.
In this example, the server assigns a T1 time and a T2 time to the client, in
seconds. After the T1 time, the client will ask the server to renew its lease of
the IPv6 address. If the client does not receive a reply to the Renew
messages after T2 seconds, it will attempt to find another DHCP6 server by
sending a multicast Rebind message.
ADD DHCP6 POLICY="sierra" T1TI=60
ADD DHCP6 POLICY="sierra" T2TI=120
8. Link the policy to the interface.
ADD DHCP6 INTERFACE=eth0 POLICY=sierra
DHCP6 Client Configuration
1. Enable the IPv6 module.
Enable IPv6, using the command:
ENABLE IPV6
2. Create the IPv6 interface.
Create the IPv6 interface that will request the IPv6 address, using the
command:
CREATE IPV6 INTERFACE=eth0