A client workstation on VLAN 30 () boots up and requires an IP address assignment from a centralized DHCP server () located across a routed core network. The local Layer 3 switch interface serving VLAN 30 () is configured with a DHCP relay service (`ip helper-address 192.168.100.10`). Arrange the following steps in the correct chronological sequence representing the packet processing flow from the client's initial broadcast request through the relay agent's delivery of the DHCP Offer back to the host subnet.
- 1The host workstation broadcasts a `DHCPDISCOVER` packet with source IP and destination IP onto VLAN 30.
- 2The Layer 3 switch interface receives the broadcast, populates the `giaddr` field with , and unicasts the encapsulated packet with source IP and destination IP across the routed core.
- 3The central DHCP server evaluates the incoming `giaddr` payload (), selects an unassigned IP from the corresponding scope pool, and transmits a unicast `DHCPOFFER` payload directed to .
- 4The Layer 3 switch receives the unicast `DHCPOFFER`, inspects the `chaddr` client MAC address, and forwards the `DHCPOFFER` as a layer 2 broadcast or unicast frame targeted to port on VLAN 30.
Cevap
The correct chronological sequence is: 1) Host workstation broadcasts DHCPDISCOVER on VLAN 30. 2) Relay agent populates giaddr with 10.30.0.1 and unicasts request to server 192.168.100.10. 3) Server evaluates giaddr, allocates IP from 10.30.0.0/24 scope, and unicasts DHCPOFFER to 10.30.0.1. 4) Relay agent receives reply and delivers DHCPOFFER onto VLAN 30 to port 68.
The sequence follows the standardized DHCP relay mechanism. First, the unconfigured client broadcasts a DHCPDISCOVER on UDP port 67 within its local VLAN. Second, the Layer 3 switch acting as the relay agent intercepts the broadcast, inserts its ingress interface IP address (10.30.0.1) into the giaddr header field, and unicasts the packet to the central DHCP server IP address (192.168.100.10) on UDP port 67. Third, the central server uses the giaddr field to identify that the client resides on the 10.30.0.0/24 subnet, picks an available IP address from that pool, and responds with a unicast DHCPOFFER directed back to the relay agent's interface IP (10.30.0.1). Finally, the relay agent receives the offer, strips any relay-specific options, and transmits the DHCPOFFER to the host on VLAN 30 on UDP port 68.
Adım Adım Çözüm
Anahtar Kavram
DHCP Relay Architecture and GIADDR Subnet Identification