Pcornel
Technology Comparisons

iBGP vs eBGP

Compare BGP sessions inside one autonomous system with sessions between autonomous systems.

DimensioniBGPeBGPWhat it means in practice
PeersSame AS number.Different AS numbers.remote-as equal to the local AS makes the session iBGP.
Administrative distance200.20.An IGP route (110 or 90) beats an iBGP route to the same prefix.
Next hopNot changed by default; use next-hop-self on border routers.Set to the advertising router.An unreachable next hop keeps iBGP routes out of the RIB.
Loop preventionRoutes from one iBGP peer are not sent to another (full mesh or route reflectors needed).AS_PATH loop check.Route reflectors replace the full mesh in larger networks.
TTL and sourceUsually between loopbacks with update-source; TTL not limited.Directly connected by default (TTL 1).Use ebgp-multihop or ttl-security for eBGP between loopbacks.
Verificationshow ip bgp summary; check next-hop reachability.show ip bgp summary; show ip bgp neighbors <ip> advertised-routesEstablished with 0 prefixes received usually means policy or missing network statements.

← All comparisons

Confirmation

Confirm action

Continue?