Models for diversity in Direct Link
This document presents common redundant Direct Link configurations, which can help you find the model that most closely matches your needs to create the most successful IBM Cloud® Direct Link deployment.
Since customers have the responsibility for creating diversity through their border gateway protocol (BGP) schemas to generate a fully redundant configuration, the customer must provision the number of direct links as per the wanted SLA and diversity they require. The provisioned direct links must be configured with separate, cross-connect routers (XCR) to avoid single points of failure.
The configurations are arranged in increasing levels of complexity and also according to the Direct Link offering.
Key:
- BCR - Back-end customer router
- XCR - Cross-connect router
- NE - Network Edge
Influencing route preference by using AS prepends
If the same route prefixes are being advertised to and from IBM Cloud through the BGP session for Direct Link, BGP determines the best path. If the local preference of both paths is equal, such as in the case for Direct Link, the BGP path follows the shortest AS path. Using AS prepends, you can control which path is longest, reducing the priority. The local Autonomous System Number (ASN) on the BGP session is prepended three or more times to the matched route's AS-PATH, artificially increasing that path's length.
The greater the repetition value, the greater the preference is affected. Using three or more AS prepends to your prefixes ensures a significant difference.
You can configure AS prepends when you order Direct Link Connect, order Direct Link Dedicated, or after your direct link is provisioned. A prepend rule is set up with a policy to determine whether the rule targets exported routes (virtual connection routes that are advertised to an on-premises network) or imported routes (on-premises routes that are advertised to the IBM Cloud infrastructure). A prepend rule also has a repetition value, which determines how many times the local BGP session ASN is applied to routes.
The longer the repetition, the less priority the routes have. Optionally, rules have one or more prefixes that are used to match routes. If provided, only routes matching the prefixes are prepended. Without a prefix, all routes are affected by the prepend rule.
Currently, IBM Cloud Direct Link supports influencing route preference only with AS prepends. Direct Link does not support influencing the route preference with the following BGP route attributes:
- Weight
- Local preference
- Multiple Exit Discriminator (MED)
For more information, see Using AS prepends to manage route priorities and Using AS prepends with VPN connections.
Similar rules apply on the route prefixes that IBM Cloud advertises. The IBM Cloud routers advertise all prefixes that are associated with all applicable Direct Link connections equally (through BGP) with no additional BGP attributes to indicate path preference. You can implement import policies of your choice to prevent asymmetric routing scenarios that align with any existing export policies.
Sample network topologies to achieve diversity
The configurations that are shown in this group assume that the assets are located in the same PoP and in the same global market.
Diversity that includes AZs and global routing options
The configurations that are shown in this group offer options for connecting across local availability zones and markets.
Diversity in a local availability zone (AZ)
Diversity in different local markets, with global routing
Achieving redundancy
If you are looking for High Availability (HA), or full redundancy, set up two links into different XCRs in the same data center (for example DAL03). Then, fail over as needed by using BGP configurations.