DHCP Server is computer that provides automatic IP addresses to the client machines which are configured to obtain IP address automatically. Since these client machines do not have static addresses they look out for DHCP server located anywhere in the network to receive dynamic IP address from it. As DHCP server has a specific range it provides IP address from that range to the client machine which allows it to connect to all computers connected to a common network and share common IP address range. In some cases however systems admins would not want any specific machine or couple of machines to communicate with the machines connected to regular network. On the contrary they would want a few machines to connect to a separate section of the network which may have separate DNS server and different default gateway. In these cases DHCP servers can be configured with a separate user class which provides a separate range of IP address to the client computers requesting an IP address from the DHCP server. However clients can receive these IP addresses from separate range only when they are configured as the member clients of that specific class. You can configure any client computer to get IP address of any specific user class from DHCP server by following the below instructions:
- Log on to the computer with administrative privileges.
- Click on Start button and from the menu click on Run.
- In the Run command box type CMD and press enter.
- In the opened command window type the following command to make the computer member of DHCP user class. (Assuming that the name of DHCP user class is Accounts)
- Ipconfig /setclassid â€œLocal Area Connectionâ€ â€œAccountsâ€
In the above command â€œLocal Area Connectionâ€ is the name of the LAN card and â€œAccountsâ€ is the name of the DHCP user class. Also by typing ipconfig /showclassid â€œLocal Area Connectionâ€ command you can view the name of the DHCP user class of which a particular LAN Card of your computer is a member.