Go to main content

Oracle® Rack Universal Power Distribution Unit User's Guide

Exit Print View

Updated: May 2019
 
 

Configuring DHCP for IPv6 in Linux

Modify the dhcpd6.conf file for IPv6 settings when your DHCP server is running Linux.

  1. Locate and open the dhcpd6.conf file of the DHCP server.

    The HPDU provides the following values to the vendor-class option (option 16).

    • 13742 (IANA number)

    • HPDU name

    • 15 (length of the string)

  2. Configure related settings in DHCP.
  3. Set the following three sub‑options in the vendor-opts (option 17).
    • code 1 (pdu-tftp-server) = the TFTP server's IPv6 address

    • code 2 (pdu-update-control-file) = the name of the control file "fwupdate.cfg"

    • code 3 (pdu-update-magic) = any string

    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. For example, use a combination of a date and a serial number.


    Note -  The magic cookie is transmitted to and stored in the 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 the HPDU. Modify the magic cookies value in DHCP when intending to execute the fwupdate.cfg commands the next time.