The role of the 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 provide each IP address. Broadband users can all be assigned a fixed IP address, so DHCP must be used to temporarily allocate addresses to Internet users.
#The operating environment of this article: Windows 7 system, Dell G3 computer.
The role of the 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, so they must use DHCP 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 it goes 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.
Extended information
In the working principle of DHCP, the DHCP server provides three IP allocation methods: automatic allocation (Automatic allocation), manual allocation and dynamic 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.
Related video recommendations:PHP programming from entry to proficiency
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!