Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Hi Brother,
First why we use OSPF.
OSPF is use to reach loopback of R5 from all routers except R5(Loopback is directly connected) and same for R1.
since when iBGP is created the loopback ip of R5 from R1 is reachable and same for vice-versa.
Hence...