CCNA Network Infrastructure and Connectivity Practice Question
A network administrator is configuring a Cisco router with two interfaces: GigabitEthernet0/0 and GigabitEthernet0/1. The administrator wants to configure a static route to the 10.1.1.0/24 network via the next-hop IP address 192.168.1.2. Which command correctly accomplishes this?
⚠ Common exam trap
The trap here is misremembering the static route syntax, such as placing the administrative distance before the next-hop or confusing the order of parameters.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
ip route 10.1.1.0 255.255.255.0 192.168.1.2
The correct command to configure a static route with a next-hop IP address is ip route destination_network subnet_mask next_hop. In this case, ip route 10.1.1.0 255.255.255.0 192.168.1.2 is correct. It installs a route to 10.1.1.0/24 via 192.168.1.2. Other options either use an exit interface instead of the next-hop, add an unnecessary administrative distance, or incorrectly include a name parameter.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
ip route 10.1.1.0 255.255.255.0 GigabitEthernet0/0
Why it's wrong here
This command specifies an exit interface instead of a next-hop IP address. While it is valid to use an exit interface in a static route, the scenario specifically requires the next-hop IP address 192.168.1.2. Using the interface alone is not what is asked. Additionally, on multi-access networks, specifying only an interface can cause the router to perform ARP for each destination, which is less efficient than specifying a next-hop.
- ✗
ip route 10.1.1.0 255.255.255.0 192.168.1.2 name BACKUP
Why it's wrong here
This command adds a name to the static route. While naming a static route is allowed in Cisco IOS, the syntax requires the name keyword before the name. The correct syntax would be ip route 10.1.1.0 255.255.255.0 192.168.1.2 name BACKUP. However, the scenario does not require a name. The basic command without the name is sufficient and correct. The presence of the name keyword without proper syntax makes this option invalid as written.
- ✗
ip route 10.1.1.0 255.255.255.0 192.168.1.2 10
Why it's wrong here
This command includes an administrative distance of 10 at the end. While the syntax is valid, the default administrative distance for a static route is 1. Adding 10 changes the administrative distance, which may affect route selection. The scenario does not specify a need for a non-default administrative distance, so the simpler command without the distance is correct. Including the distance is not wrong per se, but it is unnecessary and could lead to unexpected routing behavior if other routes exist.
- ✓
ip route 10.1.1.0 255.255.255.0 192.168.1.2
Why this is correct
This command creates a static route for the 10.1.1.0/24 network with the next-hop address 192.168.1.2. The syntax ip route destination_network subnet_mask next_hop is correct for Cisco IOS. It tells the router to forward packets destined for 10.1.1.0/24 to the next-hop router at 192.168.1.2. This is the standard way to configure a static route.
Visual reference
Go deeper
Related to this question
Learn chapter
Lab: Configure Extended ACL
Key term
Exit interface
The exit interface is the network interface through which a router forwards a packet out of the router after matching a route in its routing table.
Key term
Static route
A static route is a manually configured path in a router's routing table that tells the router exactly where to send packets for a specific destination network.
About these practice questions
One of 1,450 original 200-301 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Cisco exam blueprint
This 200-301 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-301 exam.