For routers to route to a system not within its autonomous system (AS), an inter-AS routing protocol is needed.

BGP (Border Gateway Protocol) is the de facto inter-domain routing protocol.

Observe theere are 2 kinds of BGP connectivities/sessions - eBGP (between ASes), logical iBGP (within AS).

Observe theere are 2 kinds of BGP connectivities/sessions - eBGP (between ASes), logical iBGP (within AS).

In a BGP session, 2 BGP routers (”peers”) exchange BGP messages over a semi-permanent TCP connection

image.png

image.png