Windows 2008 user and vendor classes

Facebookgoogle_plus

Windows 2008 DHCP service provides the possibility to create scope options as a vendor class which can be delegated to known devices and platforms and then assign those configurations to user classes. User class lets us assign unique configuration in scope options to the clients we wish to.

First create the vendor class:
1.       Open windows 2008 DHCP console.
2.       Right click the DHCP server name < choose ‘define vendor classes’.
3.       Click ‘add’ to bring the ‘new class’ screen.
4.       The ‘display name’ and ‘description’ were meant to let you identify the friendly name under the DHCP service (assuming you have multiple classes).
5.       The ‘ID’ tab is very important since that is the data that DHCP clients use to get their DHCP configurations. Clicking the ‘ID’ box will give you hexadecimal window to fill in the number.
We’re not done yet since we have to attribute a DHCP option to the vendor class we created.
1.       Open windows 2008 DHCP console.
2.       Right click the DHCP server name < choose ‘set predefined options’.
3.       Select the needed option class < press ‘add’
4.       Specify name, data type, array and code.
To create the user class that will assign selective options to clients as follow:
1.       Open windows 2008 DHCP console.
2.       Right click the DHCP server name < choose ‘define user classes’.
3.       Click ‘add’ to bring the ‘new class’ screen and fill in all tabs.
If we want to assign DHCP options to specific user class (so that every client that uses the user class ID will get those configurations), do the follow:
1.       Open windows 2008 DHCP console < expand the server.
2.       Right click the ‘scope options’ < choose ‘configure options’  < click ‘advanced’
3.       Select the user class option from the list to configure the scope.
Note that you can also configure manually from the client. To configure the class ID in the client you should use the IPCONFIG option as follow:
ipconfig /setclassid  “adaptername”  RequestedIDString
for example: if your local adapter named ‘inbound’ and your class ID name is ‘guest’ then you can write the following command:
ipconfig /setclassid  “inbound”  guest