ROUTE REDISTRIBUTION
BETWEEN OSPF AND EIGRP
www.netprotocolxpert.in
 We use the 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.
 Once you have 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
 Next, move on 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
 Next, move on 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.
Steps to Perform Route 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
 The following figure shows how to redistribute
EIGRP routes into OSPF.
 Now, let’s see 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.
 Once you have 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
 Next, move on to Router3 and execute the following
command to view the routing table.
 Router3#show ip route

Route Redistribution between OSPF and EIGRP

  • 1.
    ROUTE REDISTRIBUTION BETWEEN OSPFAND EIGRP www.netprotocolxpert.in
  • 2.
     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