Soru

Zorluk: OrtaDHCP Architecture and Relay Services

An enterprise network utilizes a centralized DHCP server on a management subnet to serve clients across multiple remote VLANs. A host on VLAN 30 initiates dynamic address assignment via a Layer 3 relay switch configured with Option 82 agent information insertion. In what chronological sequence do the packet processing and forwarding steps occur during the initial address discovery phase?

  1. 1The host broadcasts a DHCPDISCOVER packet across its local VLAN 30 broadcast domain.
  2. 2The Layer 3 relay agent captures the broadcast, appends Option 82 metadata, populates the giaddr field with its interface IP, and forwards a unicast packet to UDP port 67 of the central DHCP server.
  3. 3The central DHCP server evaluates the giaddr field to select the correct address scope, allocates an IP address, and unicasts a DHCPOFFER packet back to the relay agent's interface IP.
  4. 4The relay agent receives the unicast DHCPOFFER, strips the Option 82 information, and forwards the DHCPOFFER onto the local VLAN 30 segment to the client.

Cevap

The correct chronological sequence begins with the local client broadcasting a DHCPDISCOVER message on VLAN 30. Next, the Layer 3 relay agent intercepts the broadcast, appends Option 82 payload data, populates its own interface IP into the giaddr field, and forwards the packet via unicast UDP port 67 to the central server. The DHCP server inspects the giaddr value to allocate an available address from the VLAN 30 scope and sends a unicast DHCPOFFER back to the relay agent. Finally, the relay agent removes Option 82 header tags and forwards the DHCPOFFER to the client on VLAN 30.
The DHCP relay process begins with a local Layer 2 broadcast (DHCPDISCOVER). The relay agent converts this into a unicast frame augmented with Option 82 and giaddr IP information directed to the central DHCP server's UDP port 67. The central server uses the giaddr field to match the correct subnet pool and returns a unicast DHCPOFFER to the relay agent. The relay agent removes Option 82 tags and delivers the offer frame back to the local client.

Adım Adım Çözüm

1
Client broadcast initiation
DHCPDISCOVER frame is transmitted onto the local Layer 2 broadcast domain.
Unconfigured hosts do not possess an IP address or knowledge of the server location, requiring a broadcast transmission.
2
Relay agent interception and encapsulation
The broadcast is converted to a unicast packet targeting the server on UDP port 67 with giaddr and Option 82 appended.
Routers drop Layer 2 broadcasts by default; the helper agent acts as a proxy to cross Layer 3 boundaries.
3
Server processing and unicast reply
DHCPOFFER packet is crafted and sent back to the giaddr IP of the relay agent.
The server uses giaddr to map the request to the matching IP pool subnet and relies on unicast routing back to the relay.
4
Relay agent decapsulation and local delivery
Option 82 data is stripped and the DHCPOFFER is delivered to the client on VLAN 30.
The client network card expects standard DHCP response formatting on its local segment.

Anahtar Kavram

DHCP Relay Agent and Option 82 Forwarding Sequence
Bu soruyu puanla