A client on a VLAN has no DHCP server on its subnet. The router interface in that VLAN has the command ip helper-address 10.1.1.5, and the DHCP server at 10.1.1.5 holds a pool for the client's subnet. How does the server know which pool to use for the client's request?
Show the answer
Correct answerC. The relay agent writes its own interface IP address into the giaddr field of the forwarded request
AWhy not this: A new client has no address and sources the DISCOVER from 0.0.0.0, so it carries no subnet hint.
BWhy not this: Relays forward DHCP messages; they do not generate DNS queries, and DNS does not assign subnets.
CWhy this is right: The relay stamps giaddr with its ingress interface address, and the server matches that to a scope.
DWhy not this: A MAC address is a Layer 2 identifier with no subnet information, so it cannot select a pool.
A DHCP relay agent forwards the broadcast as unicast and sets the giaddr field to the IP address of the receiving interface. The server uses giaddr to select the matching pool. A MAC address carries no subnet information, so it cannot select a pool.