CCNA IP Routing Practice Question
A network administrator needs to configure a static route on a Cisco router to reach the 192.168.50.0/24 network through next-hop 10.1.1.2. Which command accomplishes this?
⚠ Common exam trap
The trap here is using CIDR notation like /24 in the ip route command, which is not supported in Cisco IOS for static route configuration.
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 192.168.50.0 255.255.255.0 10.1.1.2
The correct syntax for an IPv4 static route on Cisco IOS is 'ip route destination_network subnet_mask next_hop_address'. The destination network and mask must be in dotted-decimal format, and the next-hop address is the IP address of the adjacent router. This command creates a static route to 192.168.50.0/24 via 10.1.1.2.
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 192.168.50.0 255.255.255.0 10.1.1.2 1
Why it's wrong here
While this command includes a valid destination, mask, and next hop, the trailing '1' sets the administrative distance to 1, which is the default for static routes. It would still work, but it is not the minimal correct syntax and could confuse an administrator into thinking a non-default distance is required.
- ✗
ip route 192.168.50.0/24 10.1.1.2
Why it's wrong here
Cisco IOS static route configuration does not accept CIDR notation such as /24 in the ip route command. The destination network and subnet mask must be entered as separate dotted-decimal values. This command would be rejected or misinterpreted by the router.
- ✓
ip route 192.168.50.0 255.255.255.0 10.1.1.2
Why this is correct
This command specifies the destination network 192.168.50.0, the subnet mask 255.255.255.0, and the next-hop address 10.1.1.2. This is the correct syntax for an IPv4 static route on Cisco IOS and will install the route in the routing table if the next hop is reachable.
- ✗
ip route 192.168.50.0 255.255.255.0 Ethernet0/0 10.1.1.2
Why it's wrong here
This command incorrectly includes both an exit interface and a next-hop address in a way that is not valid for a basic static route. On Cisco IOS, you typically specify either the next-hop address or the exit interface, not both in this format unless using specific options like a fully specified static route with the interface and next hop.
Visual reference
Go deeper
Related to this question
Learn chapter
Lab: Configure Port Security
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.
Key term
Internet Protocol
Internet Protocol (IP) is the set of rules that governs how data is addressed, routed, and sent from one device to another across networks, including the internet.
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.