R1 s1/0 -----s1/0 R2  S1/1 ----- s1/1 R3   S1/0 ------ s1/0 R4
R1 lo0 s1/0  ---RIPV2  R2- S/0    ---RIPV2    R2/R3/R4---ospf
R2--S1/1   ---ofpf  area 0   R3 s1/1
R3 1/0  --- ospf area 1  R4  s1/0 area 1

 

RB>en
RA#conf t
RA(config)#int s1/0
RA(config-if)#ip add 1.1.1.1 255.255.25
RA(config-if)#clock rate 64000
RA(config-if)#no sh
RA(config-if)#int lo0
RA(config-if)#ip add 100.100.100.100 255.255.255.255
RA(config-if)#exit
RA(config)#router rip
RA(config-router)#net
RA(config-router)#net  1.1.1.1
RA(config-router)#ver 2
RA(config-router)#net 100.100.100.100
RA(config-router)#^Z

 

RA#sh ip route
     1.0.0.0/30 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Serial1/0
R    2.0.0.0/8 [120/1] via 1.1.1.2, 00:00:16, Serial1/0
     100.0.0.0/32 is subnetted, 1 subnets
C       100.100.100.100 is directly connected, Loopback0
R    3.0.0.0/8 [120/1] via 1.1.1.2, 00:00:16, Serial1/0

 

 

RB>
RB>en
RB#conf t
RB(config)#
RB(config)#int s1/0
RB(config-if)#ip add 1.1.1.2 255.255.255.252
RB(config-if)#no sh
RB(config-if)#int s1/1
RB(config-if)#ip add 2.2.2.1 255.255.255.252
RB(config-if)#clock rate 64000
RB(config-if)#no sh
RB(config-if)#
RB(config-if)#exit
RB(config)#router rip
RB(config-router)#ver 2
RB(config-router)#net 1.1.1.2
RB(config-router)#redistribute ospf 1 metric 1
RB(config-router)#exit
RB(config)#router os
RB(config)#router ospf 1
RB(config-router)#net 2.2.2.1 0.0.0.3 are
RB(config-router)#net 2.2.2.1 0.0.0.3 area 0
RB(config-router)#redistribute rip metric 10 subnets
RB(config-router)#end
RB#

 

RB#sh ip route
     1.0.0.0/30 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Serial1/0
     2.0.0.0/30 is subnetted, 1 subnets
C       2.2.2.0 is directly connected, Serial1/1
R    100.0.0.0/8 [120/1] via 1.1.1.1, 00:00:03, Serial1/0
     3.0.0.0/30 is subnetted, 1 subnets
O IA    3.3.3.0 [110/128] via 2.2.2.2, 00:10:23, Serial1/1

 

 

 

RC>en
RC#conf t
RC(config)#int s1/1
RC(config-if)#ip add 2.2.2.2 255.255.255.252
RC(config-if)#no sh
RC(config-if)#int s1/0
RC(config-if)#ip add 3.3.3.1 255.255.255.252
RC(config-if)#clock rate 64000
RC(config-if)#no sh
RC(config-if)#
RC(config-if)#exit
RC(config)#router ospf 1
RC(config-router)#net 2.2.2.2 0.0.0.3 area 0
RC(config-router)#net 3.3.3.1 0.0.0.3 area 1
RC(config-router)#

 

RC#sh ip route
     1.0.0.0/30 is subnetted, 1 subnets
O E2    1.1.1.0 [110/10] via 2.2.2.1, 00:10:57, Serial1/1
     2.0.0.0/30 is subnetted, 1 subnets
C       2.2.2.0 is directly connected, Serial1/1
O E2 100.0.0.0/8 [110/10] via 2.2.2.1, 00:10:58, Serial1/1
     3.0.0.0/30 is subnetted, 1 subnets
C       3.3.3.0 is directly connected, Serial1/0

 

 

RD>
RD>en
RD#conf t
RD(config)#int s1/0
RD(config-if)#ip add 3.3.3.2 255.255.255.252
RD(config-if)#no sh
RD(config-if)#exit
RD(config)#router ospf 1
RD(config-router)#net 3.3.3.2 0.0.0.3 area 1

 

RD#sh ip route
     1.0.0.0/30 is subnetted, 1 subnets
O E2    1.1.1.0 [110/10] via 3.3.3.1, 00:11:17, Serial1/0
     2.0.0.0/30 is subnetted, 1 subnets
O IA    2.2.2.0 [110/128] via 3.3.3.1, 00:11:59, Serial1/0
O E2 100.0.0.0/8 [110/10] via 3.3.3.1, 00:11:17, Serial1/0
     3.0.0.0/30 is subnetted, 1 subnets
C       3.3.3.0 is directly connected, Serial1/0