Example: Advanced DHCP configuration with client classes - BlueCat Integrity - 26.1.0

Address Manager Administration Guide

ft:locale
en-US
Product name
BlueCat Integrity
Version
26.1.0

The following section covers examples for specific advanced DHCP configurations.

Link-selection sub-option

This example describes how to configure BlueCat DNS/DHCP Servers (BDDS) from the Address Manager UI to receive the link-selection sub-option (also known as Option 82 sub-option 5) information from the DHCP relay agent. Once configured, the BDDS uses this information to identify the correct subnet for allocating the IP address to the DHCP client.

Note: Before configuring the BDDS to receive the link-selection sub-option information, ensure that the DHCP relay agent is already configured to insert the link-selection sub-option information in the DHCP packet header.
  1. Create a DHCP client class:

    1. Select the IPAM tab in the sidebar, then select DHCP settings.
    2. On the DHCP client classes tab, select New.
    3. Under General, set the following parameters:
      • Name—enter a name for the client class. The name can't contain spaces.
      • Description—enter a description for the client class.
      • Match option—select the following option:
        • Custom—enter a raw string that maps directly to a Boolean expression, using the syntax and grammar supported by the ISC’s DHCP daemon. Don't end the string with a “;” semicolon, because one is automatically added when the condition is deployed:

          (binary-to-ascii(10, 8, ".", option agent.link-selection) = "<subnet IP address>")
    4. Under Change control, add comments, if required.
    5. Select Create.

      The new client class is now displayed in the DHCP client classes table.

  2. Add the client class to the deployment options for the network containing the range for that network:

    1. Select the IPAM tab in the sidebar, then select IPv4 blocks.

    2. Navigate to the IPv4 network for which you want to add the client class.

    3. Select the Deployment options tab.

    4. Select New > DHCPv4 service option.

    5. Under General, set the following parameters:
      • Name—select the Allow Class Members of (35) deployment option.
      • DHCP client class—select the DHCP client class created in step 1.
    6. On the Servers tab, select the servers or server group to which the option applies:
      • All servers—applies the deployment option to all servers in the configuration.
      • Server group—applies the deployment option to a specific server group in the configuration. Select a server group from the drop-down list.
        Attention: You cannot configure DHCP deployment options on a multi-primary server group.
      • Server—applies the deployment option to a specific server in the configuration. Select a server from the drop-down list.
        Attention: You cannot configure DHCP deployment options on servers that are part of a multi-primary server group.
        Note: You can't override deployment options set at the configuration level from the server group level if the deployment option is applied to a specific server within a server group.
    7. Under Change control, add comments, if required.
    8. Select Create or Create and add another.

      The option is now displayed in the Deployment options table.

  3. After deployment, check the syntax of the dhcpd.conf file to validate the deployment.

Result: The BDDS processes the information contained in the link-selection sub-option and assigns an IP address from the specified subnet to the DHCP client.