200-301 exam dumps

200-301 practice question 281 of 506

Cisco Certified Network Associate. Free level, Cisco. Free question with the correct answer and a full explanation.

200-301 Question 281

Single answer

A network engineer is configuring a static route on a router to reach the 192.168.20.0/24 network. The router has two outbound interfaces, GigabitEthernet0/0 and GigabitEthernet0/1. The next-hop IP address for the 192.168.20.0/24 network is 10.1.1.2, reachable via GigabitEthernet0/0. Which of the following is the correct static route configuration?

  1. A

    ip route 192.168.20.0 255.255.255.0 10.1.1.2

  2. B

    ip route 192.168.20.0 255.255.255.0 GigabitEthernet0/1

  3. C

    ip route 192.168.20.0 255.255.255.0 10.1.1.2 GigabitEthernet0/0

  4. D

    ip route 192.168.20.0 255.255.255.0 GigabitEthernet0/0

Show answer and explanation

Correct answer: A

Explanation

The most specific method of configuring a static route is to define the destination network, subnet mask, and the next-hop IP address. In this case, 'ip route 192.168.20.0 255.255.255.0 10.1.1.2' is the correct command. The router uses the next-hop IP address to determine the correct outbound interface dynamically, ensuring proper routing.

  • A. Correct.

    This is the correct configuration. Specifying the next-hop IP address (10.1.1.2) is sufficient, as the router will determine the correct outbound interface (GigabitEthernet0/0) via ARP resolution.

  • B. Incorrect.

    This configuration specifies only the outbound interface (GigabitEthernet0/1), but it is incorrect because the next-hop IP address (10.1.1.2) is not explicitly defined, and this interface is not the correct path to reach the destination network.

  • C. Incorrect.

    This configuration is invalid because it combines both the next-hop IP address and the outbound interface together. This is not the correct syntax for defining a static route in Cisco IOS.

  • D. Incorrect.

    This configuration specifies only the outbound interface (GigabitEthernet0/0), but it lacks the next-hop IP address (10.1.1.2). While this syntax is valid in some scenarios, it is not the most specific configuration and could lead to issues with recursive lookups.

Timed practice exam

Take a 200-301 practice test under exam conditions

75 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam