200-301 Question 290
Single answerA network administrator 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
To set the router's default gateway for forwarding packets to unknown destinations
- B
To configure a static route for the 192.168.1.0/24 network
- C
To enable the router to perform Network Address Translation (NAT)
- D
To create a specific route for packets destined for the 0.0.0.0/0 network
Show answer and explanation
Correct answer: A
Explanation
The command 'ip route 0.0.0.0 0.0.0.0 192.168.1.1' configures a default route on the router. This default route is used to forward packets for destinations not found in the routing table to the next-hop IP address (192.168.1.1 in this case). This is commonly referred to as the 'gateway of last resort'.
- A. Correct.
This command configures a default route, which is used as the 'gateway of last resort' to forward packets destined for networks not found in the routing table.
- B. Incorrect.
This is incorrect because the command does not specify a static route for the 192.168.1.0/24 network; it specifies a default route.
- C. Incorrect.
This is incorrect because the command does not configure NAT. NAT requires separate configuration commands.
- D. Incorrect.
This is incorrect because while 0.0.0.0/0 represents all unknown destinations, the command is specifically for setting a default route, not a specific route.