Configuring the DHCP Option

IT Asset Management (Cloud)

The DHCP option must be a string type and have an option number matching the one supplied to the MgsDHCP algorithm. Typically, you need to configure this on each DHCP scope within your enterprise on which there are target inventory devices.

The syntax of the value is:
serverlist[servername | random(servername[,...n]),...n] 
Some examples are:
  • srv1,srv2,srv3: Prioritizes srv1 first, followed by srv2 and srv3
  • random(srv1,srv2,srv3): Prioritizes the three servers in random order
  • random(srv1,srv2,srv3),srv4: Prioritizes srv2, srv1, srv3 in random order, followed by srv4
  • random(srv1,srv2,srv3),random(srv4,srv5,srv6): Prioritizes srv1, srv2, and srv3 in random order, then srv4, srv5, and srv6 in random order
  • srv0,random(srv2,srv2,srv3),random(srv4,srv5,srv6): Prioritizes srv0 first, followed by srv1, srv2, and srv3 in random order, then srv4, srv5, and srv6 in random order
  • srv0,random(srv1,srv2,srv3),srv4: Prioritizes srv0 first, followed by srv1, srv2, and srv3 in random order, followed lastly by srv4.
The details about configuring a DHCP option naturally depend on the DHCP server that you are using. These instructions describe how to configure the DHCP option on a Microsoft DHCP Server.

To configure the DHCP server (Microsoft example):

  1. Create a custom DHCP scope option:
    1. Start the DHCP MMC snap-in.
    2. Right-click the server name and select Set Predefined Options...
      The Predefined Options and Values dialog is displayed.
    3. Click Add...
    4. In the Name field, enter a descriptive name for the option.
    5. In the Code field, enter an option number such as 123. This is the option parameter that is passed to MgsDHCP.
    6. Set the Data type to string.
    7. Click OK.
  2. Enable and configure the DHCP option:
    1. Start the DHCP MMC snap-in.
    2. Right-click <Scope Name> Scope Options and select Configure Options.
    3. Select the option and enter the server list in the String field.
    4. Click OK.
  3. Repeat the previous step for every DHCP scope.

IT Asset Management (Cloud)

Current