Microsoft KB Archive/285019

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

Article ID: 285019

Article Last Modified on 10/31/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q285019





IN THIS TASK
SUMMARY
 * Create Option 78 as a Byte Array and Option 79 as an Encapsulated Array

REFERENCES



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.

back to the top

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:  Start the DHCP snap-in. Right-click the server node, and then click Set predefined options.</li> Click Add, and then type a name for the option, for example &quot;SLP DA&quot;.</li> Set the data type to Byte, and then click to select the Array check box.</li> In the Code box, type 78 .</li> Type a description for the option, for example, &quot;Novell client SLP DA setting&quot;, and then click OK.</li> Right-click the Server Options node and click Configure Options.</li> Click Option 78, and then enter the appropriate data.</li> 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.</li> 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

</li> Return to the DHCP snap-in.</li> Right-click the server node, and then click Set predefined options.</li> Click Add to add option 79, and then type a name for the option, for example, &quot;SLP Scope List&quot;.</li> Set the data type to Encapsulated, and then type 79 in the Code box.</li> Type a description for the option, for example, &quot;Novell client SLP Scope List setting&quot;, and then click OK.</li> Right-click the Server Options node and click Configure Options.</li> Click option 79, and then enter the appropriate data.</li> 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.</li> <li>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 &quot;2C&quot; 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

</li> <li>Click OK.</li></ol>

back to the top

<div class="references_section">