cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
556
Views
1
Helpful
7
Replies

Routing with different protocols

IT Anil Sikar
Level 1
Level 1

There are three possible routes for a router to reach a
destination network. The first route is from OSPF with a metric
of 782. The second route is from RIPv2 with a metric of 4. The
third is from EIGRP with a composite metric of 20514560.
Which route will be installed by the router in its routing table?

@cisco 

3 Accepted Solutions

Accepted Solutions

Harold Ritter
Level 12
Level 12

Hi @IT Anil Sikar ,

The lowest administrative distance will be used to installed the route in the routing table. The above mentioned routing protocols have the following administrative distances: EIGRP (90), OSPF (110) and RIP (120).

The EIGRP route will therefore be installed in the routing table.

Regards,

 

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

BTW, the AD values @Harold Ritter mentions are the defaults, which can be changed.

View solution in original post

The rule is 

The lowest AD 

If ad same then tiebreak will be metric 

If metric same then router will use ECMP

MHM

View solution in original post

7 Replies 7

Harold Ritter
Level 12
Level 12

Hi @IT Anil Sikar ,

The lowest administrative distance will be used to installed the route in the routing table. The above mentioned routing protocols have the following administrative distances: EIGRP (90), OSPF (110) and RIP (120).

The EIGRP route will therefore be installed in the routing table.

Regards,

 

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

BTW, the AD values @Harold Ritter mentions are the defaults, which can be changed.

The rule is 

The lowest AD 

If ad same then tiebreak will be metric 

If metric same then router will use ECMP

MHM

 

"If ad same then tiebreak will be metric 

If metric same then router will use ECMP"

Hmm, recall a prior question about what happens when different routing protocols are used when they have same (non-default) AD.  I vaguely recall (???) tie breaking was not done by a route's internal metric but by default AD values.

For example if I have an EIGRP and an OSPF route each with an AD of 100, EIGRP route would be used.

IT Anil Sikar
Level 1
Level 1

You are so welcome 

MHM

you are very welcome @IT Anil Sikar and thanks for the feedback

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Review Cisco Networking for a $25 gift card