Skip to content

Instantly share code, notes, and snippets.

@BoyanXu
Created October 7, 2022 05:57
Show Gist options
  • Save BoyanXu/2cb1fbae91022a25a04703228445a8d0 to your computer and use it in GitHub Desktop.
Save BoyanXu/2cb1fbae91022a25a04703228445a8d0 to your computer and use it in GitHub Desktop.
DHCP
Server Client Server
(not selected) (selected)
v v v
| | |
| Begins initialization |
| | |
| _____________/|\____________ |
|/DHCPDISCOVER | DHCPDISCOVER \|
| | |
Determines | Determines
configuration | configuration
| | |
|\ | ____________/ |
| \________ | /DHCPOFFER |
| DHCPOFFER\ |/ |
| \ | |
| Collects replies |
| \| |
| Selects configuration |
| | |
| _____________/|\____________ |
|/ DHCPREQUEST | DHCPREQUEST\ |
| | |
| | Commits configuration
| | |
| | _____________/|
| |/ DHCPACK |
| | |
| Initialization complete |
| | |
. . .
. . .
| | |
| Graceful shutdown |
| | |
| |\ ____________ |
| | DHCPRELEASE \|
| | |
| | Discards lease
| | |
v v v
Figure 3: Timeline diagram of messages exchanged between DHCP
client and servers when allocating a new network address
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment