Configuring DHCP for IPv6 in Windows
You can configure the DHCP server for HPDU devices using IPv6
addresses. The following procedure is based on Microsoft Windows Server
2012.
-
Add a new vendor class for HPDU under IPv6.
-
Right-click the IPv6 node in DHCP to select Define Vendor
Classes.
-
Click Add to add a new vendor class.
-
In the New Class dialog box, type a unique name for the
vendor class, type 13742 in the
Vendor ID (IANA) field, and type the binary codes of the
HPDU.
-
Add three options to the vendor class.
-
Right-click the IPv6 node in DHCP to select Set Predefined
Options.
-
Select PDU 1.0 in the Option class field.
-
Click Add to add the first option. Type
pdu-tftp-server in the Name
field, select IP Address as the data type, and type 1 in the
Code field.
-
Click Add to add the second option. Type
pdu-update-control-file in the
Name field, select String as the data type, and type 2 in
the Code field.
-
Click Add to add the third one. Type
pdu-update-magic in the Name
field, select String as the data type, and type 3 in the
Code field.
-
Configure the server options associated with the vendor
class.
-
Right-click the Server Options node under IPv6 to select
Configure Options.
-
Click the Advanced tab.
-
Select the HPDU in the Vendor class field, select 00001
pdu-tftp-server from the Available Options list, and type
the TFTP server IPv6 address in the IPv6 address
field.
-
Select 00002 pdu-update-control-file from the Available
Options list, and type the file name
fwupdate.cfg in the String value
field.
-
Select 00003 pdu-update-magic from the Available Options
list, and type any string in the String value field.
The third option/code is the magic cookie to prevent the
fwupdate.cfg commands from being
executed repeatedly. It does not matter whether the IPv6
magic cookie is identical to or different from the IPv4
magic cookie.
The magic cookie is a string comprising numerical and/or
alphabetical digits in any format. In the following
illustration diagram, it is a combination of a date and a
serial number.
Note -
The magic cookie is transmitted to and stored in HPDU
at the time of executing the
fwupdate.cfg commands. The
DHCP/TFTP operation is triggered only when there is a
mismatch between the magic cookie in DHCP and the one
stored in HPDU. Modify the magic cookies value in DHCP
when intending to execute the
fwupdate.cfg commands next
time.