QuestionQ59

VerifiedNetwork Design

A company has two data centers interconnected by multiple redundant links from different suppliers. The company uses IP addresses in the 172.16.0.0/16 CIDR block. It runs iBGP between the two data centers using a private Autonomous System Number (ASN) and an IGP.

The company is moving to a hybrid configuration in which it will initially use one VPC in the AWS Cloud. An AWS Direct Connect connection runs from the first data center to a Direct Connect gateway through a private VIF. Over this connection, the company advertises a summarized route for the 172.16.0.0/16 network. The company plans to establish a second summarized route from the second data center to a different Direct Connect location.

The company must implement a solution that routes traffic to and from AWS through the first Direct Connect connection. The second Direct Connect connection must be used only for failover.

Which solution meets these requirements?

Explanation

For private and transit virtual interfaces, AWS Direct Connect supports local-preference BGP community tags to implement active/passive routing when the advertised prefixes are the same. A higher local-preference community on the first connection makes AWS return traffic through that primary path, while a lower community on the second makes it the backup. Setting the second data center’s BGP local preference lower for directly learned AWS routes than for routes learned from the first data center makes its outbound AWS traffic traverse the first data center’s Direct Connect connection until the primary path fails.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!