Go to main content

Oracle® Rack Universal Power Distribution Unit User's Guide

Exit Print View

Updated: May 2019
 
 

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.

  1. Add a new vendor class for HPDU under IPv6.
    1. Right-click the IPv6 node in DHCP to select Define Vendor Classes.
    2. Click Add to add a new vendor class.
    3. 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.
  2. Add three options to the vendor class.
    1. Right-click the IPv6 node in DHCP to select Set Predefined Options.
    2. Select PDU 1.0 in the Option class field.
    3. 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.
    4. 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.
    5. 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.
  3. Configure the server options associated with the vendor class.
    1. Right-click the Server Options node under IPv6 to select Configure Options.
    2. Click the Advanced tab.
    3. 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.
    4. Select 00002 pdu-update-control-file from the Available Options list, and type the file name fwupdate.cfg in the String value field.
    5. 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.