Set DHCP Class ID Information at a Client Computer

Applies To: Windows Server 2008

You can use the ipconfig /setclassid command to set DHCP class ID information at a client computer.

Membership in the Domain Admins group, or equivalent, is the minimum required to complete this procedure.

To set DHCP class ID information at a client computer

  1. At a DHCP-enabled client computer running Windows XP or Windows Vista, open a command prompt.

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

    The following example 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"
    

Additional considerations

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.