Username:
Password:
Microsoft Windows Server 2003 (70-291) Tutorials

Implementing/Managing/Maintaining IP Addressing Cont'd / Option Classes

Subtitles of the Movie

Option classes are used in conjunction with the options that are set at the server level, the scope level or the client level. To sub-divide the options that are set by those things. There are 2 option classes that you need to be familiar with. They are vendor classes and user defined classes. The vendor classes are used to identify specific operating systems or specific vendor software. For example you might use a vendor class so that you handout a WINS address, a Windows Internet Name Server address to Windows 98 computers. But not to any other computers, any other DHCP clients, not to your DHCP server. User defined classes are, just as the name would imply, custom defined and you might identify, might use this to identify specific computers, say in a department such as the sales department, or on a floor of a building so that they get specific options either from a scope or from the server itself. So the things you need to be familiar with for purposes of this module here is how to identify and define some of these things. And how to configure client computers to use the option classes. To define the option classes you'll open up the DHCP console and then right click on the server you're configuring and define either user or vendor classes. The vendor classes again notice some of these are pre-defined Windows 2000/98 options, so that clients of a certain operating system can be configured to get a specific option. You can define your own by defining user classes and there are a couple of pre-defined ones here, to add to either of these, simply click on add, the display name, maybe call it sales and then down here in the value area of this new class dialog box, just enter in the ASCII tags that's going to be associate with this class and then the binary is configured for you. So click on OK and you just configured a new user class. Now in order to take advantage of one of these classes, the client, the DHCP client must first identify itself as being a member of the option class. Some of this happens automatically but otherwise you need to use the utility IPconfig with the setclassid switch. And to do that you first need to open up command prompt and use IPconfig and the way it works is like this. IPconfig, you can also use it with a switch called showclassid and then the, I'm just going to pause and type this. It's hard to type and talk at the same time, but I quote local area connection that's the name of the adaptor for which I want to show the class ID. And if I typed everything correctly, quote it because it has spaces in it by the way. Processing, querying and at the end of this you'll receive a message that looks like this, no class is defined, if indeed none had been defined for the adaptor. To set the class ID, that's the switch. IPconfig, setclassid for the connection and then the value. So now I'm setting a class ID for that local area connection. So again I press enter and if things are typed correctly, processing and we successfully set the class ID for the adaptor, local area connection. Now this computer by the way isn't a DHCP client, so it can't really make use of these, it won't make use of these classes. So if I were to run this again it will say no classes are defined but nonetheless this is the process you would use at a client computer that would identify itself to the DHCP server. Now to actually make use of these options, or these option classes, go back to your DHCP console and now for maybe the scope options, I will right click on the scope options, configure options and now from the advanced tab I should be able to choose user class. Sales class, I want them to have a specific timeserver or a specific name server or a specific DNS server and so on and so on. So this is how you would use these user classes. So once a DHCP client identifies itself as a member of one of these classes, it will then get these very specific options that you can configure. Iit's all about automating as much as possible the configuration of IP in a client computer.

Tutorial Information

Course: Microsoft Windows Server 2003 (70-291)
Author: Brian Culp
SKU: 33478
ISBN: 193207273X
Release Date: 2004-02-26
Duration: 8 hrs / 99 lessons
Captions: For Online University members only
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 81,350 Video Tutorials (20,800 free)
  • Video Available as Flash or QuickTime
  • Over 782 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available