cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
766
Views
5
Helpful
7
Replies

EIGRP with varinace

feroz syed
Level 3
Level 3

i have totally 5 routers in my topology. by configuring Variance 3 on R1 how many path R1 will chose to route the traffice to R10

Router 1 (20)---R 2 (10)-----R10

Router 1 (10)---R3 (10)------R10

Router1 (20)----R4 (25)-----R10

30 / 10  FD/AD

20 /  10 FD/AD

45 / 25 FD/AD

2 Accepted Solutions

Accepted Solutions

cadet alain
VIP Alumni
VIP Alumni

Hi,

you have 1 successor(20/10) and 1  Feasible Successor  so only this path meeting the Feasibility condition can be installed in the RIB if  FD <= variance *FD of sucessor so here  2nd path is Successor, 1st path meets FC and 3*20=60 so first path is eligible(30 <= 60).

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

View solution in original post

Feroz, Alain,

Please be careful with the term "Feasible Distance" - it is not the current distance through a particular neighbor. The Feasible Distance to a destination is the smallest known distance to the destination since the last time the route transitioned from Active to Passive state. The Feasible Distance is computed per destination (i.e. one FD per destination network), not per neighbor. Also, being the smallest known distance since the last Active->Passive transition, it may be different (lower) than the current distance to the destination.

The resulting distances to a destination if going via a particular neighbor do not have an official name in EIGRP terminology. Don Slice once mentioned that internally in Cisco, they call them Computed Distance. Personally, I would call them Total Distance because that is what they are about - total distances to the destination over a particular neighbor, computed as the sum of the Reported Distance of that neighbor, plus the link cost towards that neighbor.

To reuse the example above, this would be the correctly used terminology:

30 / 10  TD/RD feasible successor

20 / 10  TD/RD successor, 20 is the lowest distance so let's also take it as the FD

45 / 25  TD/RD

Because here, we have set FD to 20 (assuming this is the initial startup of the network), the first and second neighbor pass the feasibility condition, the third neighbor does not pass it. Now, let's change the reported distances somewhat, keeping the link costs intact:

25 / 5    TD/RD feasible successor

22 / 12  TD/RD successor

45 / 25  TD/RD

Now, the total distances have changed. What sequence of steps has happened here?

  1. When the first and second neighbors reported a changed RD, their RD still met the feasibility condition using the FD of 20. 5 is less than 20 (first neighbor), 12 is less then 20 (second neighbor). Therefore, they still meet the feasibility condition.
  2. The smallest total distance path after the RD update goes through the second neighbor, and as we explained in the previous step, the second neighbor still meets the feasibility condition, therefore we do not need to enter the Active state. The second neighbor will therefore become the successor (or better said, it will retain that role), and the route will remain Passive throughout the whole update.
  3. However, the new current smallest total distance is now 22, while the smallest known distance to the destination stored in the FD is currently 20. Because the current smallest distance is higher than the FD, and the FD is defined as the minimal known distance since the last Active->Passive transition, the FD will not be updated and will stay set to 20. The router will have the route in its routing table with the metric of 22 and it will advertise this metric of 22 to its neighbors, but internally, for feasibility checks, it will always use the value of FD, in this case, 20.

Now, in this changed metric scenario, if variance 3 was configured, the router would be willing to put worse routes to the destination into its routing table if they meet the following two criteria:

  • They must go over a feasible successor, and
  • Their Total Distance must be at most 3 times higher than the current smallest metric

The first requirement limits our choice of paths only to the first and second neighbor. Because the third neighbor does not meet the feasibility condition using the FD of 20, it will not be considered for unequal-cost load balancing.

The second requirement will now allow the first neighbor to be used because our current smallest metric is 22, so the with the variance 3, any route through a feasible successor whose total metric is at most 22*3=66 is accepted. The route through the first neighbor has a total metric of 25, so it is well within the allowable range.

Please feel welcome to ask further!

Best regards,

Peter

View solution in original post

7 Replies 7

cadet alain
VIP Alumni
VIP Alumni

Hi,

you have 1 successor(20/10) and 1  Feasible Successor  so only this path meeting the Feasibility condition can be installed in the RIB if  FD <= variance *FD of sucessor so here  2nd path is Successor, 1st path meets FC and 3*20=60 so first path is eligible(30 <= 60).

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

30 / 10  FD/AD fessible successor

20 /  10 FD/AD succssor

45 / 25 FD/AD

now eigrp has one successor and fessible successor variance 3 mean we multiply successor fessible distance with 3 so 20*3=60, now third path (45/25) 25 is lower than 60 so it can be installed in rib for unequal lb

Hi,

No because the 3rd path doesn't meet the Feasibility condition, it AD is not strictly less than the FD of the successor.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Feroz, Alain,

Please be careful with the term "Feasible Distance" - it is not the current distance through a particular neighbor. The Feasible Distance to a destination is the smallest known distance to the destination since the last time the route transitioned from Active to Passive state. The Feasible Distance is computed per destination (i.e. one FD per destination network), not per neighbor. Also, being the smallest known distance since the last Active->Passive transition, it may be different (lower) than the current distance to the destination.

The resulting distances to a destination if going via a particular neighbor do not have an official name in EIGRP terminology. Don Slice once mentioned that internally in Cisco, they call them Computed Distance. Personally, I would call them Total Distance because that is what they are about - total distances to the destination over a particular neighbor, computed as the sum of the Reported Distance of that neighbor, plus the link cost towards that neighbor.

To reuse the example above, this would be the correctly used terminology:

30 / 10  TD/RD feasible successor

20 / 10  TD/RD successor, 20 is the lowest distance so let's also take it as the FD

45 / 25  TD/RD

Because here, we have set FD to 20 (assuming this is the initial startup of the network), the first and second neighbor pass the feasibility condition, the third neighbor does not pass it. Now, let's change the reported distances somewhat, keeping the link costs intact:

25 / 5    TD/RD feasible successor

22 / 12  TD/RD successor

45 / 25  TD/RD

Now, the total distances have changed. What sequence of steps has happened here?

  1. When the first and second neighbors reported a changed RD, their RD still met the feasibility condition using the FD of 20. 5 is less than 20 (first neighbor), 12 is less then 20 (second neighbor). Therefore, they still meet the feasibility condition.
  2. The smallest total distance path after the RD update goes through the second neighbor, and as we explained in the previous step, the second neighbor still meets the feasibility condition, therefore we do not need to enter the Active state. The second neighbor will therefore become the successor (or better said, it will retain that role), and the route will remain Passive throughout the whole update.
  3. However, the new current smallest total distance is now 22, while the smallest known distance to the destination stored in the FD is currently 20. Because the current smallest distance is higher than the FD, and the FD is defined as the minimal known distance since the last Active->Passive transition, the FD will not be updated and will stay set to 20. The router will have the route in its routing table with the metric of 22 and it will advertise this metric of 22 to its neighbors, but internally, for feasibility checks, it will always use the value of FD, in this case, 20.

Now, in this changed metric scenario, if variance 3 was configured, the router would be willing to put worse routes to the destination into its routing table if they meet the following two criteria:

  • They must go over a feasible successor, and
  • Their Total Distance must be at most 3 times higher than the current smallest metric

The first requirement limits our choice of paths only to the first and second neighbor. Because the third neighbor does not meet the feasibility condition using the FD of 20, it will not be considered for unequal-cost load balancing.

The second requirement will now allow the first neighbor to be used because our current smallest metric is 22, so the with the variance 3, any route through a feasible successor whose total metric is at most 22*3=66 is accepted. The route through the first neighbor has a total metric of 25, so it is well within the allowable range.

Please feel welcome to ask further!

Best regards,

Peter

22 / 12  TD/RD successor

25 / 5    TD/RD feasible successor

45 / 25  TD/R

if the third path which is 45/ 25 the RD Distance set to 20, now without configure the variance 3 cmd eigrp will keep this route in topology table or in All-link table ?

Hi Feroz,

if the third path which is 45/ 25 the RD Distance set to 20

You probably mean the FD set to 20. RD for the third neighbor is 25.

now without configure the variance 3 cmd eigrp will keep this route in topology table or in All-link table ? 

The path 45/25 TD/RD through the third neighbor will always be in the topology table, regardless of the variance setting; the variance has absolutely no impact on the contents of the topology table.

There are no separate topology and all-links tables. There is just a single topology table holding all collected information about destination networks and neighbors advertising these networks. The show ip eigrp topology will show only those neighbors that pass the feasibility condition check; the show ip eigrp topology all-links will display all neighbors advertising a network, regardless of whether they meet or fail the feasibility condition.

Best regards,

Peter

feroz syed
Level 3
Level 3

20 / 10 FD/AD succssor

30 / 10 FD/AD fessible successor

45 / 25 FD/AD
By default without configure variance 3 the router will select two path successor d feasible successor, but then what is the use of Variance 3 cmd here ?

Sent from Cisco Technical Support Android App

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card