What is the DHCP server ID?

Source: Internet
Author: User

We know that the DHCP protocol is widely used in network management and many DHCP servers are used. Therefore, we hope you can pay attention to this part. Next, let's look at the DHCP class ID of the adapter. Displays DHCP category ID information on the client computer.

1. Open a command prompt on the client computer running Windows XP or Windows 2000 with DHCP enabled 。
 
2. Use the Ipconfig command line utility to display the DHCP class ID used by the client when obtaining the lease from the DHCP server 。

Enter the ipconfig/showclassid command as shown in the following example. This example shows the ASCII string ("MyNewClassId") currently set as the lan dhcp category ID on the client "):

C: \> ipconfig/showclassid "Local Area Connection"

Windows xp ip Configuration

DHCP Class ID for Adapter "Local Area Connection": DHCP ClassID Name ........: Default BOOTP ClassDHCPClassID Description ....: User class for BOOTP clientsDHCPClassID Name ........: Default Remote Access ClassDHCPClassID Description ....: User class for remote access clients

Host Name ............: HOSTA Primary DNS Suffix .......: example.microsoft.com Node Type ............: Hybrid IP Routing Enabled ........: No WINS Proxy Enabled ........: No

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix.: Description ...........: Combo PCMCIA EthernetCard Physical Address .........: 00-00-00-00-7C-DCDHCPEnabled ...........: Yes Autoconfiguration Enabled ....: Yes IP Address ............: 10.0.0.51 Subnet Mask ...........: 255.255.255.0 Default Gateway .........: 10.0.0.1DHCPClass ID ..........: MyNewClassId DNS servers ...........: 10.0.0.3 Primary WINS server .......: 10.0.0.5

Note:

• To open a command prompt, click Start to point to all programs and attachments, and then click command prompt "。
 
• To enable the DHCP option category to take effect between the DHCP server and its clients, both must be configured with a matching DHCP type ID string. When the client obtains the address lease from the server, this string identifies the client as a member of a specific user or supplier option category 。

Set the DHCP class ID of the adapter

Set DHCP category ID information on the Client Computer

1. Open the "command prompt" on the client computer that runs Windows XP and has DHCP enabled "。
 
2. Use the Ipconfig command line tool to set the DHCP class ID used by the client when obtaining the lease from the DHCP server 。

You can enter the ipconfig/setclassid command as follows. In this example, set the ASCII string ("MyNewClassId") to the DHCP category ID string of the LAN connection used on the client computer:

C: \> ipconfig/setclassid "Local Area Connection" MyNewClassId

Windows xp ip Configuration

DHCP ClassId successfully modified for adapter "Local Area Connection"

Note:

• To open a command prompt, click Start to point to all programs and attachments, and then click command prompt "。
 
• You can use the ipconfig/showclassid command to display all DHCP class IDs allowed by any network adapter installed on your computer 。

• To enable the DHCP option type to take effect between the DHCP server and its clients, both the client and the DHCP server must configure a matching DHCP type ID string. When the client obtains the address lease from the server, this string identifies the client as a member of a specific user or supplier option category 。

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.