Static Routes with Competing Routes

Next, consider the case in which a static route competes with other static routes or routes learned by a routing protocol. That is, the ip route command defines a route to a subnet, but the router also knows of other static or dynamically learned routes to reach that same subnet. In these cases, the router must first decide which routing source has the better administrative distance, with lower being better, and then use the route learned from the better source. (See Table 8-6 in Chapter 8, “Implementing OSPF for IPv4,” for a list of administrative distance values.)

To see how that works, consider the example illustrated in Figure B-8, which shows a branch office with two WAN links: one very fast Gigabit Ethernet ...

Get Cisco CCNA Routing and Switching ICND2 200-101 Official Cert Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.