A Cisco IOS router with an IP helper address configured receives a DHCP DISCOVER broadcast message from a client host. Place the operational steps performed by the relay agent in the exact sequential order from receiving the initial request to forwarding it to the remote DHCP server.
- 1Receives a Layer 2 Ethernet broadcast frame containing a UDP DHCP DISCOVER message on the client-facing ingress interface.
- 2Inspects the DHCP payload and verifies that the Gateway IP Address (giaddr) field is set to 0.0.0.0.
- 3Inserts the IP address of its local receiving ingress interface into the Gateway IP Address (giaddr) field.
- 4Replaces the destination broadcast IP address 255.255.255.255 with the unicast IP address configured in the ip helper-address command.
- 5Encapsulates the modified packet into a unicast Layer 2 frame and forwards it out the egress interface toward the DHCP server.
Answer
The correct sequence of DHCP Relay operations is: 1) Receive the Layer 2 broadcast frame on the client-facing ingress interface, 2) Inspect the DHCP payload to verify that giaddr is 0.0.0.0, 3) Insert the receiving ingress interface IP address into the giaddr field, 4) Replace the broadcast destination IP address (255.255.255.255) with the unicast IP address specified by the ip helper-address command, and 5) Encapsulate and route the unicast packet out the egress interface toward the DHCP server.
When a Cisco IOS router acts as a DHCP Relay Agent, it intercepts local client DHCP DISCOVER broadcast frames on the ingress interface. It inspects the DHCP payload to verify that giaddr is 0.0.0.0, inserts the ingress interface's IP address into the giaddr field, rewrites the destination IP from 255.255.255.255 to the unicast IP defined in the helper address command, and forwards the frame out the egress interface via normal unicast routing.
Step-by-Step Solution
Key Concept
DHCP Relay Agent Operational Packet Sequence and Header Rewrite Mechanics
Estimated Time:2m 0s