Whenever possible, Routers should have multiple paths (or routes) to get to a target network — this is a key component for network resiliency. Which means Routers routinely compare routes to choose one preferred path among multiple that may exist. The Route Precedence process is accomplished by comparing three different attributes.
This video steps through the three step process sequentially, and also shows you what a Router does when all the attributes are identical.
The three attributes for Route Preference are the Route Specificity, the Administrative Distance, and the Metric. If multiple routes exist and all three of these attributes are identical, the Router will load balance across the available paths.
The topology involves R1 with four possible paths (through R2, R3, R4, and R5) to get to the 18.104.22.168/25 network behind R6. Each path is sequentially enabled to show you exactly what R1 is comparing to choose one best path among the multiple that will exist.
Load Balancing is the first scenario illustrated in the video. Initially, the OSPF paths from R1 to 22.214.171.124/25 through R5 and R4 are identical, and R1 will load balance its packets across both links.
Then, we’ll tweak the Metric on the link between R5 and R6 and show you that R1 still knows of both the paths through R4 and R5, but chooses the path with the lowest Metric.
Following that, we’ll enable the advertisement from R3 via EIGRP and show you how R1 compares the Administrative Distance to choose between an EIGRP path or an OSPF path.
And finally, we’ll enable the advertisement from R2 via RIP to illustrate what occurs when the Router is faced with delivering a packet which matches multiple routes of different specificity — in this case, a /25 route compared to a /24 route.
The video finishes with two Bonus Questions, based upon an additional scenario of adding a Static Route to R1 for the 126.96.36.199 /24 network through R5. The bonus questions are:
- How will R1’s Routing Table change?
- What path will R1 choose to reach 188.8.131.52?
I’ll answer the questions officially in another video.