cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
4353
Views
0
Helpful
4
Replies

Difference between IBGP and EBGP

Nabarun Halder
Level 1
Level 1

What is the Difference between IBGP and EBGP  ?

4 Replies 4

Harold Ritter
Spotlight

Hi Nabarun,

eBGP stands for external BGP and is typically used to exchange routes with routers outside of your control (i.e. service provider, partners, etc).

iBGP stands for internal BGP and is used to dissiminate the information in your internal network.

Regards

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Nabarun,

There are two types of BGP (If you will). iBGP and eBGP.

iBGP stands for Internal Border Gateway Protocol (iBGP), and includes routers within the same Autonomous System (AS). So if 5 routers were part of BGP AS 500, that will all be iBGP routers.

eBGP stands for Exterior Border Gateway Protocol (eBGP), and includes routers that have connections to Autonomous Systems (ASes) with a different AS value then it's own.

It may also be helpful to note that there are a number of behavior differences between an IBGP router and an EBGP router.  For example if we learn a route from an EBGP neighbor then we will advertise that route to all BGP neighbors (does not matter whether the neighbor is IBGP or EBGP) but if we learn a route from an IBGP neighbor we will not advertise that route to other IBGP neighbors.

Another difference is that for an EBGP neighbor the default is to set TTL to 1 while for an IBGP neighbor the TTL is set to a higher value. Also in the path selection process there are differences depending on whether the prefix was learned via IBGP or by EBGP (EBGP is preferred over IBGP).

HTH

Rick

HTH

Rick

Disclaimer

The    Author of this posting offers the information contained within this    posting without consideration and with the reader's understanding that    there's no implied or expressed suitability or fitness for any  purpose.   Information provided is for informational purposes only and  should not   be construed as rendering professional advice of any kind.  Usage of  this  posting's information is solely at reader's own risk.

Liability Disclaimer

In    no event shall Author be liable for any damages whatsoever  (including,   without limitation, damages for loss of use, data or  profit) arising  out  of the use or inability to use the posting's  information even if  Author  has been advised of the possibility of such  damage.

Posting

Just to clarify a little what Rick wrote about iBGP an eBGP routers, one router running BGP can have both iBGP and eBGP peers.  As Rick notes, there are differences in behavior depending on which kind of BGP peer you're interacting with, and which generated the BGP routes you're working with.

Which is which?  If the BGP peers are in different Autonomous Systems, then peers are eBGP, same Autonomous System, then peers are iBGP.