What is DHCP?

Source: Internet
Author: User
Tags fully qualified domain name

As you know, there are usually no fixed IP addresses when dialing the internet. In addition, after the dial-up goes online, we don't need to worry about IP addresses, gateways, and DNS, because these are all set by the Telecommunications Bureau. After going online, I got an IP address. After we got disconnected, the address was reclaimed by China Telecom and provided to others. This is very similar to DHCP.

The Dynamic Host Configuration Protocol service means that each client (Workstation) does not have its own fixed IP address. After the system is started, an IP address temporarily provided to this machine obtained from the DHCP server. The subnet mask, DNS, and gateway are specified for these IP addresses on the DHCP server. This IP address is obtained when the client starts. When the client closes the system, the IP address is automatically returned.

What are the benefits of using DHCP?

When there are many hosts, once the network changes, I just need to make some modifications on the DHCP server, and the entire network can be used again, the client only needs to be restarted once, and the network settings are modified when the IP address is obtained again. If you use a fixed IP address, we need to modify each computer. Undoubtedly, this is very painful!

However, it also has its disadvantages, that is, it needs to occupy a machine for dedicated DHCP servers. In particular, when there are too many hosts, if the server is unstable, there will also be problems such as the inability to recycle IP addresses and the inability to issue ip addresses!

How to Implement DHCP

1. Open the DHCP manager. Select Start>Program→ Administrative Tools → DHCP ". By default, your server's FQDN (fully qualified domain name, fully qualified domain name) exists. For example, my computer is bluewolf.pcinchina.com.

2. If no server exists in the list, add a DHCP server. Select DHCP, right-click, select "Add Server", select "this server", and then press "Browse" to select (or directly enter) The server name.

3. Open the scope setting window. Select the FQDN name, right-click, and select "new scope ".

4. Set the domain name to be used. The "name" here is only a prompt and can be filled with any content.


Figure 1

5. Set the allocable IP address range (1): for example, 192.168.0.1 ~ 192.168.8.254, enter 192.168.0.1 in the "Start IP Address" field, 192.168.8.254 in the "end IP Address" field, and 255.255.0.0 in the "subnet mask" field.


Figure 2

6. If necessary, enter the IP address or IP address range to be retained in the options below (2); otherwise, click "Next.


Figure 3

7. In the following "Lease Term", you can set the validity period of the IP address allocated by the DHCP server (3), for example, one year (365 days ). Then proceed to the next step.


Figure 4

8. In the displayed window, select "yes, I want to configure these options" to continue configuring the default gateway, default DNS address, and default WINS server assigned to the workstation, add the IP address of the server in the IP address column, such as 192.168.0.88, and then select "yes, I want to activate the scope" as prompted ". Click "finish" to complete the final settings. As shown in figure 4.

9. Set the network attribute of any workstation in the local network to "automatically get IP Address" and set the DNS server to "disabled ", the gateway bar is left blank (NO content). After the gateway is restarted successfully, run winipcfg (in Windows 98) to see that the items have been allocated successfully!

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.