3.2 Router Decision Making Flashcards
Determine how a router makes a forwarding decision by default, including longest prefix match, administrative distance, and routing protocol metric. (27 cards)
What three key factors does a router consider when forwarding?
- Longest Prefix Match (LPM)
- Administrative Distance (AD)
- Routing Protocol Metric
Longest Prefix Match (LPM) – The router selects the most specific route that matches the destination IP.
Administrative Distance (AD) – If multiple routes exist, the one with the lowest AD is preferred.
Routing Protocol Metric – If ADs are equal, the router chooses the route with the lowest metric from the routing protocol.
What is the default process a router follows to determine the best route?
- It uses Longest Prefix Match (LPM) to find the most specific route.
- It chooses the route with the lowest Administrative Distance (AD).
- It selects the path with the best Routing Protocol Metric if AD is equal.
A router prioritizes the most specific route, then the lowest AD, and finally the best metric if needed.
List three different metric calculations used by routing protocols.
- RIP
- OSPF
- EIGRP
RIP (Routing Information Protocol) – Hop count
OSPF (Open Shortest Path First) – Cost (based on bandwidth)
EIGRP (Enhanced Interior Gateway Routing Protocol) – Composite metric (bandwidth, delay, reliability, load)
What routing metric counts the number of routers a packet passes through?
Hop
The hop count metric only considers the number of times a data packet is forwarded by routers along its path.
Define:
Longest Prefix Match
(LPM)
The process of selecting the most specific route in the routing table.
A more specific subnet mask (e.g., /30 over /24) takes precedence over a broader one when multiple matches exist.
A packet destined for 192.168.1.50 matches both 192.168.1.0/24 and 192.168.1.0/26. Which route is selected?
192.168.1.0/26
Since /26 is more specific than /24, the router chooses it first.
True or False:
A router always prefers the route with the smallest subnet mask.
False
A router chooses the longest prefix (most specific subnet), meaning /30 is preferred over /24.
List three subnet mask lengths with host counts.
- /30 → 2 usable hosts
- /28 → 14 usable hosts
- /24 → 254 usable hosts
The smaller the subnet mask (higher prefix length), the fewer available hosts.
Define:
Administrative Distance
(AD)
The measure of trustworthiness of a route.
A lower AD means higher reliability—directly connected routes (AD = 0) are most trusted, while external BGP (AD = 20) is more preferred than RIP (AD = 120).
A router has two routes to 10.1.1.0/24: RIP (AD 120) and OSPF (AD 110). Which route will be chosen?
OSPF (AD 110)
Lower AD is preferred, so OSPF is selected over RIP.
A router has two routes to 10.1.1.0/24:
OSPF Route (AD = 110, Metric = 10)
Static Route (AD = 1, Metric = 20)
Which route will be chosen?
Static Route (AD = 1) since AD is prioritized over the metric.
AD is evaluated before the metric when selecting a route.
List the Administrative Distance (AD) of three common routing sources.
- Connected Route – 0
- Static Route – 1
- OSPF – 110
Static and connected routes are more trusted than dynamic routing protocols due to manual configuration.
What route type has the best administrative distance?
Connected
Routes marked as connected have the lowest administrative distance of 0, making them the most preferred routes.
Which type of route is prioritized by default on a router?
Static
Static routes have a default administrative distance of 1, making them preferred unless their AD is altered.
Define:
Floating Static Route
A static route with an increased AD value, making it a backup route.
Floating static route is used to create failover routes if the primary route goes down.
What are two recognized values for AD in routing?
- 0
- 110
AD values help routers select the best path among multiple routing protocols, with 0 indicating a directly connected route.
Which administrative distance indicates the best route to a subnet?
1
An administrative distance of 1 signifies that a static route is the most favorable option for directing traffic to a subnet.
Why might a router choose a higher AD route over a lower AD one?
- The lower AD route is unreachable (e.g., next-hop failure or interface down).
- There are administrative restrictions (e.g., filtering or policies).
A route with lower AD is only used if it is reachable.
Which metric is used for links with high interface faults and data loss?
Reliability
The reliability metric assesses link performance by factoring in failures and losses, making it suitable for routing decisions in poor-performing links.
True or False:
RIP (AD 120) is preferred over EIGRP (AD 90).
False
Since EIGRP has a lower AD (90), it is preferred over RIP (120).
Fill in the blank:
The metric value used by OSPF is called ______.
cost
OSPF calculates cost based on interface bandwidth (higher bandwidth = lower cost).
True or False:
Between two OSPF routes, the higher-cost one is always ignored.
False
Higher-cost routes are only considered if the lower-cost route becomes unavailable.
What role do metrics play within a routing table?
- They help choose between paths within the same routing protocol.
- They are the second value in brackets in the ‘show ip route’ command.
Metrics assess the cost of paths to determine the best route for data transmission.
Which routing metric prioritizes paths based on data transfer capacity?
Bandwidth
Bandwidth-based metrics select routes with the highest capacity for data transmission.