Got it

Basics of DHCP (2)

Latest reply: Aug 25, 2021 13:22:19 728 17 17 0 0

Hello, everyone!


Today, I will continue to explain the DHCP protocol. In this second article, I will explain special DHCP messages and lease time.



DHCP messages



If there are some problems with DHCP server or network configuration parameters, we can see the next messages:


  • DHCP NAK. The DHCP server sends this message to the DHCP client, to indicate to the DHCP client that the time of the leased network parameters has expired or that the requested IP address cannot be assigned. After this step, the DHCP client restarts the process from the beginning.


  • DHCP DECLINE. The DHCP client sends this message to the DHCP server to tell him that the IP address is already in use. Then the DHCP process starts again.


  • DHCP RELEASE. When a DHCP client doesn`t want to use the assigned IP address, it sends this message to the DHCP server.


  • DHCP INFORM. When a DHCP client only has a manually configured IP address and needs other network configuration parameters. The DHCP client then sends this message to the DHCP server.



Lease time



The DHCP server leases the IP address to the DHCP client for a specified period of time. That time is called lease time. The DHCP client can request an extension of the IP address (renewal process).


After the 50% lease time expires, the DHCP client starts the RENEWAL process. The DHCP client sends a unicast DHCP REQUEST RENEWAL to the DHCP server. In this way, the DHCP client requests an extension of the use of network parameters.


If the DHCP server is unavailable, the DHCP client will constantly send a unicast DHCP REQUEST message until it enters the REBINDING state. REBINDING TIMER is usually 85% lease time.


The DHCP client then begins sending a broadcast DHCP REQUEST message to receive a response from any available DHCP server. The available DHCP server can accept (DHCP ACK) or reject the request (DHCP NAK).


In this second article about DHCP, I explained special messages and lease time. If you want to continue reading about DHCP, click on my next link. In the next article Basics of DHCP(3), I will show you DHCP relay principles.



Thank you!


The post is synchronized to: Vlada85's Author Collection

thank you for sharing
View more
  • x
  • convention:

Sara_Obaid
Moderator Created Aug 18, 2021 04:43:27

Excellent post on the basics of DHCP. Thank you for sharing!
View more
  • x
  • convention:

Good work!, Many thanks for sharing
View more
  • x
  • convention:

cool
View more
  • x
  • convention:

Awesome post
View more
  • x
  • convention:

ulrichwandja
ulrichwandja Created Aug 18, 2021 17:43:27 (0) (0)
Yeah  
Thanks for your explanation about dhcp
View more
  • x
  • convention:

Good post
View more
  • x
  • convention:

Great share
View more
  • x
  • convention:

Nice one.
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.