Go to main content

Oracle® Rack Universal Power Distribution Unit User's Guide

Exit Print View

Updated: May 2019
 
 

Configuring DHCP for IPv4 in Linux

Modify the dhcpd.conf file for IPv4 settings when the DHCP server is running Linux.

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

    The HPDU provides the value of the vendor‑class‑identifier option (option 60). The vendor-class-identifier is the HPDU name.

  2. Configure the same option in DHCP.

    The HPDU accepts the configuration or firmware upgrade only when this value in DHCP matches.

  3. Set the following three sub‑options in the vendor-encapsulated-options (option 43).
    • code 1 (pdu-tftp-server) = TFTP server IPv4 address

    • code 2 (pdu-update-control-file) = Control file name fwupdate.cfg

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

    This third option/code is the magic cookie to prevent the fwupdate.cfg commands from being executed repeatedly. It does not matter whether the IPv4 magic cookie is identical to or different from the IPv6 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 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 HHPDU. Modify the magic cookies value in DHCP when intending to execute the fwupdate.cfg commands the next time.