How to Redistribute RIP OSPF EIGRP and Static Routes?

Introduction:

The previous blog post discussed redistribution as translating routes among different routing protocols. In the last blog, we also completed redistribution between EIGRP and OSPF, where we redistributed EIGRP and ospf to each other. This blog will expand our lab topology and introduce RIP and static routes. We will redistribute RIP, OSPF, EIGRP, and static routes with each other. 

Redistribute RIP and OSPF:

RIP uses hop count as its metric. But when we redistribute RIP routes into OSPF, OSPF will assign a cost metric because it doesn’t understand hop count.

Similarly, when we redistribute OSPF into RIP, RIP assigns hop count as its metric. The hop count range is from 1 to 15.

Redistribute OSPF and EIGRP

EIGRP uses a composite metric. When redistributing OSPF into EIGRP, you must specify the bandwidth, delay, reliability, load, and MTU. It will help us to calculate the best path accurately. Redistributing EIGRP into OSPF requires a composite EIGRP metric into OSPF cost. We can assign default cost to it     

Redistribute static and EIGRP routes

Static and EIGRP routes directly communicate with each other. It requires redistribution for its communication.

Lab topology to Redistribute RIP OSPF EIGRP and static routes:

This lab consists of four routers, which are R1, R2, R3, and R4. The lab is configured in a Cisco Packet Tracer. As shown in the diagram below, we have configured IP addresses in the lab. We will redistribute all the routing protocols for convergence.

Redistribute RIP OSPF EIGRP and static routes

Configure Basic IP configuration on all the routers, e.g., R1, R2, and R3.

Run RIP and OSPF on R1

configuring RIP and OSPF on R1

Run OSPF and EIGRP on R2

running OSPF and EIGRP on R2

Run EIGRP on R3 and also configure static routes on R3

configuring EIGRP on R3

Routing table of R1, R2 and R3

 R1 routing table

It shows only OSPF-enabled networks but no other networks like 2.0.0.0, 192.168.22.0, 192.168.3.0. So, we will start redistribution, due to which R1 will complete its routing table.

 R2 routing table before redistribution

     Its routing table is also not fully converged, here redistribution will be required between ospf and eigrp

R3 routing table

R3 is not pinging R1’s connected interfaces, but after redistribution between OSPF and EIGRP, R3 will be able to ping these interfaces.

On R1, configure redistribution between RIP and OSPF

redistribution between RIP and OSPF

Redistribution of OSPF and EIGRP on R2;

redistribution between ospf and eigrp

Redistributing static routes into EIGRP;

Check the routing table of each router

show ip route of all routers

Now, we will check the connectivity from R1 to all the routers.

 Ping from R1 to all rotues

Similarly, ping all the routes from R2 as well.

ping from R2

In the same way, ping from R3.

ping from R3

All the routers ping to each route, due to which we observe that our network topology is fully converged.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *