Administrative Distance for CCNA students

Hello Ameen

I haven’t been able to find any Cisco documentation that describes what happens when you configure the AD to be the same for multiple routing protocols. However, I too did some experimentation in the lab and I found the following:

  1. If eBGP, EIGRP, RIP, OSPF, and a static route are all advertising the same prefix with the same AD, then they are installed in the routing table in the same order as their original AD values. in other words, they are installed in the following order:
  • static
  • eBGP
  • EIGRP
  • OSPF
  • RIP
  1. Load balancing will never take place between two paths that are advertised from different sources, even if the AD is the same. For example, a route to 192.168.55.0/24 learned from both EIGRP and OSFP with the same AD will never have two entries in the routing table, and will never be load balanced. EIGRP will take precedence over OSPF, and thus only the EIGRP learned route is installed.

  2. The above are true only for identical prefixes. A prefix is the same only if the network address and the subnet mask are the same. For example, if EIGRP advertises a route to 172.16.0.0/23, and RIP advertises a route to 172.16.0.0/24, both routes will appear in the routing table, regardless of the AD. This is because they are considered different prefixes.

I hope this has been helpful!

Laz

1 Like