How does EIGRP determine administrative distance?

How does EIGRP determine administrative distance?

You can display the administrative distance of all routes on your router by typing the show ip route command:

  1. In the case above, the router has only a single route in its routing table learned from a dynamic routing protocols – the EIGRP route.
  2. Metric.
  3. RIP has been configured on all routers.

What is the default administrative distance of EIGRP and OSPF?

120
The routing table shows that the router prefers the RIP routes. The router learns RIP routes with an administrative distance of 90, although the default is 120….Default Distance Value Table.

Route Source Default Distance Values
External Border Gateway Protocol (BGP) 20
Internal EIGRP 90
IGRP 100
OSPF 110

Why OSPF is preferred over EIGRP?

EIGRP vs OSPF: Scalability. The scalability of the OSPF is higher than EIGRP because EIGRP is complicated and vendor-specific and incapable of migrating from one vendor to the other. Conversely, OSPF is an open standard and simple protocol through which the network can be scaled easily.

How do I set administrative distance?

To set an administrative distance:

  1. For RIP and OSPF, issue the distance command in Router Configuration mode. host1(config-router)#distance 100. The range for administrative distance is 0–255.
  2. For IS-IS, issue the distance ip command in Router Configuration mode. host1(config-router)#distance 80 ip.

How do I change administrative distance in OSPF?

Which is better for routing EIGRP or OSPF?

Both of them could be widely deployed in Internet Protocol (IP) networks for data communication. EIGRP is a popular choice for routing within small and big campus networks. While OSPF is the best choice when your network hardware devices come from various vendors.

How to configure administrative distance for external EIGRP?

Especially when we use redistribution we sometimes have to change the administrative distance. Let me show you how you can do this: Above we have EIGRP and with the distance command I can change the administrative distance for EIGRP globally. Internal EIGRP will keep its AD of 90 but external EIGRP will have an AD of 160.

Where is the route through R2 stored in EIGRP?

The path through R2 has the best metric (20) and it is stored in the R1’s routing table. The other route, through R3, is a feasible successor route, because the feasiblility condition has been met (R3’s advertised distance of 15 is less than R1’s feasible distance of 20). R1 stores that route in the topology table.

How does R3 redistribute route into OSPF?

R3 redistributes that route into OSPF 4-R4 AD is 110 for that route. 5-R2 current AD for that route is 170 and it receives route from ospf with lower AD. It replaces its route with the route advertised by R4 ospf. That is BAD.