You are on page 1of 4

1/17/2018 Hands-on Lab # 7 - www.how2pass.

com

Print this Page


Hands-on Lab # 7: EIGRP-OSPF Redistribution

Objective: To use IPv4 redistribution between EIGRP and OSPF to optimize routing decisions.

Scenario: Router R2 is an ASBR for EIGRP 100 and OSPF AREA 24.
Router R3 is an ASBR for EIGRP 100 and OSPF AREA 34.
There are TWO separate areas on TWO separate ASBRS thus you need to do redistribution
on R2 and R3.

Router R1 is in EIGRP AS 100 only, and this is the only router you can ping from.
Router R4 is running OSPF and has redundant links to EIGRP network over R2 and R3
router.

Your configuration will be ok when:

1. you can ping successfully from router R1 to router R4's loopback address 172.16.100.1.
2. the traffic uses the path with the maximum available bandwidth to reach 172.16.100.1.
There are some restrictions on configuration, like no static or default routes allowed.

Exhibit:

Configuration: It is obvious that in order to achieve above goals you need to configure redistribution on
routers R2 and R3. So, the main goal of this lab is to test if you understand redistribution and
how to influence path selection to the network 172.16.100.0.

We have two paths to reach from R1 to the network 172.16.100.0:

1. R1-R2-R4, or
2. R1-R2-R3-R4.
Since the traffic from R1 to R4 and beyond must use the path with the maximum available
bandwidth, we use show interfaces command to collect bandwidth on each up/up interface
on R2 and R3. Here are the results of the show interfaces command.

http://www.how2pass.com/emembers/route101/sim/ 1/4
1/17/2018 Hands-on Lab # 7 - www.how2pass.com

R2′s Fa0/0 (connecting to R1; it is not important here), R2′s s0/0/0 (connecting to R4) is
128kbps, R2′s Fa0/1 (connecting to R3) is 10000kbps, R3's Fa0/1 (connecting to R2) is
10000kbps, R3′s Fa0/0 (connecting to R4) is 10000kbps.

The analysis of above bandwidth clearly shows the best path would be through R1-R2-R3-R4,
because it has the largest bandwidth.

Now the goal of our configuration should be to force the traffic from R1 to use the R1-R2-R3-
R4 route but to be able to use the R1-R2-R4 route as a backup. On the test there are certain
restrictions, like no static or default routes allowed which remove any other possible solutions
involving static route or default route to choose traffic path.

Configuration on router R2

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

R2#show interfaces s0/0/0

For example, we get:

Bandwidth = 128 Kbit,


Delay = 20000 �s,
Reliability = 255,
Load = 1,
MTU = 1500 Bytes

Note: The given delay is 20000 �s. We have to divide it by 10, i.e., 20000 / 10 = 2000 �s,
because its unit in the metric command is tens of microsecond.

Now we would redistribute as follows:

R2#config terminal
R2(config)#router ospf 1
R2(config-router)#redistribute eigrp 100 metric-
type 1 subnets
! Redistribute EIGRP routes into OSPF as type 1
external routes.

R2(config-router)#exit
R2(config)#router eigrp 100
R2(config-router)#redistribute ospf 1 metric 128
2000 255 1 1500
! Redistribute OSPF routes into EIGRP along with
initial metric.

R2(config-router)#distance eigrp 90 109


! When OSPF is redistributed to EIGRP on R2, the
"D EX" routes (EIGRP external routes) have higher
AD than OSPF routes on R2 and R2 will because of
that send traffic to R4. We have changed that
with the distance 90 109 command on R2 under the
eigrp process, so that AD of "D EX" routes is 109
and lower than the AD of OSPF (110) that will
http://www.how2pass.com/emembers/route101/sim/ 2/4
1/17/2018 Hands-on Lab # 7 - www.how2pass.com

force the router R2 to select the path via router


R3.

Configuration on router R3

R3#show interfaces fa0/0

We get the following values:

Bandwidth = 10000 Kbit,


Delay = 1000 �s (we would use 100 �s, for the reason given above).
Reliability = 255,
Load = 1,
MTU = 1500 Bytes

We would configure redistribution on R3 as follows:

R3#config terminal
R3(config)#router ospf 1
R3(config-router)#redistribute eigrp 100 metric-
type 1 subnets
! Redistribute EIGRP routes into OSPF as type 1
external routes.

R3(config-router)#exit
R3(config)#router eigrp 100
R3(config-router)#redistribute ospf 1 metric
10000 100 255 1 1500
! Redistribute OSPF routes into EIGRP along with
initial metric.

Note: If the copy running-config startup-config command does not work in this lab, don't
worry, just ignore it.

Verification

Use the show ip route command on router R1 to see the 172.16.100.0 network (the network
behind router R4) in the routing table of R1, and ping from R1 to the IP address 172.16.100.1
on the remote network.

R1#show ip route

R1#ping 172.16.100.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.100.1, timeout
is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip
min/avg/max = 16/38/48 ms

Start Hands-on Lab

http://www.how2pass.com/emembers/route101/sim/ 3/4
1/17/2018 Hands-on Lab # 7 - www.how2pass.com

Your feedback will help us improve it and develop more Hands-on Labs. Send your
feedback at support@how2pass.com
�2001-2018 How2Pass Network. All rights reserved.

http://www.how2pass.com/emembers/route101/sim/ 4/4

You might also like