The Network Services > DHCP > Options tab allows to configure DHCP options. DHCP options are additional configuration parameters provided by a DHCP server to DHCP clients.

Example: For some VoIP phones, to provide them with the necessary information from your DHCP servers you have to create and activate three additional DHCP options on this page:

DHCP options can have different scopes: They can e.g. be provided to selected hosts only, or from selected servers only, or even globally. For this reason it is possible to define different parameters for the same host. Some DHCP options are already defined on the DHCP > Servers tab, e.g., DNS server (option 6). In case of conflicting parameter values, the parameters are provided to the client according to the following priority:

  1. DHCP option with scope Host
  2. DHCP option with scope MAC prefix
  3. DHCP option with scope Vendor ID
  4. DHCP option with scope Server
  5. DHCP server parameter (DHCP > Servers tab)
  6. DHCP option with scope Global

Note – With the DHCP request, a DHCP client submits the information which DHCP options it can deal with. As a result the DHCP server only provides the DHCP options the client understands, no matter which options are defined here.

To create a DHCP option, proceed as follows:

  1. Click New DHCP Option.

    The Add DHCP Option dialog box opens.

  2. Make the following settings:

    Address type (only if IPv6 is enabled): Select the IP version which you create the DHCP option for.

    Code: Select the code of the DHCP option you want to create.

    Note – With the entry filename you can specify a file to be loaded into the DHCP client to be executed there. With next-server you define the boot server. The numbered DHCP option codes are defined in RFC 2132 and others.

    Name: Enter a descriptive name for this option.

    Type: Only available if you selected a code with the comment (unknown). Select the data type of the option. The data types IP Address, Text and Hex are available. Depending on the selected data type enter the appropriate data in the corresponding field below:

    Address: Add or select the host or network group with the IP address(es) to be submitted with this DHCP option to the DHCP client. How to add a definition is explained on the Definitions & Users > Network Definitions > Network Definitions page.

    Text: Enter the text to be submitted with this DHCP option to the DHCP client.

    Hex: Enter the hexadecimal value to be submitted with this DHCP option to the DHCP client. Please note that you have to enter the groups of two hexadecimal digits separated by colons (e.g., 00:04:76:16:EA:62).

    Integer: Enter the integer value to be submitted with this DHCP option to the DHCP client.

    Scope: Define on which condition the DHCP option should be sent.

    Comment (optional): Add a description or other information.

  3. Click Save.

    The new DHCP option appears on the DHCP Options list and is immediately active.

To either edit or delete a DHCP option, click the corresponding buttons.

Related Topics Link IconRelated Topics
© 2019 Sophos Limited Sophos UTM 9.600