prerequisites:

Integrating EGP & IGP

we explained how BGP speakers exchanged information from each other, but how do all other routers within an autonomous system (AS) get this information?

3 Possible Ways:
  1. in the case of a Stub AS, the border router is the only choice for all routes outside the AS. This router can inject a default route into the intra-domain routing protocol. this default entry comes after all the more specific entries
  2. next in complexity: have border routers inject specific routes into their own AS as they learned from outside the AS
    • example: the border router of a provider AS that connects to a customer AS. That router could learn that the network prefix 192.4.54/24 is located inside the customer AS, either through BGP or because the information is configured into the border router. It could inject a route to that prefix into the routing protocol running inside the provider AS. This would be an advertisement of the sort, “I have a link to 192.4.54/24 of cost X.” This would cause other routers in the provider AS to learn that this border router is the place to send packets destined for that prefix
  3. next in complexity: backbone networks uses a variant of BGP called Internal BGP (iBGP) because border routers learn way too much routing information that it becomes too costly to inject it into intra-domain protocol