Home > EIGRP OSPF Redistribution Sim

EIGRP OSPF Redistribution Sim

May 8th, 2014 in Lab Sim, LabSim Go to comments



Answer and Explanation:

First we need to find out 5 parameters (Bandwidth, Delay, Reliability, Load, MTU) of the s0/0/0 interface (the interface of R2 connected to R4) for redistribution :

R2#show interface s0/0/0

Write down these 5 parameters, notice that we have to divide the Delay by 10 because the metric unit is in tens of microsecond. For example, we get Bandwidth=1544 Kbit, Delay=20000 us, Reliability=255, Load=1, MTU=1500 bytes then we would redistribute as follows:

R2#config terminal
R2(config)# router ospf 1
redistribute eigrp 100 metric-type 1 subnets
R2(config-router)#router eigrp 100
R2(config-router)#redistribute ospf 1 metric 1544 2000 255 1 1500

(Notice: In fact, these parameters are just used for reference and we can use other parameters with no problem. Also, a candidate said that the simulator didn’t accept the Bandwidth of 1544; in that case, we can use a lower value, like 128.

If the delay is 20000us then we need to divide it by 10, that is 20000 / 10 = 2000)

Note: “usec” here does not mean microsecond (which is 1/1000 milliseconds) but means millisecond. In short usec = msec. I don’t know why they use the word “usec” here but just think it is “msec” (According to this link: http://www.cisco.com/en/US/tech/tk365/technologies_white_paper09186a0080094cb7.shtml#eigrpmetrics: “The delay as shown in the show ip eigrp topology or show interface commands is in microseconds”)

For R3 we use the show interface fa0/0 to get 5 parameters too

R3#show interface fa0/0

For example we get Bandwidth=10000 Kbit, Delay=1000 us, Reliability=255, Load=1, MTU=1500 bytes

R3#config terminal
router ospf 1
redistribute eigrp 100 metric-type 1 subnets
router eigrp 100
redistribute ospf 1 metric 10000 100 255 1 1500

Finally you should try to “show ip route” to see the network (the network behind R4) in the routing table of R1 and make a ping from R1 to this network.

Note: If the link between R2 and R3 is FastEthernet link, we must put the command below under EIGRP process to make traffic from R1 to go through R3 (R1 -> R2 -> R3 -> R4), which is better than R1 -> R2 -> R4.

R2(config-router)# distance eigrp 90 105

This command sets the Administrative Distance of all EIGRP internal routes to 90 and all EIGRP external routes to 105, which is smaller than the Administrative Distance of OSPF (110) -> the link between R2 & R3 will be preferred to the serial link between R2 & R4.

A reader on our site has a closer explanation for the “distance eigrp 90 105” command so we quote it here for your reference:

The “distance” refers to the administrative distance of the routes provided by a given routing process. By default, internal (which means non-redistributed) EIGRP routes are given an administrative distance of 90 while external (redistributed from another routing process) EIGRP routes are given an administrative distance of 170. The default administrative distance of OSPF is 110. The administrative distance measures the “distance from the truth” and tells the router which routes are more trustworthy. Lower administrative distance = more trustworthy. For this reason, connected routes have an administrative distance of 0. They are the MOST TRUSTWORTHY, because they are physically connected to the router. When making a decision about which route to install in the routing table, the router looks at administrative distance first. The metric (or cost) is only considered if two routes have the same administrative distance.

In this case, R2 will learn about R4’s loopback network from both R4 and R3. The route from R4 will be in OSPF (admin distance of 110) because R2 is also running OSPF while the route from R3 will be an external EIGRP route (administrative distance of 170 by default). Since the OSPF route has a lower administrative distance, it will get placed in R2’s routing table and the R3-provided route will be ignored. This is not optimal, since the path through R3 is a faster, more reliable path. To fix this, we change the administrative distance of external EIGRP routes at R2 by using the “distance eigrp 90 105” command. This sets the administrative distance of internal EIGRP routes to the default of 90 and changes the administrative distance of external EIGRP routes to 105 (less than that of OSPF routes). Now, when R2 learns of the loopback network from R4 and R3, it will install the now lower administrative distance external EIGRP route from R3 and our traffic from R1 will take the faster path.

Note: Please check the OSPF process numbers first before typing these commands.

If you want to have a closer look at this sim and understand more about the “distance eigrp” command, please read my OSPF EIGRP Redistribute Lab in GNS3.

Other lab-sims on this site:

EIGRP Stub Sim


IPv6 OSPF Virtual Link Sim

EIGRP Simlet

Policy Based Routing Sim

Comment pages
1 3 4 5 26
  1. Anonymous
    May 17th, 2017

    hi Guys,

    I gonna pass mine this Friday , can some one share with me the new dump here : {email not allowed};

  2. Anonymous
    May 17th, 2017

    {email not allowed}

  3. Anon
    May 18th, 2017

    I still don’t see the point in “distance eigrp 90 105”.

    Why is going R1 -> R2 -> R3 -> R4 better than going R1 -> R2 -> R4.

    R1 -> R2 -> R3 -> R4 = 2 x Serial + 1 Ethernet.
    R1 -> R2 -> R4 = 2 Serial.

  4. Chaka
    May 19th, 2017

    Thanks Anon, I do not catch the point, too.

  5. cloud9
    May 19th, 2017

    First Option(R1 -> R2 -> R3 -> R4):
    R1 to R2 BW = 1544Kbps
    R2 to R3 BW = 1544Kbps
    R3 to R4 BW = 100Mbps ( assuming its a fast ethernet link)
    TOTAL BW = 103.088Mbps

    Second Option (R1 -> R2 -> R4)
    R1 to R2 BW = 1544Kbps
    R2 to R4 BW = 1544Kbps
    TOTAL BW = 3.088Mbps

    One of the requirements is that all traffic must use the shortest path that provides the greatest BW.

    103.088Mbps is greater than 3.088Mbps which also means it’s much faster.

    Hope this helps!

  6. Chaka
    May 19th, 2017

    But all Serial links are the same bottleneck.
    So in my opinion it is not a better way but if it have to in the exam – OK.

  7. Blanco
    May 19th, 2017

    First serial is a bottleneck R1 to R2 BW = 1544Kbps so it does not make any difference that we would have FastEthernet with 100Mbs or another serial with 1544Kbps, since first one is always 1544Kbps and traffic can not go faster over it, no matter what is next. For me it makes no sense to manipulate that path.

  8. ANAroute
    May 21st, 2017

    Compilation of exams and including April and May.
    h t t p : / / c o r n e e y . c o m / q D 4 e y d
    the pass is
    delete the spaces

  9. Anon
    May 22nd, 2017

    Hi Folks – I’m the Anon that asked the question (distance eigrp 90 105) in the first place.

    Took the exam and R1, R2, R3 are all connected via Fast Ethernet. The only serial link is R2 R4, so in the exam you will need to apply the final command.


  10. Anonymous
    May 27th, 2017

    pass ccnp route exam today…

Comment pages
1 3 4 5 26
  1. No trackbacks yet.