Open In App

Difference between EBGP and IBGP

Improve
Improve
Like Article
Like
Save
Share
Report

1. External Border Gateway Protocol (EBGP) :
EBGP is used between autonomous systems. It is used and implemented at the edge or border router that provides inter-connectivity for two or more autonomous system. It functions as the protocol responsible for interconnection of networks from different organizations or the Internet.

2. Internal Border Gateway Protocol (IBGP) :
IBGP is used inside the autonomous systems. It is used to provide information to your internal routers. It requires all the devices in same autonomous systems to form full mesh topology or either of Route reflectors and Confederation for prefix learning.



Difference between EBGP and IBGP :

SR.NO EBGP IBGP
1 EBGP stands for External Border Gateway Protocol. IBGP stands for Internal Border Gateway Protocol.
2 It runs between two BGP routers in different autonomous system. It runs between two BGP routers in the same autonomous system.
3 Its default Administrative Distance is 20. Its default Administrative Distance is 200.
4 EBGP routes received from an EBGP peer can be advertised to EBGP and IBGP peers. IBGP routes received from an IBGP peer cannot be advertised to another IBGP peer but can be advertised to an EBGP peer.
5 It does not require full mesh topology. It require full mesh topology.
6 It is used between organization or between organization and Internet Service provider. It is used within the same organization.
7 It uses as path for loop prevention. It uses BGP Split horizon for loop prevention.
8 It default peers are set with TTL = 1. It default peers are set with TTL = 255.
9. In EBGP peers, attributes like local preference are not sent. In IBGP peers, attributes like local preference are sent.
10. When route is advertised to EBGP peer, next hop is changed to local router . When route is advertised to IBGP peer, next hop remains unchanged.


Last Updated : 26 Aug, 2020
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads