For those of you vocational students who choose vocational courses in the field of computers and you are a student who chose a computer major, you must be familiar with the name DHCP. DHCP or Dynamic Host Configuration Protocol is used to set the server to connect to client computers.
A brief understanding of DHCP is a service that will automatically provide IP numbers to each computer that has requested it, and then the computer will give the IP number this is what is called a DHCP server.
And the computer that requests it is called the DHCP client. For that, you also need to know and know the functions of this DHCP server clearly. This article will explain the functions of DHCP and how the DHCP server works clearly.
DHCP Server Functions
Before knowing the functions of the DHCP Server, you must first know the meaning of DHCP Server clearly. DHCP, which stands for Dynamic Host Configuration Protocol is a protocol that has a server or client based architecture that is used to be able to easily allocate IP addresses on one network.
A local network that does not use DHCP is required to assign IP addresses to each computer manually. If the DHCP is installed on local network then each computer will be connected to the network that will get an IP address automatically from the DHCP server.
Not only share IP addresses, but DHCP servers also share a lot some network parameters that can be given to the client computer, for example, such as the DNS server and also the default gateway.
If you already know what the DHCP server means, it's time to find out what the DHCP Server functions. The following functions of the DHCP Server:
- DHCP is usually used to assign IP addresses automatically to all client computers that are already connected in the server computer network.
- DHCP is also often used by Network Administrators to manage networks on computers and also to address IP addresses automatically in one work. Generally to do that the computer uses the DHCP manager.
- DHCP servers also have the benefit of being able to provide a service that is leasing IP addresses dynamically and also statically. This is done in accordance with client requests and also DHCP can serve network rentals for a large number.
- DHCP is also able to accelerate the performance of a client computer in the process of sending and processing a number of data.
How it Works DHCP Server
In how it works DHCP has four stages. And these steps are carried out in the process of borrowing an IP Address in the DHCP. The following explains how DHCP works in these four stages:
1. IP Least Request Stage
At the first stage of the DHCP server, this is the stage where a client computer on the network requests an IP Address that is already available on the DHCP Server.
Initially, the first time the client computer is connected in a network the client computer will request an IP address on the available DHCP server.
2. IP Least Offer Stage
In this second stage, the IP Least Offer stage. Where in this second stage DHCP server hears broadcat delivered by new clients connected to the network earlier. And then the DHCP server will provide an offer on the client computer that is an IP Address
3. IP Lease Selection Stage
In this third stage it is often called the IP Lease Selection stage. Because after being given an IP Address offer from the DHCP Server, the client computer that requested it previously also agreed to the offer that was given by the DHCP server.
And then the client computer will give a message to the DHCP server that contains a request that the DHCP server lends one of the IP Addresses that have been available previously in the DHCP-pool it has. DHCP-pool is an IP rancge that can be used by a host connected to it.
4. IP Least Acknowledge Stage
And the last is the fourth stage of how the DHCP server works, at this stage it is named the IP Least Acknowledge stage. This last stage is that the DHCP server will respond to messages from the client computer by sending an acknowledgment packet containing the IP Address with other information that will be needed.
And then after giving the IP Address to the client computer, the DHCP server will update the contents of the dtabase they already have. And while the client will initialize an activity by binding the IP address number that has been given previously and the client computer can operate on the network.
For you to better understand how it works, when a computer from the client computer is connected with a network, the computer will also request an IP from the DHCP server. The DHCP server will answer by providing information related to the IP Address to the client computer.
Then after lending the IP Address, the DHCP server will eliminate the IP in the list of pools that it already has. And then it will indicate that the IP has been lent to one of the client computers.
But if in the IP pool list there are no more IP addresses still available, the client computer will not get an IP address from the DHCP server. That way, the client computer will never be able to connect to the network.
Generally lending the IP address has a certain amount of time, usually according to the plan set by a network administrator. So, after a certain period of time, the use of an IP address on the client computer has been declared complete.
And if the client computer does not re-request, then the IP address will be returned to the DHCP server that has lent it. DHCP cerver can lend the IP address to other client computers that need it.
Such is the explanation of the DHCP Server along with its functions and ways of working. Hopefully with this article, you can easily understand the DHCP server.