diff --git a/doc/dhcp_server/images/dhcp_process_release.png b/doc/dhcp_server/images/dhcp_process_release.png new file mode 100644 index 0000000000..7976df6dcc Binary files /dev/null and b/doc/dhcp_server/images/dhcp_process_release.png differ diff --git a/doc/dhcp_server/images/dhcp_process_renew.png b/doc/dhcp_server/images/dhcp_process_renew.png new file mode 100644 index 0000000000..bff062a3e6 Binary files /dev/null and b/doc/dhcp_server/images/dhcp_process_renew.png differ diff --git a/doc/dhcp_server/port_based_dhcp_server_high_level_design.md b/doc/dhcp_server/port_based_dhcp_server_high_level_design.md index ad336ce2bc..43d83916d5 100644 --- a/doc/dhcp_server/port_based_dhcp_server_high_level_design.md +++ b/doc/dhcp_server/port_based_dhcp_server_high_level_design.md @@ -1,4 +1,4 @@ -# Port Based DHCP_SERVER in SONiC +# IPv4 Port Based DHCP_SERVER in SONiC # High Level Design Document **Rev 0.1** @@ -82,32 +82,27 @@ Configuration of DHCP server feature can be done via: * SONiC CLI # 2 Functionality -DHCP server listens to port 68 and waits for messages from client. DHCP server and DHCP client complete IP address assignment through four-step packet interaction: -1. Discover +DHCP server listens to port 68 and waits for messages from client. Below are three common scenarios: - DHCP client requesting DHCP IP for the first time does not know the IP address of DHCP server, and sends a DHCP DISCOVER packet in broadcast mode. +**1) Establish new lease** -2. Offer - - DHCP server performs matching after receiving the DHCP DISCOVER packet, selects an available IP address for allocation according to the configuration, and sends a DHCP OFFER packet. - -3. Request +