Route Redistribution between RIP and OSPF Routing domain

Posted: 18 Jan 2018 in CCNP
Tags: ,

Route Redistribution configuration lab between RIP and OSPF Routing domain.This lab is to show route redistribution between RIP routing and OSPF Routing.So if you are preparing for ccnp certification then this tutorial is for you.I have mentioned step wise notes with proper documentation to configure Route Redistribution between RIP and OSPF routing protocol.

Redistribution is done when you want to take routes learn from one routing protocol and put them in another Routing protocol.

here in This Lab we are putting the RIP Route in to OSPF Route and OSPF route in to RIP Route.

You can also Read:
Route Redistribution Between OSPF and EIGRP
Route Redistribution between RIP and EIGRP

rip ospf redistribution lab

Step 1:Configure IP Addresses on each Router.

 

Step 2: Configure RIP Routing on Router R1:
r1>enable

r1#config t

Enter configuration commands, one per line. End with CNTL/Z.

r1(config)#router rip

r1(config-router)#version 2

r1(config-router)#network 1.0.0.0

r1(config-router)#network 3.0.0.0

r1(config-router)#

 

Step3: Configure RIP Routing and OSPF Routing on router R2:(R2 is distribution Router)
r2#config t
 Enter configuration commands, one per line. End with CNTL/Z.
 r2(config)#router rip
 r2(config-router)#version 2
 r2(config-router)#network 3.0.0.0
 r2(config-router)#exit

 

r2(config)#router ospf 100

r2(config-router)#network 4.0.0.0 0.255.255.255 area 0
Step 4: Configure OSPF Routing on Router r3:
r3(config)#router ospf 100

r3(config-router)#network 4.0.0.0 0.255.255.255 area 0

r3(config-router)#network 5.0.0.0 0.255.255.255 area 0

 

Step 5: Redistribute RIP Routes in to OSPF
r2(config)#router rip

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

r2(config-router)#
Step 6: Redistribute OSPF  Routes in to RIP
r2(config-router)#exit

r2(config)#router ospf 100

r2(config-router)#redistribute rip metric 1
Step 7:Check configuration working or not using ping.

ping testing

PC>ipconfig

FastEthernet0 Connection:(default port)

Link-local IPv6 Address.........: FE80::20A:41FF:FE75:7366

IP Address......................: 1.0.0.2

Subnet Mask.....................: 255.0.0.0

Default Gateway.................: 1.0.0.1

 

PC>ping 5.0.0.2

Pinging 5.0.0.2 with 32 bytes of data:

Reply from 5.0.0.2: bytes=32 time=2ms TTL=125

Reply from 5.0.0.2: bytes=32 time=0ms TTL=125

Reply from 5.0.0.2: bytes=32 time=0ms TTL=125

Reply from 5.0.0.2: bytes=32 time=11ms TTL=125

Ping statistics for 5.0.0.2:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 11ms, Average = 3ms

PC>

 

Step 8:check routing table of router R1:
r1#show ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

C 1.0.0.0/8 is directly connected, FastEthernet0/0

C 3.0.0.0/8 is directly connected, FastEthernet0/1

R 4.0.0.0/8 [120/1] via 3.0.0.2, 00:00:18, FastEthernet0/1

R 5.0.0.0/8 [120/1] via 3.0.0.2, 00:00:18, FastEthernet0/1

r1#
Advertisement

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.