This document discusses configuring route redistribution between OSPF and EIGRP routing protocols. It describes configuring EIGRP on Router1 for networks 10.0.0.0 and 192.168.0.0, EIGRP on Router2 for 192.168.0.0, and OSPF on Router2 and Router3 for various networks including 192.168.1.0. It then explains how to redistribute EIGRP routes into OSPF by configuring redistribution on Router2, and how to redistribute OSPF routes into EIGRP by configuring redistribution on the same router. Verifying the routing tables on Router1 and Router3 is used to confirm the redist
We usethe following topology to demonstrate how to
redistribute EIGRP routes into OSPF and OSPF routes
into EIGRP. We assume that all the devices have
already been configured with the appropriate IP
addresses.
3.
Once youhave configured the appropriate IP addresses,
execute the following commands to configure RIP routing
on Router1.
Router1(config)#router eigrp 100
Router1(config-router)#network 10.0.0.0
Router1(config-router)#network 192.168.0.0
Router1(config-router)#exit
Next, move on to Router2 and execute the following
commands to configure EIGRP routing.
Router2(config)#router eigrp 100
Router2(config-router)#network 192.168.0.0
Router2(config-router)#exit
Next, on Router2, execute the following commands to
configure OSPF routing.We assume that our OSPF routers
(Router1 and Router2) belong to area 0.
Router2(config)#router ospf 100
Router2(config-router)#network 192.168.1.0 0.0.0.255 area 0
Router2(config-router)#exit
4.
Next, moveon to Router3 and execute the following
commands to configure OSPF routing.
Router3(config)#router ospf 100
Router3(config-router)#network 192.168.1.0 0.0.0.255 area 0
Router3(config-router)#network 20.0.0.0 0.255.255.255 area 0
Router3(config-router)#exit
5.
Next, moveon to Router1 and execute the following
command to view the routing table.
Router1#show ip route
In the preceding figure, you can see that Router1 has only the network routes for
10.0.0.0/8 and 192.168.0.0/24 networks. It cannot learn OSPF routes until you
perform the route redistribution.
6.
Steps to PerformRoute Redistribution
Between OSPF and EIGRP
Now, you have prepared your network topology. Let’s see how
to redistribute EIGRP routes into OSPF.
To redistribute EIGRP routes into OSPF, you need to execute
the following commands on Router2.
Router2(config)#router eigrp 100
Router2(config-router)#redistribute ospf 100 metric 1000 100 255 1 1500
7.
The followingfigure shows how to redistribute
EIGRP routes into OSPF.
8.
Now, let’ssee how to redistribute OSPF routes into EIGRP. To
do so, execute the following commands on Router2.
Router2(config)#router ospf 100
Router2(config-router)#redistribute eigrp 100 metric 1 subnets
The following figure shows how to redistribute OSPF routes
into EIGRP.
9.
Once youhave performed route redistribution between OSPF
and EIGRP, move on to Router1 and execute the following
command to view the routing table.
Router1#show ip route
10.
Next, moveon to Router3 and execute the following
command to view the routing table.
Router3#show ip route