Soru

Zorluk: KolayDHCP Architecture and Relay Services

A network host on VLAN 10 needs an IP address from a centralized DHCP server located across a routed network on VLAN 100. Place the steps of the initial DHCP discovery and offer process in the correct order from first to last.

  1. 1The host broadcasts a DHCPDISCOVER packet on its local VLAN 10 subnet using UDP port 67.
  2. 2The local router's relay agent receives the broadcast, populates the GIADDR field with its local SVI IP address, and unicasts the packet to the DHCP server.
  3. 3The remote DHCP server receives the unicast message, uses the GIADDR field to select the proper IP pool, and sends a unicast DHCPOFFER back to the relay agent.
  4. 4The relay agent receives the DHCPOFFER and forwards it onto the client's local subnet as a broadcast or unicast frame.

Cevap

The correct sequence starts with the host broadcasting a DHCPDISCOVER packet on its local subnet, followed by the local relay agent populating the GIADDR header and forwarding a unicast packet to the central server, then the DHCP server replying with a unicast DHCPOFFER using the GIADDR to choose the pool, and finally the relay agent delivering the DHCPOFFER to the local host.
The correct sequence reflects standard DHCP relay behavior across subnets: a local client broadcast is captured by the relay agent, converted to a unicast packet containing the GIADDR, processed by the central DHCP server, sent back to the relay agent as a unicast DHCPOFFER, and lastly delivered back to the client host.

Adım Adım Çözüm

1
Identify the initial client transmission on the local subnet.
The host broadcasts a DHCPDISCOVER message on UDP port 67 within VLAN 10.
The client lacks an IP address and must broadcast locally to find a DHCP server.
2
Trace the relay agent intervention at the layer 3 boundary.
The relay agent records its interface IP address in the GIADDR field and unicasts the packet across the network to the DHCP server.
Routers drop broadcast packets by default; the relay agent converts the broadcast into a routable unicast message.
3
Determine the server response mechanism.
The remote DHCP server allocates an IP address matching the GIADDR subnet and sends a unicast DHCPOFFER back to the relay agent.
The server relies on GIADDR information to determine which subnet scope to select.
4
Follow final packet delivery back to the requesting client.
The relay agent forwards the DHCPOFFER onto VLAN 10 so the client host can process it.
The relay agent completes the return path from the centralized server to the local client.

Anahtar Kavram

DHCP Relay Operation and Packet Transformation Sequence
Bu soruyu puanla