cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
562
Views
10
Helpful
7
Replies

OSPF as iBGP

axfalk
Level 1
Level 1

If were to use OSPF as internal BGP, would we need to create the ajacencies between the int on the router or can we just passive-interface them?

Thanks..

7 Replies 7

Edison Ortiz
Hall of Fame
Hall of Fame

I believe you were referring to OSPF as the IGP, not the internal BGP as that is another routing protocol altogether :)

If you don't want to create adjacencies between routers running OSPF while having OSPF enabled in the router, you can use passive-interface command under the OSPF routing process referring to the interfaces connected to the unwanted neighbors.

HTH,

__

Edison.

Edison, thnx for your response.

You mentioned "unwanted neighbors" in your reply - can you please elaborate? Also, what would be the trafe-off in having adjaciencies created with regard to using OSPF as the IGP for the eBGP?

Thanks again..

There are times when you need to enable OSPF in a router and you want to make sure a certain interface does not send or receive OSPF hello packets. In that case, the passive-interface command will prevent that interface from establishing adjacency to/from unwanted neighbors.

As for the 2nd question, I really don't understand what you are asking.

For eBGP to work, it needs reachability to its neighbor. If its neighbor is directly connected, you don't need an IGP such as OSPF. If the neighbor is multiple hops away or you are peering with loopbacks, then you need an IGP to know how to get there.

HTH,

__

Edison.

Please rate helpful posts

Thanks for your reply...We're peering with the interface addresses as opposed to the loopbacks as the neighbors are multiple hops away and are in different AS'es...We're using OSPF for the reachability to the neighbors and I was just wondering if we have to create ajacencies between them for OSPF to function properly..

Thanks again..

I was just wondering if we have to create ajacencies between them for OSPF to function properly..

One protocol aids the other. In the case, OSPF provides the information for the BGP process to know about its neighbor.

Think of someone telling you their home is at 123 Main Avenue but w/o telling you how to get there.

123 Main Avenue on this example is the BGP neighbor statement - the 'how to get there' information is provided by OSPF.

However, if 123 Main Avenue was next to your home at 122 Main Avenue, you don't need to know how to get there (directly connected) - hence you don't need OSPF.

In your environment, you need OSPF so BGP can function properly, not the other way around.

HTH,

__

Edison.

Edison, thanks..So, if I understand your analogy correctly, we do need the ajacencies created?

thanks again..

Yes.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: