200-301 · Question #630
Which command must be entered to configure a DHCP relay?
The correct answer is D. ip helper-address. To configure a router interface to act as a DHCP relay agent, the ip helper-address command is used, directing DHCP broadcast requests to a specific DHCP server.
Question
Which command must be entered to configure a DHCP relay?
Options
- Aip dhcp relay
- Bip dhcp pool
- Cip address dhcp
- Dip helper-address
How the community answered
(59 responses)- A5% (3)
- B7% (4)
- C2% (1)
- D86% (51)
Why each option
To configure a router interface to act as a DHCP relay agent, the `ip helper-address` command is used, directing DHCP broadcast requests to a specific DHCP server.
`ip dhcp relay` is not a standard Cisco IOS command for configuring a DHCP relay agent on an interface; the correct command is `ip helper-address`.
`ip dhcp pool` is used to configure a DHCP server on the router itself, defining the range of IP addresses and other options, not to relay client requests to an external server.
`ip address dhcp` is an interface command used to configure the interface itself to obtain its IP address via DHCP, not to relay DHCP requests from other devices.
The `ip helper-address` command is configured on a router interface to forward specific UDP broadcast services, most notably DHCP (port 67 and 68), from a client's subnet to a DHCP server located on a different subnet. This enables DHCP clients to obtain IP addresses even if their DHCP server is not on the same local network segment.
Concept tested: DHCP Relay configuration
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dhcp/configuration/xe-3s/dhcp-xe-3s-book/dhcp-relay-agent.html
Topics
Community Discussion
No community discussion yet for this question.