DHCP Options

When the device is acting as a DHCP server, the DHCP options can be configured using the HEX option. A description of these options can be found in RFC2131. The configuration of these options determines the reply that is sent to DHCP clients whose packets include a request (using option 55) for the configured DHCP options. Example: The DHCP option 66 is configured with the name of a TFTP server in the DHCP Options page. When a client DHCP packet is received containing option 66, the TFTP server is returned as the value of option 66.

To configure one or more DHCP options, follow these steps:

Procedure


Step 1

Click IPv4 Configuration > DHCP Server > DHCP Options.

The previously configured DHCP options are displayed.

Step 2

To configure an option that has not been configured yet, enter the field:

  • DHCP Server Pool Name equals to—Select one of the pool of network addresses defined in the Network Pools and click Go to filter by that pool of network addresses.

Step 3

Click Add and enter the fields:

  • Pool Name—Displays the name of the pool name for which code is being defined.

  • Code—Enter the DHCP option code.

  • Type—The radio buttons for this field, change according to the type of the DHCP option’s parameter. Select one of the following codes and enter the value for the DHCP options parameter:

    • Hex—Select if you want to enter the hex value of the parameter for the DHCP option. A hex value can be provided in place of any other type of value. For instance, you can provide a hex value of an IP address instead of the IP address itself.

      No validation is made of the hex value, therefore if you enter a HEX value, which represents an illegal value, no error is provided, and the client might not be able to handle the DHCP packet from the server.

    • IP—Select if you want to enter an IP address when this is relevant for the DHCP option selected.

    • IP List—Enter list of IP addresses separated by commas.

    • Integer—Select if you want to enter an integer value of the parameter for the DHCP option selected.

    • Boolean—Select if the parameter for the DHCP option selected is Boolean.

  • Boolean Value—If the type was Boolean, select the value to be returned: True or False.

  • Value—If the type isn’t Boolean, enter the value to be sent for this code.

  • Description—Enter a text description for documentation purposes.

Step 4

Click Apply. The Running Configuration file is updated.