• We’ve seen that DHCP automatically assigns IP settings to devices.

    But how does it actually work behind the scenes?

    Let’s break it down together.

    DHCP Ports

    The DHCP protocol uses specific ports to communicate:

    • UDP port 68 — used by the DHCP client

    • UDP port 67 — used by the DHCP server

    Illustration of the dynamic host configuration protocol showing DHCP client using UDP port 68 and DHCP server using UDP port 67 on the 192.168.1.0/24 network.

    Figure 1 – DHCP communication using UDP port 68 for the client and UDP port 67 for the server.

    These ports are used throughout the DHCP process.

    Make sure to remember them for your CCNA exam.

    The DHCP Process (Step by Step)

    When a device connects to a network without an IP address, it uses DHCP to automatically obtain its network configuration.

    This happens through a 4-step process often referred to as DORA:

    Discover, Offer, Request, Acknowledge

    Let’s go through each step.

    Answer the question below

    Which UDP port does the DHCP client use?