Lab 17-7: Understanding Longest Prefix Match in Routing Decisions
Configure overlapping IPv4 routes and verify how longest prefix match chooses the most specific destination.
Lab Overview
- Lab Number: 17-7
- Lab Name: Understanding Longest Prefix Match in Routing Decisions
- Lab Difficulty: Intermediate
- Approximate Time: 45 minutes
- Preferred Image: Cisco IOS 15.x
- Lab on: Chapter 17 – Configuring IPv4 Addresses and Static Routes
Objective
In this lab, we will explore how a router selects the best route when multiple routes exist for a destination. We will configure overlapping static routes with different subnet masks and analyze how the router prioritizes them based on the longest prefix match (LPM) rule.