Solaris DHCP Administration Guide

How to Create a DHCP Macro (DHCP Manager)

  1. Select the Macros tab.

  2. Choose Create from the Edit menu.

    The Create Macro dialog box opens.

  3. Type a unique name for the macro.

    The name can be up to 128 alphanumeric characters. If you use a name that matches a vendor class identifier, network address, or client ID, the macro will be processed automatically for appropriate clients. If you use a different name, the macro can only be processed if it is assigned to a specific IP address or included in another macro that is processed. See Macro Processing by the DHCP Server for more detailed information.

  4. Click the Select button next to the Option Name field.

    The Select Option dialog box displays an alphabetized list of names of Standard category options and their descriptions.

  5. If you want to add an option that is not in the Standard category, use the Category list to select the category you want.

    See About Options for more information about option categories.

  6. Select the option you want to add to the macro and click OK.

    The Macro Properties dialog box displays the selected option in the Option Name field.

  7. Type the value for the option in the Option Value field.

  8. Click Add.

    The option is added to the bottom of the list of options displayed for this macro. If you want to change the option's position in the list, select the option and click the arrow keys next to the list to move the option up or down.

  9. Repeat Step 6 through Step 8 for each option you want to add to the macro.

  10. Select Notify DHCP Server of Change when you are finished adding options.

    This selection tells the DHCP server to reread the dhcptab to put the change into effect immediately after you click OK.

  11. Click OK.