A host PC on a local subnet connects to router interface GigabitEthernet0/0, which is configured with IP address and the command `ip helper-address 10.50.1.10`. When the host broadcasts a DHCP DISCOVER message, the router performs DHCP relay operations. Which source and destination IP addresses are placed in the Layer 3 IP header of the unicast packet forwarded by the router to the DHCP server?
- Source IP: , Destination IP: Answer
- BSource IP: , Destination IP:
- CSource IP: , Destination IP:
- DSource IP: , Destination IP:
Answer
The router sets the source IP address to (the ingress interface address receiving the client broadcast) and the destination IP address to (the DHCP server address configured in the `ip helper-address` statement).
When a Cisco router interface configured with `ip helper-address 10.50.1.10` receives a broadcast DHCP DISCOVER message, it acts as a DHCP relay agent. It populates the gateway IP address (`giaddr`) field in the DHCP payload with the interface's IP address () and encapsulates the payload into a unicast IP packet. The outer IP header uses the interface IP () as the Source IP and the configured helper address () as the Destination IP.
Step-by-Step Solution
Key Concept
DHCP Relay Agent IP Packet Unicast Forwarding and GIADDR Operation