Soru

Zorluk: KolayDHCP Architecture and Relay Services

Place the steps of a DHCP Relay Agent forwarding a client's IP address request across subnets into the correct chronological order, from initial client transmission to destination server delivery.

  1. 1The client host broadcasts a DHCPDISCOVER message on its local network segment.
  2. 2The local default gateway interface functioning as a DHCP Relay Agent receives the broadcast packet.
  3. 3The relay agent inserts its interface IP address into the Gateway IP Address (giaddr) field and encapsulates the message as a unicast packet.
  4. 4The relay agent forwards the modified unicast DHCP packet across the network to the central DHCP server.

Cevap

The correct sequence starts with the client broadcasting a DHCPDISCOVER message, followed by the relay agent receiving the broadcast, inserting its gateway IP address (giaddr) and converting the frame to unicast, and finally transmitting the unicast packet to the remote DHCP server.
The sequence begins when an IP-less client broadcasts a DHCPDISCOVER message on its local VLAN. The default gateway's DHCP relay agent intercepts this broadcast, inserts its local interface address into the Gateway IP Address (giaddr) field, rewrites the packet as a unicast message, and forwards it to the target DHCP server.

Adım Adım Çözüm

1
Identify the client's initial discovery attempt
The client broadcasts a DHCPDISCOVER packet on the local segment.
Clients without an IP address cannot communicate via unicast and must use local broadcasts.
2
Identify the relay agent's packet interception
The router interface acting as a DHCP relay agent receives the broadcast packet.
Routers block broadcasts by default unless configured to act as relay agents on that interface.
3
Identify the packet header modification and re-encapsulation
The relay agent populates the giaddr field with its own interface IP address and converts the frame from broadcast to unicast.
The giaddr field tells the central DHCP server which IP pool to allocate an address from.
4
Identify final delivery to the server
The unicast DHCPDISCOVER packet is routed across subnets to the DHCP server.
Unicast packets can be routed through Layer 3 infrastructure to remote subnets.

Anahtar Kavram

DHCP Relay Broadcast-to-Unicast Conversion and Gateway IP (giaddr) Tagging
Bu soruyu puanla