What is DHCP?
DHCP is the Dynamic Host Configuration Protocol (Dynamics host Configuration Protocol), which is designed to reduce the burden of planning, management, and maintenance of TCP/IP networks and to address the lack of address space. This kind of network service facilitates the effective management of the client IP address in the network.
The DHCP feature is divided into two parts: one is the server side and the other is the client (the client does not have to install, and Windows 9X/2000/XP starts the DHCP client service by default). DHCP, through the concept of "lease", effectively and dynamically allocates TCP/IP settings for clients. Below we will combine the Tp-link broadband router tl-r410 to specify the function of the DHCP server.
DHCP its predecessor is BOOTP. BOOTP was originally used for a network without disk host connection: The network host uses the BOOT ROM instead of the disk to start and connect to the network, BOOTP can automatically set the TCP/IP environment for those hosts. But BOOTP has a disadvantage: you need to obtain prior to the client's hardware address, and the corresponding IP is static. In other words, BOOTP is very lack of "dynamic", if in a limited IP resource environment, BOOTP one-to-one corresponding will cause a very considerable waste.
DHCP can be said to be the enhanced version of BOOTP, it is divided into two parts: one is the server side, and the other is the client. All IP network settings data are centrally managed by the DHCP server and are responsible for handling the DHCP requirements of the client, while the client uses the IP environment data that is assigned from the server. Compared to BOOTP, DHCP through the concept of "lease", efficient and dynamic allocation of client TCP/IP settings, and, as a compatibility consideration, DHCP also fully take care of the requirements of BOOTP client. The allocation form of DHCP first, you must have at least one DHCP job on the network, which listens to DHCP requests on the network and consults with the client about the settings environment for TCP/IP.
How do I set up a DHCP server?
Today, we take the most common example of tl-r410 as a detailed explanation of how to set up a DHCP server.
1, the first landing router interface, the initial landing account for 192.168.1.1, password for admin, login Web Admin interface, you can see the Router Setup Wizard
You can then see a DHCP server option on the left, select a DHCP server, and you can see three subfolders, DHCP features, client lists, and static address assignments. Select the DHCP service to enter the following settings screen
The first option is to enable the DHCP server (as shown above) so that you can take advantage of the automatic assignment of address features. Address pool start Address: The starting address of the IP that the DHCP server automatically assigns. Address pool End Address: The IP end address that is automatically assigned by the DHCP server. Gateway: Optional, recommended to fill in the Router LAN port IP address, default is 192.168.1.1, the default domain name is not filled, DNS can ask the local ISP operator or query DNS address
Note: In order to use this router's DHCP server functionality, the TCP/IP protocol for each computer in the local area network must be set to "Automatically obtain an IP address." This feature requires that the router be restarted to take effect.