I am trying to run intra and inter-domain routing using Quagga. I like to announce a prefix from AS7 and I like AS6 receive it and send it to AS2(as shown in the attached topology).
I know for intra topology I need to run OSPF. My question and my problem is about involving iBGP and eBGP routers in OSPF protocol. I mean, my guess is that I should use a public ip address for my eBGP routers. So do I need to run OSPF just on routers r3,r4,r10? Do I need to have a session between R6 and R5 or between R6 and R9? If I involve my eBGP routers in building my full mesh topology, then I need to connect R6 and for example R5 too. But as I am using their public ip addresses, then they can communicate without using the internal path. I am using their public ip addresses because I link AS7 could be able to talk to them.
Can you please help me to understand how can handle this?