200-301 Question 315
Single answerA network engineer has configured a router with the following command: 'ip route 0.0.0.0 0.0.0.0 192.168.1.1'. What is the purpose of this configuration?
- A
It allows the router to dynamically learn routes to all networks.
- B
It sets a default route to forward packets to a specific next-hop IP address if no specific route exists in the routing table.
- C
It blocks traffic to all unknown networks.
- D
It enables the router to perform Network Address Translation (NAT) for all outgoing traffic.
Show answer and explanation
Correct answer: B
Explanation
The command 'ip route 0.0.0.0 0.0.0.0 192.168.1.1' configures a static default route. A default route is used by the router to forward packets destined for unknown networks to a designated next-hop IP address (in this case, 192.168.1.1). This is important in scenarios where the router does not have a specific route for a destination network in its routing table.
- A. Incorrect.
This is incorrect because the command 'ip route 0.0.0.0 0.0.0.0 192.168.1.1' is a static route configuration, not a mechanism for dynamic route learning.
- B. Correct.
This is correct because the command specifies a default route (0.0.0.0/0) that forwards packets to the next-hop address 192.168.1.1 when no more specific route exists in the routing table.
- C. Incorrect.
This is incorrect because the command does not block traffic but provides a path for packets to reach unknown destinations.
- D. Incorrect.
This is incorrect because the command does not enable NAT; it only configures a static default route.