Router 4 has a problem because it has an area that isn't on a router directly connected to the backbone (area 0) The loopback 4.4.4.4 will not be reachable unless we create a virtual link to area 0. Also R5, will not be able to communicate with the rest of the network unless it uses route redistribution.
R1#show ip route ospf
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/65] via 172.12.123.2, 00:02:08, Serial0/0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/65] via 172.12.123.3, 00:02:08, Serial0/0
O IA 192.168.1.0/24 [110/65] via 172.12.123.2, 00:02:08, Serial0/0
R1#ping 4.4.4.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R1#ping 5.5.5.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R4(config)#router ospf 1
R4(config-router)#area 13 virtual-link 2.2.2.2
R2#
*Mar 1 02:08:55.195: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 192.168.1.4, FastEthernet0/0
R2(config)#router ospf 1
R2(config-router)#area 13 virtual-link 4.4.4.4
R2(config-router)#
*Mar 1 02:10:15.134: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 192.168.1.4, FastEthernet0/0
*Mar 1 02:10:16.933: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 on OSPF_VL1 from LOADING to FULL, Loading Done
R1#show ip route ospf
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/65] via 172.12.123.2, 00:01:18, Serial0/0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/65] via 172.12.123.3, 00:01:18, Serial0/0
4.0.0.0/32 is subnetted, 1 subnets
O IA 4.4.4.4 [110/66] via 172.12.123.2, 00:01:18, Serial0/0
O IA 192.168.1.0/24 [110/65] via 172.12.123.2, 00:01:18, Serial0/0
R1#ping 4.4.4.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/34/40 ms
R5#show ip route rip
R5#
R3(config)#router ospf 1
R3(config-router)#redistribute rip subnets
R3(config)#router rip
R3(config-router)#redistribute ospf 1 metric 2
R5#show ip route rip
1.0.0.0/32 is subnetted, 1 subnets
R 1.1.1.1 [120/2] via 10.1.1.3, 00:00:04, FastEthernet0/0
2.0.0.0/32 is subnetted, 1 subnets
R 2.2.2.2 [120/2] via 10.1.1.3, 00:00:04, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
R 3.3.3.3 [120/2] via 10.1.1.3, 00:00:04, FastEthernet0/0
4.0.0.0/32 is subnetted, 1 subnets
R 4.4.4.4 [120/2] via 10.1.1.3, 00:00:04, FastEthernet0/0
172.12.0.0/24 is subnetted, 1 subnets
R 172.12.123.0 [120/2] via 10.1.1.3, 00:00:04, FastEthernet0/0
R 192.168.1.0/24 [120/2] via 10.1.1.3, 00:00:04, FastEthernet0/0
R1#show ip route ospf
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/65] via 172.12.123.2, 00:04:06, Serial0/0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/65] via 172.12.123.3, 00:04:06, Serial0/0
4.0.0.0/32 is subnetted, 1 subnets
O IA 4.4.4.4 [110/66] via 172.12.123.2, 00:04:06, Serial0/0
5.0.0.0/32 is subnetted, 1 subnets
O E2 5.5.5.5 [110/20] via 172.12.123.3, 00:04:06, Serial0/0
10.0.0.0/24 is subnetted, 1 subnets
O E2 10.1.1.0 [110/20] via 172.12.123.3, 00:04:06, Serial0/0
O IA 192.168.1.0/24 [110/65] via 172.12.123.2, 00:04:06, Serial0/0
R1#ping 5.5.5.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/33/40 ms