A workstation on a remote VLAN requires an IP address assignment from a central DHCP server located on a different subnet across a Layer 3 router. What is the correct sequence of packet delivery steps during the discovery and offering stage of this relayed DHCP request?
- 1The client host broadcasts a DHCPDISCOVER packet on its local VLAN subnet.
- 2The router interface functioning as the DHCP relay agent receives the broadcast, inserts its gateway IP address (giaddr), and unicasts the DHCPDISCOVER packet to the central DHCP server.
- 3The central DHCP server selects an IP address pool matching the giaddr and replies to the relay agent with a unicast DHCPOFFER packet.
- 4The DHCP relay agent forwards the DHCPOFFER packet onto the local VLAN subnet for the requesting host.
Answer
The sequence begins when the client broadcasts a DHCPDISCOVER packet on its local subnet. The DHCP relay agent receives this broadcast, inserts its own interface address as the gateway IP (giaddr), and forwards the packet as a unicast message to the central DHCP server. The DHCP server matches the giaddr to the appropriate IP scope and returns a unicast DHCPOFFER packet to the relay agent. Finally, the relay agent forwards the DHCPOFFER packet to the local subnet for the client host.
In a cross-subnet DHCP environment, the host initiates the process by broadcasting a DHCPDISCOVER packet locally. The relay agent on the router interface receives this broadcast, populates the giaddr header field with its interface IP, and forwards the packet as a unicast message to the central DHCP server. The server reads the giaddr, allocates an IP from the corresponding scope, and returns a unicast DHCPOFFER packet to the relay agent. The relay agent then forwards the DHCPOFFER message onto the host's subnet.
Step-by-Step Solution
Key Concept
DHCP Relay Agent Packet Processing and Relay Sequence