When forwarding a packet, a router chooses the installed route with the longest matching prefix, even if a less-specific matching route has a more favorable administrative distance. True or false?
1 Routing Tables and Packet Forwarding Online Quiz Questions
Use this free practice quiz with 20 questions to review 1 Routing Tables and Packet Forwarding, test your knowledge, and prepare for your next test or exam.
In the Cisco-style routing-table entries shown in the material, what does the route code C indicate?
- A
A route learned through OSPF
- B
A route for a network directly connected to an active, configured interface
- C
A static default route
A route specifies a next-hop IP address. What does that address identify?
- A
It is always the packet's final destination.
- B
It identifies the outgoing routing protocol.
- C
It identifies a neighboring router to which the packet should be sent.
What route-selection principle makes a router choose the most specific installed route matching a packet's destination?
Which are sources from which a router's routing table can contain routes? Select all that apply.
- A
Connected interfaces
- B
Static configuration
- C
The destination addresses of packets being forwarded
- D
Routing protocols
If no specific installed route matches a packet's destination, the router uses an installed default route if one is available. True or false?
- A
True
- B
False
Using the installed routes in the worked example, which route is selected for destination 10.20.3.25?
- A
The OSPF
10.20.2.0/24route via192.0.2.6 - B
The connected
10.10.1.0/24route outG0/0 - C
The static
10.20.0.0/16route via192.0.2.2 - D
The default route via
192.0.2.2
Using the worked-example routes, which destinations are forwarded by the static 10.20.0.0/16 route? Select all that apply.
- A
10.20.3.25 - B
10.20.8.1 - C
10.20.2.25 - D
203.0.113.9
Using the worked-example routes, which outgoing interface is used to forward a packet destined for 10.20.2.200?
Two routing sources offer routes to the same destination prefix. Which factor is used to choose which route or routes to install?
- A
The packet's destination address
- B
The route-source preference, often called administrative distance
- C
The longest-prefix rule alone, regardless of whether the routes are installed
- D
The outgoing interface's name
A router has installed a static route to 10.20.0.0/16 and an OSPF route to 10.20.2.0/24. Explain how route-source preference is used if different sources compete to provide the same /16 prefix, then identify the route, next hop, and outgoing interface used for a packet destined for 10.20.2.25.
In a Cisco-style routing table, what does the route code O indicate?
- A
A directly connected route
- B
A route learned through OSPF
- C
A static default route
- D
A route learned through RIP
A routing-table entry is marked S. What does this tell you about how the route was learned?
- A
It is learned automatically from an active interface.
- B
It is selected because it has the longest matching prefix.
- C
An administrator configured the route.
- D
It is always used when a packet has no matching route.
True or false: When forwarding a packet, a route with a lower administrative distance can beat a more-specific installed route even if both prefixes match the destination.
- A
True
- B
False
A router has an installed default route, and a packet's destination matches none of its more-specific routes. What should the router do?
- A
Use the installed default route.
- B
Choose the route with the lowest metric, even if its prefix does not match.
- C
Send the packet out every active interface.
- D
Drop the packet because a default route cannot match an IPv4 address.
A route specifies a next-hop IP address. What device role does that address identify?
Using the worked-example routes, where should a packet addressed to 10.10.1.50 be sent?
- A
Send it to
192.0.2.2. - B
Send it to
192.0.2.6. - C
Use the default route via
192.0.2.2. - D
Send it directly out
G0/0.
Using the worked-example routes, what next-hop IPv4 address is selected for a packet addressed to 10.20.8.1?
In the Cisco-style route entry O 10.30.0.0/16 [110/20] via 192.0.2.6, the first bracketed value is , and the second is the .
Before transmitting a packet toward a next-hop IP address, a router may need to resolve that address to a on the outgoing network.
Related study packs and tools
- Flashcards
1 Layer 2 Switching Fundamentals
Learn how Layer 2 switches learn MAC addresses, forward and flood Ethernet frames, use VLAN-specific tables, and handle common switching scenarios.
CCNA VLANs and SwitchingUpdated - Study guide
1 Layer 2 Switching Fundamentals
Learn how Layer 2 switches learn MAC addresses and forward Ethernet frames within VLANs, including flooding, filtering, and common forwarding scenarios.
CCNA VLANs and SwitchingUpdated - Flashcards
2 VLAN Configuration
Learn how VLANs separate Layer 2 broadcast domains, how to assign and verify access ports, and how to troubleshoot common configuration issues.
CCNA VLANs and SwitchingUpdated - Quiz
2 VLAN Configuration
A medium-difficulty quiz on VLAN concepts, access-port configuration, verification, and troubleshooting.
CCNA VLANs and SwitchingUpdated - Study guide
2 VLAN Configuration
Learn how to create VLANs on Cisco switches, assign end-device ports, verify the configuration, and troubleshoot common connectivity problems.
CCNA VLANs and SwitchingUpdated - Flashcards
3 Trunk Configuration
Review how to configure, verify, and troubleshoot an IEEE 802.1Q trunk carrying multiple VLANs between switches.
CCNA VLANs and SwitchingUpdated - Quiz
3 Trunk Configuration
A medium-difficulty quiz on configuring, verifying, and troubleshooting IEEE 802.1Q trunks.
CCNA VLANs and SwitchingUpdated - Study guide
3 Trunk Configuration
Learn how IEEE 802.1Q trunks carry VLAN traffic between switches, how to configure matching trunk settings, and how to verify and troubleshoot connectivity.
CCNA VLANs and SwitchingUpdated - Flashcards
4 Spanning Tree Protocol
Learn how STP prevents Layer 2 loops, selects a loop-free topology, and protects the network with port roles and safeguards.
CCNA VLANs and SwitchingUpdated - Quiz
4 Spanning Tree Protocol
A medium-difficulty quiz on STP loop prevention, root and port selection, VLAN-specific operation, configuration, and troubleshooting.
CCNA VLANs and SwitchingUpdated - Study guide
4 Spanning Tree Protocol
Understand how Spanning Tree Protocol prevents Layer 2 loops, selects active and standby paths, and how to inspect and protect a VLAN’s spanning-tree topology.
CCNA VLANs and SwitchingUpdated - Quiz
5 Layer 2 Switching Troubleshooting Scenarios
Apply Layer 2 troubleshooting checks to diagnose VLAN, trunk, MAC-learning, and spanning-tree behavior. Work from the evidence and select corrections that address the underlying cause without disrupting unrelated traffic.
CCNA VLANs and SwitchingUpdated