Home >Common Problem >What is the role of dhcp server
The function of the dhcp server is to "dynamically allocate management IP addresses". DHCP refers to the Dynamic Host Configuration Protocol, which has two main uses: 1. Automatically assign IP addresses to internal networks or network service providers; 2. Use it as a means of central management of all computers for users or internal network administrators.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
The function of the dhcp server is to "dynamically allocate management IP addresses".
Dynamic Host Configuration Protocol, referred to as DHCP, is a LAN network protocol that allows the server to dynamically assign IP addresses and configuration information to clients. Working using the UDP protocol has two main purposes: automatically assigning IP addresses to internal networks or network service providers, and providing users or internal network administrators as a means of central management of all computers.
Function of DHCP server
Two computers connected to the Internet must have their own IP addresses to communicate with each other. Due to limited IP address resources, broadband access Operators cannot allocate a fixed IP address to every user who plans to install broadband (the so-called fixed IP means that even when you are not online, others cannot use this IP address, and this resource is always exclusive to you. ), so DHCP must be used to temporarily allocate addresses to Internet users. That is, when your computer is connected to the Internet, the DHCP server temporarily allocates an IP address to you from the address pool. The IP address allocated each time you access the Internet may be different, which is related to the IP address resources at that time. When offline, the DHCP server may assign this address to other computers that come online later. In this way, IP addresses can be effectively saved, which not only ensures network communication but also increases the usage of IP addresses.
In a network using the TCP/IP protocol, each computer must have at least one IP address in order to communicate with other computers. In order to facilitate unified planning and management of IP addresses in the network, DHCP (Dynamic Host Configure Protocol) came into being. This network service facilitates effective management of client IP addresses in the campus network without the need to manually specify IP addresses one by one.
DHCP uses one or a group of DHCP servers to manage the distribution of network parameters. This solution is fault-tolerant. Even in a network with only a few machines, DHCP is still useful because a machine can be added to the local network with almost no impact.
Even for servers that rarely change addresses, DHCP is still recommended for setting their addresses. If the server needs to be re-addressed (RFC2071), these changes can be made in as few places as possible. For some devices, such as routers and firewalls, DHCP should not be used. It is also useful to put the TFTP or SSH server on the same machine running DHCP for centralized management.
DHCP can also be used to assign addresses directly to servers and desktop computers, and, through a PPP proxy, to dial-up and broadband hosts, as well as residential NAT gateways and routers. DHCP is generally not suitable for use on edgeless routers and DNS servers.
Extended information
In the working principle of DHCP, the DHCP server provides three IP allocation methods: Automatic allocation (Automatic allocation) ), manual allocation and dynamic allocation (Dynamic Allocation).
Automatic allocation means that when the DHCP client successfully obtains an IP address from the DHCP server for the first time, it will use this IP address permanently.
Manual allocation is an IP address specifically designated by the DHCP server administrator.
Dynamic allocation is when the client obtains the IP address from the DHCP server for the first time, it does not use the address permanently. After the first use, the DHCP client needs to release the IP for use by other clients.
The third is the most common form of use.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What is the role of dhcp server. For more information, please follow other related articles on the PHP Chinese website!