Sei sulla pagina 1di 11

12/11/2019 Route Redistribution Between OSPF and RIP

P R OT E C H G U R U S
Learn By Self | Served By Experts

Buy Here: AWS Cloud Step By Step Lab Manual Guide


DEAL OF THE MONTH

Windows Server 2016 Hands-on Practical Guide with Virtual Machine Lab Setup

CCNA GNS3 LABS VMWARE VIRTUALBOX WINDOWS LINUX AWS CLOUD

BLOGGING TUTORILAS

You are here: Home / Cisco / CCNA / Route Redistribution Between OSPF and RIP

AUGUST 13, 2016 BY PROTECHGURUS

Route Redistribution Between OSPF and RIP

Route redistribution is a method to redistribute routes learned by a routing method to


another routing method. In this post, we will explain how to perform route redistribution

between OSPF and RIP routing protocols. If you are interested, you can visit the
following posts to know more about route redistribution.

1. Understanding the route redistribution process


2. Route redistribution between OSPF and EIGRP

3. Route redistribution between RIP and EIGRP

To demonstrate how to perform redistribution between OSPF and RIP, let’s have a close

look up at the following topology. If you are using a simulator such as Cisco Packet Tracer
or GNS3, create the following topology and configure the appropriate IP addresses.

https://protechgurus.com/route-redistribution-ospf-rip/ 1/11
12/11/2019 Route Redistribution Between OSPF and RIP

P R OT E C H G U R U S
Learn By Self | Served By Experts

Buy Here: AWS Cloud Step By Step Lab Manual Guide

Perform Route Redistribution Between OSPF and RIP


1. After configuring the appropriate IP addresses on the devices, the next step is to

configure routing. As per the above-mentioned topology, we have to configure RIP


routing on Router1 and Router2. To do so, execute the following commands.

Router1(config)#router rip
Router1(config-router)#network 10.0.0.0
Router1(config-router)#network 192.168.0.0

Router1(config-router)#exit

2. After configuring RIP on Router1, switch to Router2’s console and execute the
following commands to configure RIP routing.

https://protechgurus.com/route-redistribution-ospf-rip/ 2/11
12/11/2019 Route Redistribution Between OSPF and RIP

Router2(config)#router rip
P R OT E C H G U R U S
Router2(config-router)#network
Learn By Self | Served By Experts 192.168.0.0
Router2(config-router)#exit
Buy Here: AWS Cloud Step By Step Lab Manual Guide

3. On Router2, one interface is also connected to the OSPF area 0 network. So, use

the following commands to apply OSPF routing on Router2. (100 is the AS number)

Router2(config)#router ospf 100


Router2(config-router)#network 192.168.1.0 0.0.0.255 area 0
Router2(config-router)#exit

4. The following figure shows the RIP and OSPF routing configuration of Router2.

5. Once the Router1 and Router2 are configured, now it is time to configure Router3.

To do so, use the following commands to configure OSPF routing.

https://protechgurus.com/route-redistribution-ospf-rip/ 3/11
12/11/2019 Route Redistribution Between OSPF and RIP

Router3(config)#router ospf 100


P R OT E C H G U R U S
Router3(config-router)#network
Learn By Self | Served By Experts 192.168.1.0 0.0.0.255 area 0
Router3(config-router)#network 20.0.0.0 0.255.255.255 area 0
Buy Here: AWS Cloud Step By Step Lab Manual Guide
Router3(config-router)#exit

6. Next, move on to Router1 and execute the following command to show the routing
table.

Router1#show ip route

In the preceding figure, you can see that Router1 has only the network routes of RIP
routing protocol. It cannot learn OSPF routes until we perform the route

redistribution.

Redistribute RIP into OSPF


1. In order to redistribute RIP routes into OSPF, the following commands should be

executed on Router2.

Router2(config)#router rip

Router2(config-router)#redistribute ospf 100 metric 1

2. The following figure shows how to redistribute RIP routes into OSPF.

https://protechgurus.com/route-redistribution-ospf-rip/ 4/11
12/11/2019 Route Redistribution Between OSPF and RIP

P R OT E C H G U R U S
Learn By Self | Served By Experts

Buy Here: AWS Cloud Step By Step Lab Manual Guide

Note: We recommend to have a close look up at the preceding figure to


understand the syntax used to inject RIP routes into OSPF.

Redistribute OSPF into RIP


1. In order to redistribute OSPF routes into RIP, the following commands should be

executed on Router2.

Router2(config)#router ospf 100

Router2(config-router)#redistribute rip metric 1

2. The following figure shows how to redistribute OSPF routes into RIP.

https://protechgurus.com/route-redistribution-ospf-rip/ 5/11
12/11/2019 Route Redistribution Between OSPF and RIP

P R OT E C H G U R U S
Learn By Self | Served By Experts

Buy Here: AWS Cloud Step By Step Lab Manual Guide

Note: Take a close look up at the preceding figure to understand the syntax
used to inject OSPF routes into RIP. One of the most important factors that you
should consider is OSPF Cost Metric.

Verifying Route Redistribution Between OSPF and RIP


Once you have redistributed RIP into OSPF and vice-versa, now, it is time to verify

your configuration. To do so, execute the show IP route command and examine the
routing table on a router.

Router1#show ip route

https://protechgurus.com/route-redistribution-ospf-rip/ 6/11
12/11/2019 Route Redistribution Between OSPF and RIP

P R OT E C H G U R U S
Learn By Self | Served By Experts

Buy Here: AWS Cloud Step By Step Lab Manual Guide

Have you noticed any changes? Yes. In the preceding figure, you can see that
20.0.0.0/8 and 192.168.1.0/24 networks are added through the RIP routing

method.
Next, verify the routing table on Router3.

Router3#show ip route

https://protechgurus.com/route-redistribution-ospf-rip/ 7/11
12/11/2019 Route Redistribution Between OSPF and RIP

P R OT E C H G U R U S
Learn By Self | Served By Experts

Buy Here: AWS Cloud Step By Step Lab Manual Guide

In the preceding figure, you can see that 10.0.0.0/8 and 192.168.0.0/24 networks
are added through the external OSPF protocol.
To further verify your configuration, you can test connectivity between Router1

and Router3 using the ping utility.

That’s all you need to perform route redistribution between OSPF nd RIP routing

protocols. Was it helpful for you? Drop your feedback in the comment box. Would you like
to share the article? please do share.

Share this:

 

https://protechgurus.com/route-redistribution-ospf-rip/ 8/11
12/11/2019 Route Redistribution Between OSPF and RIP

❮❮ PREVIOUS POST NEXT POST ❯ ❯


P R OT E C H G U R U S
Learn By Self | Served By Experts

Buy Here: AWS Cloud Step By Step Lab Manual Guide

Search this website …


WINDOWS SERVER 2016 – LAB


MANUAL GUIDE

T H E B E S T C C N A S E L F S T U DY
GUIDE

https://protechgurus.com/route-redistribution-ospf-rip/ 9/11
12/11/2019 Route Redistribution Between OSPF and RIP

P R OT E C H G U R U S LIKE US

Learn By Self | Served By Experts


Protechgurus
Buy Here: AWS Cloud Step By923
Step
likesLab Manual Guide

Like Page Lea

AW S C LO U D S E L F L E A R N I N G
GUIDE

RECENT POSTS

how to scan ec2 instances using


amazon inspector

creating and using aws nat gateways –


step by step

how to create and use aws internet


gateways

how to create and manage aws virtual


private cloud (vpc)

https://protechgurus.com/route-redistribution-ospf-rip/ 10/11
12/11/2019 Route Redistribution Between OSPF and RIP

step by step guide to create aws


P R OT E C H G U R U S account without credit card
Learn By Self | Served By Experts

Buy Here: AWS Cloud Step By Step Lab Manual Guide

NEWSLETTER

Email address:

Your email address

SIGN UP

CONTACT US TERMS AND CONDITIONS ABOUT US

C O P Y R I G H T © ‘ 2 0 1 9 ’ · P ROT E C H G U RU S ·
P R E T T Y C H I C T H E M E B Y: P R E T T Y DA R N C U T E D E S I G N

https://protechgurus.com/route-redistribution-ospf-rip/ 11/11

Potrebbero piacerti anche