Soru

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

A network administrator is configuring a Cisco IOS router to act as a DHCP relay agent for host clients residing on VLAN 25 (10.25.0.0/2410.25.0.0/24). The centralized DHCP server is located at IP address 10.100.1.50/2410.100.1.50/24 in a different subnet connected off interface GigabitEthernet0/0/0. Which statements regarding the operation and Cisco IOS configuration of the DHCP relay agent are correct? (Select TWO.)

  1. The `ip helper-address 10.100.1.50` command must be configured under the client-facing subinterface (GigabitEthernet0/0.25).Cevap
  2. The router inserts the client-facing interface IP address into the Gateway IP Address (`giaddr`) field of the DHCP header before unicasting the request to the server.Cevap
  3. C
    The `ip helper-address 10.100.1.50` command must be configured under the egress interface (GigabitEthernet0/0/0) facing the server.
  4. D
    The router retransmits the client broadcast DHCP Discover frame as a layer 2 broadcast frame out the egress server interface.

Cevap

The correct statements are that the `ip helper-address 10.100.1.50` command must be configured on the client-facing interface (GigabitEthernet0/0.25), and that the router populates the Gateway IP Address (`giaddr`) field with its client-facing interface IP address when unicasting the request to the server.
Configuring `ip helper-address 10.100.1.50` on the client-facing gateway interface enables the router to listen for incoming client DHCP broadcasts. When relaying the request to the DHCP server as a unicast IPv4 packet, the router populates the `giaddr` (Gateway IP Address) field in the DHCP payload with the IP address of that client-facing interface, allowing the DHCP server to identify which address pool to select from.

Adım Adım Çözüm

1
Identify the ingress interface for client DHCP broadcasts
Host clients send broadcast DHCP Discover requests on VLAN 25, which arrive at subinterface GigabitEthernet0/0.25.
DHCP relay interception must be enabled on the interface receiving the client broadcast traffic.
2
Verify proper command syntax and interface application
`ip helper-address 10.100.1.50` configured under interface GigabitEthernet0/0.25 converts UDP broadcasts (ports 67/68) into unicast packets destined for 10.100.1.5010.100.1.50.
Applying the command on the egress interface towards the server fails to intercept client broadcasts.
3
Analyze the Relay Agent packet payload modification
The router fills the `giaddr` field in the DHCP payload with the IP address assigned to GigabitEthernet0/0.25.
The centralized DHCP server uses `giaddr` to match the appropriate IP address pool (10.25.0.0/2410.25.0.0/24) for lease allocation.

Anahtar Kavram

DHCP Relay Agent Operation and Interface Configuration
Bu soruyu puanla