Introduction to BGP

Hello Shaji

What you are describing is called a discontiguous AS. In BGP, discontinuous ASes refer to the situation where an AS is separated into multiple non-contiguous segments. These segments are not directly connected to each other and may be separated by networks belonging to other ASes just like in your diagram. This scenario can occur due to various reasons such as mergers and acquisitions, strategic networking decisions, or geographic distribution.

Managing such setups requires certain considerations when designing the network including:

  • Routing Policies: Careful design of routing policies is essential to ensure consistent and efficient routing between the different segments of the discontiguous AS.
  • Inter-AS Connectivity: Connectivity between the different segments of a discontiguous AS is typically established through other ASes. This requires appropriate peering or transit arrangements with the ASes that lie in between.
  • BGP Configuration: The BGP configuration must account for the fact that the AS segments are not directly connected. This includes the use of BGP attributes like AS_PATH and NEXT_HOP to manage how routes are advertised and received.
  • Potential Challenges: Discontiguous ASes can present challenges in terms of routing complexity, increased dependency on intermediate ASes for connectivity, and potential for suboptimal routing paths.

Although technically speaking such a setup is feasible, it is generally avoided because of the added complexity of network management.

I hope this has been helpful!

Laz