# EIGRP Variance Command Example

Thanks Andrew

Enjoyed this lesson! Thanks mate!

Hi Rene,

I think the math might be slightly off on the division for the S2/0 metric. You’ve moved the decimal point on the first example, E1/0 (and this does make it way easier to crunch the numbers in a hurry, by the way! ), but not for the S2/0 interface when dividing to find the variance. Might be something to check.

This is correct (E1/0): 412.160 / 158.720 = 2.59

This is not (S2/0): 2300416 / 158.720 = 14.49 That equals 144493.548

I might be wrong, but the math just stuck out to me.

Hi Christopher,

Thanks for the heads up. I decided to get rid of the dots, might be less confusing Over here we use commas, in the US they use dots. Might be easier to use nothing.

Rene

Rene,

Oh, and I passed ICND2 on the 16th to get my CCNA R&S!! Thanks for all the good information that REALLY did help!! The stuff on spanning-tree and RPVST in particular was helpful.

Chris

Hi Christopher,

On behalf of Rene, we congratulate you to become CCNA certified & thanks for your kind words about our lessons.

Now it is time for CCNP R&S, right?
You can start with the ROUTE course hoping that soon you will be CCNP certified too.

I think I’m going to go for CCNA Security next. Any good content on here for that cert? Going to work on CeH in the meantime, too. Thanks again!!

Hi Christopher,

Going to CCNA Security is a new decision.
In the website there is a course for ASA firewall which is from CCNP security level, but there is a plan to put CCNA security lessons somewhere in the future.

1 Like

19 posts were merged into an existing topic: EIGRP Variance Command Example

Rene,

i was working on the lab for myself. i have the exact same config. however my ports are different as i am using a different ios version router. my traceroutes would go from r1>r4>r5> where the 5.5.5.5 was at.

after taking down a link i would get this output. what does this traceroute mean (below)

Type escape sequence to abort.
Tracing the route to 5.5.5.5

1 192.168.12.2 108 msec
192.168.13.3 88 msec
192.168.12.2 44 msec
2 192.168.35.5 112 msec
192.168.25.5 72 msec
192.168.35.5 120 msec

forgot to mention that i took down the link from r1 to r4

Hello Christopher

The output of your traceroute command is not quite clear. The format of the output should be something like this:

``````Router1#traceroute 34.0.0.4

Type escape sequence to abort.
Tracing the route to 34.0.0.4

1 12.0.0.2 4 msec 4 msec 4 msec
2 23.0.0.3 20 msec 16 msec 16 msec
3 34.0.0.4 16 msec *  16 msec
``````

Can you resend the output exactly as it was displayed in your command line? Thanks!

Laz

my mistake. i found the issue. thank you for your quick response. layer 8 issue. lol

1 Like

I found a typo in this lesson. The FD of R3 should be 412160, but was written 412.60.

Thanks @dinolystra, just fixed it.

Hello Rene

I followed all the step but still see some issue in traceroutes .I guess if the destination is 5.5.5.5 and we are load balancing we have 2 path via R2 & R3 .why do I see both R2& R3 ip in the traceroute .

``````## traceroute :
R1#traceroute 5.5.5.5

Type escape sequence to abort.
Tracing the route to 5.5.5.5

1 192.168.13.3 64 msec
192.168.12.2 64 msec
192.168.13.3 64 msec
2 192.168.25.5 60 msec
192.168.35.5 64 msec
192.168.25.5 60 msec
R1#sh clock
*14:34:04.131 UTC Sat Aug 19 2017

R1#traceroute 5.5.5.5 source 192.168.13.1

Type escape sequence to abort.
Tracing the route to 5.5.5.5

1 192.168.12.2 64 msec 60 msec 64 msec
2 192.168.25.5 88 msec 64 msec 68 msec
R1#traceroute 5.5.5.5 source 192.168.12.1

Type escape sequence to abort.
Tracing the route to 5.5.5.5

1 192.168.12.2 36 msec 64 msec
192.168.13.3 68 msec
2 192.168.25.5 92 msec
192.168.35.5 64 msec
192.168.25.5 60 msec
R1#traceroute 5.5.5.5 source 192.168.13.1

Type escape sequence to abort.
Tracing the route to 5.5.5.5

1 192.168.13.3 64 msec
192.168.12.2 76 msec
192.168.13.3 80 msec
2 192.168.25.5 92 msec 60 msec 72 msec
R1#sh clock
*14:34:54.827 UTC Sat Aug 19 2017``````

Hello Rahul

This is normal behaviour of `traceroute` when you have two equal cost routes. `Traceroute` sends ICMP packets and since both routes are equal, it will send them via both routes.

So for your first attempt, you get the following:

Note that for the first hop, indicated by the number 1, it shows three lines. The first is the first choice, the second is the second choice and the third is the actual route that was chosen between the two. So for the first hop, 192.168.13.3, or R3 was chosen as the route.
The second hop, indicated by the number 2 also has two options, because both routes via R2 and R3 were used and there are two options to choose from once again. So either Fa 0/0 or Fa1/0 of R5 will be used as the next hop. We are told in the third line that 192.168.25.5 or Fa0/0 is used.

In the next case, you are explicitly stating that you want to use interface E1/0 or IP address 192.168.13.1 as the `traceroute` source:

Because you are stating this, there is no option of using the load balancing capabilities of EIGRP so only one option is indicated in each case.

Now having said all of this, if the route via R2 and R3 from R1 were UNEQUALLY load balanced (using the variance command), this wouldn’t occur. Only one option would be displayed and used. You would only see one choice for each hop. The multiple choices for each hop indicate that there is EQUAL load balancing between the R2 and R3 routes. So you should check your configuration and make sure it is load balancing UNEQUALLY using the variance command.

I hope this has been helpful!

Laz

1 Like

Hi,

I would like to know if you need to configure variance on R1 and R5 for the return traffic? I believe if you need to reach the network 5.5.5.5 from R1, variance needs to be configured on R1. But how about the return traffic of the packet? I believe this will only use the successor path going back, is that right?

Thanks,

Hello Blue

When implementing variance on a router, it ONLY affects the routing of that specific router. Therefore you are correct. If you want to adjust the routing behaviour of returning traffic, then you must implement variance on R5 as well.

In general, if you want to influence the routing behaviour of a specific device using the variance command, it only affects the way that specific device routes packets.

I hope this has been helpful!

Laz

2 Likes

Hi I was studying use of the ‘variance’ command when I noticed the following:

Feasible Distance of R3 (feasible successor) = 41260
I assume it should read 412160 - I’m aware it is a very minor point, but it might cause a little confusion to some people.

regards
Jeff

3 Likes