What is DHCP?

DHCP – Dynamic Host Control Protocol, It’s a protocol that quickly pushes out, automatic and central management distribution of IP Addresses within a network. It also automatically assigns Gateway, DNS and Subnet masks.

So how does it Work?

A Host will request an IP address (using DHCP discover packet) from the DHCP server. After the DHCP server assigns the unique address (DHCPOFFER packet) to the Host. The Host will accepts the offer from the server and send back a DHCPREQUEST packet that it has accepted it. The Server then sends an ACK packet to say that’s its acknowledged it.

So what are some of the advantages of using DHCP?

  • Less chance of using the same IP address, so less conflicts
  • Less work needs to be done to assign addresses, Static Addresses do not need to be assigned
  • Less Administration needed from the Admin as its automatically assigned
  • Addresses can be released and renewed to other devices depending on how long you wish them to be assigned for
  •  Less Prone to errors as its configured automatically

Step 1:

Step 2:

Step 3:

Step 4:

Step 5:

Step 6:

Step 7:

Step 8:

Step 9:

Step 10:

Step 11:

Step 12:

Step 13:

Step 14:

Step 15:

Step 16:

Step 17:

Step 18:

Step 19:

Step 20:

Step 21:

Step 22:

Step 23:

Step 24:

Step 25:

Step 26:

Step 27:

Step 28: