Exams · US
CCNA practice questions: Routing table and forwarding
The routing table and how a router forwards.
Updated 17 November 2026 for CCNA 200-301 v1.1
Key facts
A routing protocol code identifies how a route was learned, such as C for connected, S for static, and O for OSPF.
Cisco, CCNA Exam v1.1 exam topics, 3.1 Interpret the components of routing table
A route's prefix and network mask together identify the destination address range it matches.
Cisco, CCNA Exam v1.1 exam topics, 3.1 Interpret the components of routing table
The next hop is the address of the next router to which a packet is forwarded toward its destination.
Cisco, CCNA Exam v1.1 exam topics, 3.1 Interpret the components of routing table
Administrative distance ranks route sources for the same prefix, with a lower value preferred.
Cisco, CCNA Exam v1.1 exam topics, 3.2 Determine how a router makes a forwarding decision by default
A routing protocol's metric ranks paths to the same prefix within that protocol, with a lower metric generally preferred.
Cisco, CCNA Exam v1.1 exam topics, 3.2 Determine how a router makes a forwarding decision by default
In an IOS route entry, the bracketed pair [distance/metric] shows administrative distance followed by metric.
Cisco, CCNA Exam v1.1 exam topics, 3.1 Interpret the components of routing table
The gateway of last resort is used for destinations that match no more specific route when a usable default route exists.
Cisco, CCNA Exam v1.1 exam topics, 3.1 Interpret the components of routing table
The IPv4 default route 0.0.0.0/0 matches any IPv4 destination.
Cisco, CCNA Exam v1.1 exam topics, 3.1 Interpret the components of routing table
A router forwards using the matching installed route with the longest prefix, regardless of less-specific routes' administrative distances or metrics.
Cisco, CCNA Exam v1.1 exam topics, 3.2 Determine how a router makes a forwarding decision by default
For competing routes to the same prefix, the router generally selects the route with the lowest administrative distance before comparing metrics within a routing protocol.
Cisco, CCNA Exam v1.1 exam topics, 3.2 Determine how a router makes a forwarding decision by default
If no route matches a packet's destination, the router drops the packet.
Cisco, CCNA Exam v1.1 exam topics, 3.2 Determine how a router makes a forwarding decision by default
Sample questions
1. A router displays a route beginning with the code O. How was the route learned?
- Through a static route
- Through RIP
- Through OSPF
- Through EIGRP
Answer: C. Through OSPF
The code O identifies an OSPF route in a Cisco IOS routing table. The code helps an engineer identify the route's source.
- Through a static route: A static route uses the code S.
- Through RIP: A RIP route uses the code R.
- Through EIGRP: An EIGRP route uses the code D.
Source: Cisco CCNA Exam v1.1 exam topics: topic statements and sub-topics; standard networking knowledge, 3.1 Interpret the components of routing table
2. A route has the prefix 192.168.10.32/27. What is its dotted-decimal network mask?
- 255.255.255.0
- 255.255.255.192
- 255.255.255.240
- 255.255.255.224
Answer: D. 255.255.255.224
A /27 mask has 24 one-bits in the first three octets and three in the last. The last octet is 128 + 64 + 32 = 224, so the mask is 255.255.255.224.
- 255.255.255.0: 255.255.255.0 is a /24 mask.
- 255.255.255.192: 255.255.255.192 is a /26 mask.
- 255.255.255.240: 255.255.255.240 is a /28 mask.
Source: Cisco CCNA Exam v1.1 exam topics: topic statements and sub-topics; standard networking knowledge, 3.1 Interpret the components of routing table
3. A router displays this route: O 10.30.4.0/24 [110/20] via 192.0.2.2, GigabitEthernet0/0 Which address is the next hop?
- 10.30.4.0
- 192.0.2.2
- 10.30.4.1
- 192.0.2.0
Answer: B. 192.0.2.2
The address after 'via' is the next hop, 192.0.2.2. The router sends traffic using this route toward that neighboring address.
- 10.30.4.0: 10.30.4.0 is the destination network address.
- 10.30.4.1: 10.30.4.1 is not shown as the next hop.
- 192.0.2.0: 192.0.2.0 is not shown as the next hop.
Source: Cisco CCNA Exam v1.1 exam topics: topic statements and sub-topics; standard networking knowledge, 3.1 Interpret the components of routing table
4. A Cisco router displays this route: O 10.20.0.0/16 [110/2] via 192.0.2.1 What does the O code identify?
- A route learned by BGP
- A directly connected network
- A static route
- A route learned by OSPF
Answer: D. A route learned by OSPF
The O code identifies a route learned through OSPF. The code helps an engineer identify how the router learned the route.
- A route learned by BGP: BGP routes use the B code.
- A directly connected network: Directly connected routes use the C code.
- A static route: Static routes use the S code.
Source: Cisco CCNA Exam v1.1 exam topics: topic statements and sub-topics; standard networking knowledge, 3.1 Interpret the components of routing table
5. A router displays this route: S 10.30.0.0/16 [1/0] via 192.0.2.2 Which address is the next hop?
- 10.30.0.0
- 255.255.0.0
- 192.0.2.2
- 192.0.2.1
Answer: C. 192.0.2.2
The address after “via” is the next hop, 192.0.2.2. The router sends matching traffic toward that address.
- 10.30.0.0: 10.30.0.0 is the destination network prefix.
- 255.255.0.0: 255.255.0.0 is the mask for the destination prefix.
- 192.0.2.1: 192.0.2.1 is not shown as the next hop.
Source: Cisco CCNA Exam v1.1 exam topics: topic statements and sub-topics; standard networking knowledge, 3.1 Interpret the components of routing table