This post is a continuations of a Two-Way Redistribution online notes between RIPv2 to OSPF and Vice-Versa. 

Laboratory Topology:

Laboratory Objectives:

a. Redistribute OSPF Into RIP

b. Redistribute RIP into OSPF using the default OSPF metrics.

c. Test the connectivity


My router configurations:

Manila#sh run | sec ospf
router ospf 100
 network 0.0.0.0 255.255.255.255 area 0
Manila#


Singapore#show run | sec rip
router rip
 version 2
 network 192.168.23.0
 default-metric 5
 no auto-summary

Singapore#sh run | sec ospf
router ospf 100
 network 192.168.12.0 0.0.0.255 area 0


Melbourne#sh run | sec rip
router rip
 version 2
 network 10.0.0.0
 network 192.168.23.0

 no auto-summary


So here’s Singapore routing table, Again, it has a copy of both RIP networks and OSPF Networks

Singapore#show  ip route ospf

!

Gateway of last resort is not set

      10.0.0.0/32 is subnetted, 5 subnets
O        10.10.10.1 [110/65] via 192.168.12.1, 00:04:24, Serial3/0
O        10.10.20.2 [110/65] via 192.168.12.1, 00:04:24, Serial3/0

Singapore#



Singapore#show  ip route rip
!

Gateway of last resort is not set

      10.0.0.0/32 is subnetted, 5 subnets
R        10.10.30.3 [120/1] via 192.168.23.3, 00:00:09, Serial3/1
R        10.10.40.4 [120/1] via 192.168.23.3, 00:00:09, Serial3/1

Singapore#



Let me redistributed OSPF into RIP: On my existing configs, I have a RIP metrics of 5.

Singapore(config)#router rip
Singapore(config-router)#redistribute ospf 100


Let’s take a look into the Melbourne router RT. I have the three routes from OSPF routing domain redistributed into RIP.


Melbourne#show ip route rip
!
Gateway of last resort is not set

      10.0.0.0/32 is subnetted, 4 subnets
R        10.10.10.1 [120/5] via 192.168.23.2, 00:00:20, Serial3/1
R        10.10.20.2 [120/5] via 192.168.23.2, 00:00:20, Serial3/1
R     192.168.12.0/24 [120/5] via 192.168.23.2, 00:00:20, Serial3/1

Melbourne#

Now, let me redistributed the RIP into OSPF.

Singapore(config)#router ospf 100
Singapore(config-router)#redistribute rip subnets

And let’s check the Manila router RT. So I have now the three RIP routes translated into OSPF External Type 2 routes…

Manila#show ip route ospf
!
Gateway of last resort is not set

      10.0.0.0/32 is subnetted, 4 subnets
O E2     10.10.30.3 [110/20] via 192.168.12.2, 00:00:16, Serial3/0
O E2     10.10.40.4 [110/20] via 192.168.12.2, 00:00:16, Serial3/0
O E2  192.168.23.0/24 [110/20] via 192.168.12.2, 00:00:16, Serial3/0



Manila#show ip ospf database

            OSPF Router with ID (10.10.20.2) (Process ID 100)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
10.10.20.2      10.10.20.2      891         0x80000002 0x006748 4
10.10.50.2      10.10.50.2      222         0x80000002 0x00BD3C 2

                Type-5 AS External Link States

Link ID         ADV Router      Age         Seq#       Checksum Tag
10.10.30.3      10.10.50.2      221         0x80000001 0x006DB5 0
10.10.40.4      10.10.50.2      221         0x80000001 0x00F423 0
192.168.23.0    10.10.50.2      221         0x80000001 0x0022B5 0
Manila#

Finally, let’s check the connectivity,

 Manila#ping 10.10.40.4 source 10.10.10.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.40.4, timeout is 2 seconds:
Packet sent with a source address of 10.10.10.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/69/84 ms

Manila#

Leave a comment

Quote of the week

"People ask me what I do in the winter when there's no baseball. I'll tell you what I do. I stare out the window and wait for spring."

~ Rogers Hornsby