How to Create a New DHCP User or Vendor Class
This article was previously published under Q240247
This article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy.
This article has been archived. It is offered "as is" and will no longer be updated.
This article discusses how to create new user or vendor-class identifications for the Dynamic Host Configuration Protocol (DHCP) service in Windows 2000.
Windows 2000 provides two option classes an administrator can use to manage configuration details for DHCP clients within a particular DHCP scope. These option classes are vendor-defined and user-defined classes.
Vendor-defined classes are used for managing DHCP options assigned to clients identified by vendor type.
User-defined classes are used for managing DHCP options assigned to clients identified by a common need for a similar DHCP options configuration.
After defining an option class, individual scopes must be configured with any class-related options to be provided to clients.
Create a New User or Vendor Option Class
- Start DHCP Manager.
- In the console tree, click the applicable DHCP server branch.
- Right-click the server, and then click Define User Classes to create a new user class, or click Define Vendor Classes to create a new vendor class.
- Click Add.
- In the New Class dialog box, type a descriptive identifying name for the new option in the Display name box. You may also add additional information to the Description box.
- Type in the data to be used by the DHCP Server service for matching the class ID provided by DHCP clients under ID or ASCII. To enter the data as hexadecimal byte numeric values, click the left side of the text box. To enter data as American Standard Code for Information Interchange (ASCII) text character values, click the right side of the text box.
- Click OK, and then click Close.
Configure a DHCP Scope with the New Class ID
- In DHCP Manager, double-click the appropriate DHCP scope.
- Right-click Scope Options and then click Configure Options.
- Click Advanced.
- Click to select the check box or boxes next to the features you want to use with the new vendor or user class.
- Click OK.
To Set the Specified DHCP Class ID String for Client ComputersClient computers that connect to a Windows 2000-based DHCP server can use the following command to set the specified DHCP class ID string:
ipconfig /setclassid adapter_name class_idFor example, to configure an adapter called "Local Area Connection" with a user class ID called "myuserclass", type ipconfig /setclassid Local Area Connection myuserclass at a command prompt, and then press ENTER.
This identifies the "Local Area Connection" interface to receive the DHCP options configured for "myuserclass" on the DHCP server.
NOTE: Class IDs in ASCII are case sensitive, and must match the class identifying data entered in the Edit Class dialog box used to create the new user or vendor option class.
For additional information about DHCP, click the article number below to view the article in the Microsoft Knowledge Base:
169289 DHCP (Dynamic Host Configuration Protocol) Basics
Article ID: 240247 - Last Review: 12/05/2015 15:39:06 - Revision: 3.4
Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Datacenter Server
- kbnosurvey kbarchive kbhowto kbnetwork KB240247