configure OSPF to redistribute into RIP under the RIP configuration prompt with the redistribute ospf process metric metric command, where process is the OSPF process number, and metric is the default metric with which you want to originate the routes into RIP. If you do not specify a default metric in RIP, it gives routes an infinite metric and they are not advertised.
R2(config)# router rip
R2(config-router)# redistribute ospf 1 metric 4
Verify the redistribution with the show ip protocols command.
Redistributing: rip, ospf 1