200-301 Question 278
Single answerA network administrator is configuring static routes on a router. The router has two interfaces: GigabitEthernet0/0 (192.168.1.1) and GigabitEthernet0/1 (10.0.0.1). To ensure that traffic destined for the 172.16.0.0/16 network is sent through the next-hop address of 10.0.0.2, which command should the administrator use?
- A
ip route 172.16.0.0 255.255.0.0 10.0.0.2
- B
ip route 172.16.0.0 255.255.0.0 GigabitEthernet0/1
- C
ip route 172.16.0.0 255.255.0.0 192.168.1.1
- D
ip route 172.16.0.0 255.255.0.0 0.0.0.0
Show answer and explanation
Correct answer: A
Explanation
To configure a static route, you must specify the destination network, subnet mask, and either the next-hop IP address or the outgoing interface. In this scenario, the next-hop IP address (10.0.0.2) is explicitly required, making 'ip route 172.16.0.0 255.255.0.0 10.0.0.2' the correct command.
- A. Correct.
Correct. This command specifies the destination network (172.16.0.0/16) and the next-hop IP address (10.0.0.2), which is the correct way to configure a static route.
- B. Incorrect.
Incorrect. While specifying the outgoing interface (GigabitEthernet0/1) is valid, the question specifically requires the next-hop IP address to be used, not the interface.
- C. Incorrect.
Incorrect. 192.168.1.1 is the IP address of the router's GigabitEthernet0/0 interface, not the next-hop address for the 172.16.0.0/16 network.
- D. Incorrect.
Incorrect. 0.0.0.0 is not a valid next-hop address for a specific static route; it is typically used in default routes.