Exams · US
CCNA Static Routing Practice Questions (IPv4 and IPv6)
IPv4 and IPv6 static routing.
Updated 17 November 2026 for CCNA 200-301 v1.1
Key facts
A default route matches destinations that have no more specific matching route, providing a gateway of last resort.
Cisco, CCNA Exam v1.1 exam topics, 3.3 Configure and verify IPv4 and IPv6 static routing
Configure an IPv4 static default route with `ip route 0.0.0.0 0.0.0.0` followed by a next-hop address or exit interface.
Cisco, CCNA Exam v1.1 exam topics, 3.3 Configure and verify IPv4 and IPv6 static routing
Configure an IPv6 static default route with `ipv6 route ::/0` followed by a next-hop address or exit interface.
Cisco, CCNA Exam v1.1 exam topics, 3.3 Configure and verify IPv4 and IPv6 static routing
A static network route specifies a destination network and mask or prefix length, plus a next-hop address or exit interface.
Cisco, CCNA Exam v1.1 exam topics, 3.3 Configure and verify IPv4 and IPv6 static routing
Configure an IPv4 network route with `ip route` followed by the destination network, subnet mask, and next hop or exit interface.
Cisco, CCNA Exam v1.1 exam topics, 3.3 Configure and verify IPv4 and IPv6 static routing
Configure an IPv6 network route with `ipv6 route` followed by the destination prefix and next hop or exit interface.
Cisco, CCNA Exam v1.1 exam topics, 3.3 Configure and verify IPv4 and IPv6 static routing
An IPv4 host route uses a /32 mask, while an IPv6 host route uses a /128 prefix.
Cisco, CCNA Exam v1.1 exam topics, 3.3 Configure and verify IPv4 and IPv6 static routing
A host route takes precedence over a matching network or default route because it has a longer prefix.
Cisco, CCNA Exam v1.1 exam topics, 3.3 Configure and verify IPv4 and IPv6 static routing
A floating static route has a higher administrative distance than the primary route to the same destination and serves as a backup.
Cisco, CCNA Exam v1.1 exam topics, 3.3 Configure and verify IPv4 and IPv6 static routing
Specify an administrative distance at the end of a static route command to configure a floating static route.
Cisco, CCNA Exam v1.1 exam topics, 3.3 Configure and verify IPv4 and IPv6 static routing
A floating static route can enter the routing table when the preferred route is removed, provided the backup route is usable.
Cisco, CCNA Exam v1.1 exam topics, 3.3 Configure and verify IPv4 and IPv6 static routing
Use `show ip route` and `show ipv6 route` to verify installed IPv4 and IPv6 static routes, respectively.
Cisco, CCNA Exam v1.1 exam topics, 3.3 Configure and verify IPv4 and IPv6 static routing
Sample questions
1. A router needs an IPv4 route to use when no more specific route matches a destination. Which prefix identifies that route?
- 0.0.0.0/32
- 127.0.0.0/8
- 255.255.255.255/32
- 0.0.0.0/0
Answer: D. 0.0.0.0/0
An IPv4 default route uses 0.0.0.0/0. Its zero-length prefix matches any IPv4 destination when no more specific route is available.
- 0.0.0.0/32: 0.0.0.0/32 matches only the address 0.0.0.0.
- 127.0.0.0/8: 127.0.0.0/8 is the IPv4 loopback range.
- 255.255.255.255/32: 255.255.255.255/32 identifies the limited broadcast address.
Source: Cisco CCNA Exam v1.1 exam topics: topic statements and sub-topics; standard networking knowledge, 3.3 Configure and verify IPv4 and IPv6 static routing
2. R1 must send IPv4 traffic with no more specific match to next hop 192.0.2.1. Which IOS command configures the route?
- ip route 192.0.2.1 255.255.255.255 0.0.0.0
- ip route 0.0.0.0 0.0.0.0 192.0.2.1
- ip route 0.0.0.0 255.255.255.255 192.0.2.1
- ip route 192.0.2.0 255.255.255.0 192.0.2.1
Answer: B. ip route 0.0.0.0 0.0.0.0 192.0.2.1
The command specifies destination 0.0.0.0 with mask 0.0.0.0 and the required next hop. This creates a default route for destinations without a more specific match.
- ip route 192.0.2.1 255.255.255.255 0.0.0.0: This specifies a host destination, not a default route.
- ip route 0.0.0.0 255.255.255.255 192.0.2.1: The /32 mask makes this a host route for 0.0.0.0.
- ip route 192.0.2.0 255.255.255.0 192.0.2.1: This specifies a route to the 192.0.2.0/24 network.
Source: Cisco CCNA Exam v1.1 exam topics: topic statements and sub-topics; standard networking knowledge, 3.3 Configure and verify IPv4 and IPv6 static routing
3. R1 has routes 0.0.0.0/0 via 192.0.2.1 and 10.20.0.0/16 via 192.0.2.2. Where does R1 send a packet for 10.20.5.8?
- To 192.0.2.1, because the default route matches
- To 192.0.2.1, because /0 is the shortest prefix
- To 192.0.2.2, because /16 has the lower next hop
- To 192.0.2.2, because /16 is the longer match
Answer: D. To 192.0.2.2, because /16 is the longer match
Both routes match 10.20.5.8, but /16 is longer than /0. R1 therefore uses the more specific route via 192.0.2.2.
- To 192.0.2.1, because the default route matches: The default matches, but a more specific route also matches.
- To 192.0.2.1, because /0 is the shortest prefix: Route selection prefers the longest matching prefix, not the shortest.
- To 192.0.2.2, because /16 has the lower next hop: The prefix length decides this selection, not the next-hop address.
Source: Cisco CCNA Exam v1.1 exam topics: topic statements and sub-topics; standard networking knowledge, 3.3 Configure and verify IPv4 and IPv6 static routing
4. An engineer needs default routes for IPv4 and IPv6. Which two IOS commands configure them? (Choose two.)
- ip route 0.0.0.0 0.0.0.0 192.0.2.1
- ipv6 route ::/128 2001:db8:1::1
- ipv6 route ::/0 2001:db8:1::1
- ip route 0.0.0.0 255.255.255.255 192.0.2.1
Answer: A. ip route 0.0.0.0 0.0.0.0 192.0.2.1, C. ipv6 route ::/0 2001:db8:1::1
An IPv4 default route uses 0.0.0.0 with a 0.0.0.0 mask; an IPv6 default route uses ::/0. Each command specifies a next hop for destinations without a more specific match.
- ipv6 route ::/128 2001:db8:1::1: ::/128 is a host prefix, not the IPv6 default prefix.
- ip route 0.0.0.0 255.255.255.255 192.0.2.1: The 255.255.255.255 mask specifies a host route, not a default route.
Source: Cisco CCNA Exam v1.1 exam topics: topic statements and sub-topics; standard networking knowledge, 3.3 Configure and verify IPv4 and IPv6 static routing
5. R1 needs an IPv4 default route using next-hop address 192.0.2.2. Which command configures it?
- ip route 0.0.0.0 255.255.255.255 192.0.2.2
- ip route 192.0.2.0 255.255.255.0 192.0.2.2
- ip route 0.0.0.0 0.0.0.0 192.0.2.2
- ip route 192.0.2.2 255.255.255.255 0.0.0.0
Answer: C. ip route 0.0.0.0 0.0.0.0 192.0.2.2
The IPv4 default route uses destination 0.0.0.0 with mask 0.0.0.0. It matches destinations when no more specific route is available.
- ip route 0.0.0.0 255.255.255.255 192.0.2.2: The /32 mask specifies a host route, not a default route.
- ip route 192.0.2.0 255.255.255.0 192.0.2.2: This command specifies a route to the 192.0.2.0/24 network.
- ip route 192.0.2.2 255.255.255.255 0.0.0.0: This command specifies a host route, not a default route.
Source: Cisco CCNA Exam v1.1 exam topics: topic statements and sub-topics; standard networking knowledge, 3.3 Configure and verify IPv4 and IPv6 static routing