HOW TO: Add Novell SLP DHCP Options to the DHCP Service

Article translations Article translations
Article ID: 285019 - View products that this article applies to.
This article was previously published under Q285019
Expand all | Collapse all

On This Page

SUMMARY

This article describes how to add Novell Service Location Protocol (SLP) DHCP options to the DHCP service. You can configure the DHCP service that is included with Windows 2000 to provide DHCP options 78 and 79. Novell clients may require the configuration of DHCP options 78 and 79. These options are sometimes referred to as the SLP options. The SLP options (from Request for Comments [rfc] 2610) have an extra flag in the option field that is different than any other DHCP option. This flag is called the Mandatory byte. No other DHCP options for simple address arrays follow this structure.

The following example compares SLP options to DCHP options:
  • SLP options:
    | Code = 78 | Length | Mandatory | a1 | a2 | a3 | a4 | ...
    					
  • All other DHCP options:
     | Code = 32 | Length | a1 | a2 | a3 | a4  |...
    					
This extra byte prevents you from using the IPAddress array type in the snap-in when you add this option. However, you can add the option by creating option 78 as a Byte array and option 79 as an Encapsulated array.

Create Option 78 as a Byte Array and Option 79 as an Encapsulated Array

To create option 78 as a byte array and option 79 as an encapsulated Array, do the following:
  1. Start the DHCP snap-in.
  2. Right-click the server node, and then click Set predefined options.
  3. Click Add, and then type a name for the option, for example "SLP DA".
  4. Set the data type to Byte, and then click to select the Array check box.
  5. In the Code box, type 78.
  6. Type a description for the option, for example, "Novell client SLP DA setting", and then click OK.
  7. Right-click the Server Options node and click Configure Options.
  8. Click Option 78, and then enter the appropriate data.
  9. In the Mandatory box, type 0 or 1, and then click Add.

    This setting is for the Mandatory byte. If you type 0, a static configuration overrides, if you type 1, the DHCP setting overrides static settings. Refer to Novell documentation for complete details about this value.
  10. Type each IP address. To do so, you must add each octet separately.

    For example, for the addresses 192.168.1.2 and 192.168.1.3, type 192, click Add, type 168, click Add, type 1, click Add, type 2, click Add, and so on. The Byte array list then looks like the following list:
    1
    192
    168
    1
    2
    192
    168
    1
    3
  11. Return to the DHCP snap-in.
  12. Right-click the server node, and then click Set predefined options.
  13. Click Add to add option 79, and then type a name for the option, for example, "SLP Scope List".
  14. Set the data type to Encapsulated, and then type 79 in the Code box.
  15. Type a description for the option, for example, "Novell client SLP Scope List setting", and then click OK.
  16. Right-click the Server Options node and click Configure Options.
  17. Click option 79, and then enter the appropriate data.
  18. The first byte is set to 00. Leave this value or change it to 01.

    This setting is for the Mandatory byte. If you type 0, a static configuration overrides, if you type 1, the DHCP setting overrides static settings. Refer to Novell documentation for complete details about this value.
  19. Type the scope names for ASCII data that is converted to a hexadecimal format. Each scope name must be separated with a comma, which is marked with a "2C" in the hexadecimal format. The following text is an example of encapsulated hexadecimal data (this example is a scope list of ttt,uuuu,vvvvv):
    00 74 74 74 2C 75 75 75
    75 2C 76 76 76 76 76
  20. Click OK.

REFERENCES

Please refer to the following Web site for more information about easier ways of converting ASCII to hexadecimal:
http://www.asciitable.com

Properties

Article ID: 285019 - Last Review: October 31, 2006 - Revision: 4.1
APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
Keywords: 
kbdhcp kbenv kbhowto kbhowtomaster kbwin2000presp2fix KB285019

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com