
John V. answered 11/18/20
Cisco/Juniper/Microsoft Certified Network Plumber
Without a diagram this is extremely difficult to answer:
However, as a rule of thumb:
eBGP is external BGP and is used at the edge routers for communications between Autonomous Systems (AS's)
iBGP is internal BGP and is used for communications within an AS.
An igp (OSPF, RIP, etc) can be used by internal routers as a transport between BGP routers.
So (I know this is crude):
----------------AS1------------|----------------AS2------------|----------------AS3------------|----------------AS4------------
1R1-1R2-1R3---------------2R1-2R2-2R3---------------3R1-3R2-3R3---------------4R1-4R2-4R3
eBGP would be running between 1R3 and 2R1, 2R3 and 3R1, 3R3 and 4R1
iBGP would be running between 2R1 and 2R3, 3R1 and 3R3
RIP would be running on all routers in AS1 and AS4 - need to be on the same subnet
OSPF would be running on all routers in AS2 and AS3 - need to be on the same subnet
BGP neighbors do not need to be on the same subnet. But they do need an igp (RIP, OSPF, etc) to provide connectivity between them. Therefore, router 2R2 does not need to be running bgp for a neighbor relationship for form between 2R1 and 2R3, provided there is a valid route in OSPF between the IP's on 2R1 and 2R3 being used for BGP (usually a Loopback or system address).
Clear as mud?
Sarah D.
I could not download the diagram. but it is online. here is the link https://www.chegg.com/homework-help/questions-and-answers/3-6-pts-consider-network-shown--suppose-as1-as2-running-ospf-intra-routing-protocol-suppos-q61264035 Thank you so much for your help11/19/20