A client host connected to VLAN 20 requires an IPv4 address lease from a centralized DHCP server located on VLAN 10. The router acting as the default gateway for VLAN 20 is configured with a DHCP relay agent. What is the correct chronological sequence of network events during the initial discovery and offer process?
- 1The client host broadcasts a DHCPDISCOVER packet on VLAN 20 using UDP source port 68 and destination port 67.
- 2The router's SVI on VLAN 20 intercepts the local broadcast DHCPDISCOVER packet.
- 3The relay agent inserts its own VLAN 20 IP address into the giaddr field and unicasts the packet to the DHCP server on VLAN 10.
- 4The DHCP server evaluates the giaddr field, selects an available address from the VLAN 20 pool, and unicasts a DHCPOFFER back to the relay agent.
- 5The relay agent receives the unicast DHCPOFFER and forwards it onto VLAN 20 to reach the requesting client host.
Answer
The process begins when the client broadcasts a DHCPDISCOVER packet on VLAN 20 (item 1). The Layer 3 router interface on VLAN 20 intercepts the broadcast (item 2). Next, the relay agent populates the giaddr field with its own interface address and forwards the request as a unicast packet to the DHCP server on VLAN 10 (item 3). The DHCP server reads the giaddr, allocates an IP from the VLAN 20 pool, and unicasts a DHCPOFFER back to the relay agent (item 4). Finally, the relay agent transmits the DHCPOFFER onto VLAN 20 for the client host (item 5).
The correct order follows the standard DHCP relay packet flow across Layer 3 boundaries. The process starts with a local client broadcast on VLAN 20, followed by interception by the router interface relay agent. The relay agent sets its local IP in the giaddr field and unicasts the packet to the DHCP server on VLAN 10. The server uses the giaddr to select the VLAN 20 scope and unicasts a DHCPOFFER back to the relay agent, which delivers it onto VLAN 20 for the client.
Step-by-Step Solution
Key Concept
DHCP Relay Agent Operational Sequence and giaddr Field Insertion