Got it

Introduction of DHCP

Latest reply: Apr 14, 2022 04:26:14 659 8 6 0 0

Hello everyone,

Today I will introduce to you DHCP.

DHCP is widely used in the current network, no matter the enterprise network or the home network. It helps the terminals to get the IP address from the DHCP server, so that they could communicate with the Internet.


In this post, we are going to introduce the DHCP briefly.


For a typical DHCP network, it contains three parts, DHCP client, DHCP relay and DHCP server. Sometimes, there might be no DHCP relay, it’s only necessary when the DHCP clients accessing devices are not in the same network with the DHCP server. DHCP client is a general term of devices which obtains IP address from the DHCP server. DHCP server are the equipments which provide the IP addresses.


 

162521d87cjlzeuc0de8up.png


DHCP architecture

 

Commonly, when the DHCP client accessing to the network, the following procedures will be processed to get the IP address.


162522pixcxcid9hlz99zi.png


When the PC enables the DHCP to access the network, it will broadcast DHCP DISCOVER packets to find the DHCP server. The DHCP server will answer the request with DHCP OFFER packet, it should be pointed out that the DHCP OFFER is not a broadcast packet, it is a unicast packet. Then, the PC will boradcast the DHCP REQUESTpacket to request IP address, and the DHCP server will answer this request with DHCP ACK packet to finish the IP address requesting.

 

162522wcghpqmhoglohycr.png

162522or2om1m2wmaa0w3w.jpg


 

The main processing is just as we listed previously, in fact, there migh be other steps, such as DHCP inform message is sent by a DHCP client to obtain other network configuration parameters such as the gateway address and DNS server address after the DHCP client has obtained an IP address, while we jumped over.

That is all I want to share with you! Thank you!


For more information about DHCP packets, refer to the following post.

Introduction of the DHCP packet



View more
  • x
  • convention:

Good share
View more
  • x
  • convention:

Excellent! Keep up the good work!
View more
  • x
  • convention:

chenhui
chenhui Created 2021-11-9 08:58 (0) (0)
Thank you Kevin,  

For more information about DHCP packets, refer to the following post.

Introduction of the DHCP packet



View more
  • x
  • convention:

Good share
View more
  • x
  • convention:

Thanks for sharing
View more
  • x
  • convention:

chenhui
chenhui Created 2022-4-11 09:42 (0) (0)
Thank you!  
hemin88
Moderator Author Created 7 days ago

DHCP (Dynamic Host Configuration Protocol) is a protocol used to automatically assign IP address, netmask, gateway and DNS address to your devices such as computers, tablets, smartphones or IOTs in your network.

View more
  • x
  • convention:

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.