published: 30th of September 2017
Dynamic host configuration protocol (DHCP) is used to automatically assign IP addresses to hosts in a network. DHCP is defined in rfc2131.
DHCP uses UDP as its transport protocol. Messages are passed on ports 67 (client to server) and 68 (server to client).
There are four types of DHCP messages:
The DHCP message types where named after a popular cartoon character who likes to explore named DORA.
DHCP OperationNot factual information, but makes it easy to remember
DHCP messages from the client to the server are broadcasts, if the DHCP server is located in another network segment behind a Layer 3 gateway DHCP relay agent will be required.
Various DHCP PCAPs can be found here.