Compartir a través de


Set DHCP class ID information at a client computer

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

 

To set DHCP class ID information at a client computer

  1. At a DHCP-enabled client computer running Windows XP, open a Command Prompt.

  2. Use the Ipconfig command-line utility to set the DHCP class ID the client uses when obtaining its lease from the DHCP server.

    You can type the ipconfig /setclassid command as demonstrated in the following example command, which sets an ASCII string ("MyNewClassId") as the DHCP class ID string for the local area network connection in use at the client computer:

    C:\>ipconfig /setclassid "Local Area Connection" MyNewClassId
    
    Windows XP IP Configuration
    
            DHCP ClassId successfully modified for adapter"Local Area Connection"
    

Notes

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command Prompt.

  • You can use the ipconfig /showclassid command to display all the DHCP class IDs allowed for any network adapter installed on your computer.

  • For a DHCP options class to be in effect between the DHCP server and its clients, both must be configured with a matching DHCP class ID string that identifies the client as a member of a specific user or vendor options class when it obtains its address lease from the server.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Assigning options
Manage Options and Classes
Show DHCP class ID information at a client computer
Using option classes
Ipconfig