200-301 · Question #1024
The clients and OHCP server reside on different subnets. Which command must be used to forward requests and replies between clients on the 10.10.0.1/24 subnet and the DHCP server at 192.168.10.1?
The correct answer is C. ip helper-address 192.168.10.1. To enable DHCP clients on one subnet to receive IP addresses from a DHCP server on a different subnet, the router connecting them must be configured as a DHCP relay agent.
Question
The clients and OHCP server reside on different subnets. Which command must be used to forward requests and replies between clients on the 10.10.0.1/24 subnet and the DHCP server at 192.168.10.1?
Options
- Aip route 192.168.10.1
- Bip default-gateway 192.168.10.1
- Cip helper-address 192.168.10.1
- Dip dhcp address 192.168.10.1
How the community answered
(38 responses)- A5% (2)
- B3% (1)
- C89% (34)
- D3% (1)
Why each option
To enable DHCP clients on one subnet to receive IP addresses from a DHCP server on a different subnet, the router connecting them must be configured as a DHCP relay agent.
The `ip route` command is used to establish static routing entries and does not specifically address the forwarding of broadcast DHCP requests across subnets.
The `ip default-gateway` command is typically used on an end device or a Layer 2 switch for its own management traffic, not on a router to forward client DHCP requests.
DHCP requests are broadcast messages that do not traverse router boundaries by default. The `ip helper-address` command, configured on the router interface connected to the client subnet, intercepts these broadcasts and converts them into unicast packets, forwarding them to the specified DHCP server at 192.168.10.1.
The `ip dhcp address` command is not a standard Cisco IOS command for configuring DHCP relay functionality; it might be part of configuring a DHCP server on the router itself, which is not the goal here.
Concept tested: DHCP Relay Agent configuration
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dhcp/configuration/15-mt/dhcp-15-mt-book/dhcp-relay-agent.html
Topics
Community Discussion
No community discussion yet for this question.