Learn Steps

Why you need DHCP (Dynamic Host Configuration Protocol) and how it works

The first draft of DHCP was written in October 1993. Lets time travel and go to a time where there is no DHCP. Lets have a look at the why you need DHCP. It is very important as it provide the machines their identity to be on the network grid. DHCPD is a server for dhcp

Problems faced

When there were no DHCP people has to manually request for the following things:-

  1. IP Address
  2. Network Subnet mask
  3. Gateway Address
  4. DNS name servers ( For converting Domain name to IP address)
    It was tedious process to get these things. These things will be issued for you some period of time (for example 1 year) and if you want to use the network for only two months then these are being unused for the rest 9 months. This was a bad example for utilisation of resources and also increasing the manual overhead of maintaining the free IP address and which address are given to whom.

Solution

To solve these issues DHCP comes into the pictures. It works over UDP (User Datagram Protocol). It eases the process of distributing the IP address to the nodes. The overall steps are very simple. Whenever the host wants to connect to the network it follows the following the simple steps.

Well, this is an efficient way to implement IP distribution and thus removes all manual overhead. It was a great protocol that sits at the root of modern-day cloud infrastructure and does a very important job of assigning IPs to them. Why because if you don’t get IP you are out of the network grid.

If you like the article please share and subscribe.