Soru

Zorluk: OrtaDHCP Server, Client, and Relay Agent Operation and Configuration

A host client on VLAN 10 requests an IPv4 address assignment from a centralized DHCP server located across a Cisco router acting as a DHCP relay agent. Arrange the operational steps of the initial address discovery process in the correct chronological sequence.

  1. 1The host client broadcasts a DHCPDISCOVER message on the local VLAN 10 segment.
  2. 2The relay agent receives the broadcast, populates the giaddr field with its local ingress interface IPv4 address, and unicasts the DHCPDISCOVER message to the central DHCP server.
  3. 3The DHCP server matches the giaddr field to an IP address pool, allocates an available address, and sends a unicast DHCPOFFER message to the relay agent.
  4. 4The relay agent receives the unicast DHCPOFFER and forwards the message out to the client on VLAN 10.

Cevap

The operational sequence begins with the host broadcasting a DHCPDISCOVER message on the local segment. Next, the relay agent populates the giaddr field with its ingress interface IPv4 address and unicasts the request to the central DHCP server. The DHCP server uses giaddr to select the correct IP pool and returns a unicast DHCPOFFER to the relay agent. Finally, the relay agent forwards the DHCPOFFER back onto the client subnet.
The sequence follows standard DHCP relay agent behavior: first the host broadcasts a DHCPDISCOVER on VLAN 10, then the relay agent populates the giaddr field with its local ingress IP and unicasts the packet to the DHCP server. The DHCP server uses giaddr to select the appropriate address pool and returns a unicast DHCPOFFER to the relay agent. Finally, the relay agent forwards the DHCPOFFER out to the host on VLAN 10.

Adım Adım Çözüm

1
Identify the initial client message
The host broadcasts a DHCPDISCOVER packet on its local broadcast domain (VLAN 10).
DHCP clients initially have no IP address configuration and must send a Layer 2/3 broadcast to locate a DHCP server.
2
Analyze the relay agent processing step
The router interface configured with ip helper-address intercepts the broadcast, inserts its IP address into the giaddr field, and sends a unicast DHCPDISCOVER to the specified DHCP server IP.
Routers drop broadcast packets by default; the helper function encapsulates the request into a unicast IPv4 packet and identifies the originating subnet via giaddr.
3
Identify server processing and offer response
The central DHCP server receives the unicast packet, matches giaddr to its pool configuration, selects an available lease, and sends a unicast DHCPOFFER to the relay agent's IP address.
The server needs giaddr to know which pool to allocate from when clients are not on the local layer 2 segment.
4
Analyze relay agent client delivery step
The relay agent receives the DHCPOFFER and forwards it out the local client-facing interface onto VLAN 10.
The relay agent completes the initial offer phase by presenting the offered lease parameters back to the client subnet.

Anahtar Kavram

DHCP Relay Agent Operation and giaddr Population
Tahmini Süre:1m 30s
Bu soruyu puanla