200-301 Question 322
Single answerA network administrator needs to configure a host route on a router to ensure that traffic destined for a specific host (192.168.1.10) in the network is routed through a specific next-hop IP address (10.1.1.1). Which command should the administrator use to achieve this?
- A
ip route 192.168.1.10 255.255.255.255 10.1.1.1
- B
ip route 192.168.1.0 255.255.255.0 10.1.1.1
- C
ip route 192.168.1.10 255.255.255.0 10.1.1.1
- D
ip route 192.168.1.10 0.0.0.0 10.1.1.1
Show answer and explanation
Correct answer: A
Explanation
A host route is used to route traffic destined for a specific host (a single IP address) through a specific next-hop IP address. It is configured using the ip route command with a /32 subnet mask (255.255.255.255). This ensures that only traffic for the specified IP address is routed through the defined next-hop.
- A. Correct.
This is the correct command for configuring a host route. A host route is identified by a /32 mask (or 255.255.255.255 in dotted-decimal format), which specifies a single IP address.
- B. Incorrect.
This command configures a network route for the subnet 192.168.1.0/24, not a host route. It is incorrect because the requirement is to route traffic for a specific host, not an entire subnet.
- C. Incorrect.
This command uses the wrong subnet mask (255.255.255.0), which represents a network route, not a host route. It is therefore incorrect.
- D. Incorrect.
This command uses an invalid subnet mask (0.0.0.0), which does not represent a host route. It is incorrect.