AWS TGW Connect over Direct Connect¶
Overview for AWS TGW Connect over Direct Connect¶
Amazon Web Services (AWS) enables AWS customers to integrate their Software Defined Wide Area Network (SD-WAN) devices with AWS Transit Gateway and AWS Direct Connect so they can use their existing SD-WAN devices to connect their on-premises networks to an AWS Transit Gateway. Refer to the following AWS articles for information about the attachments types involved (Transit Gateway Connect attachment and Transit Gateway Connect peer):
In support of this, Aviatrix enables you to create one or multiple Transit Gateway Connect attachments over Direct Connect. You can also create Transit Gateway Connect peer attachments. For instructions, see the Enable AWS TGW Connect over Direct Connect section below.
Enabling AWS TGW Connect over Direct Connect¶
To enable AWS TGW Connect over Direct Connect:
- (On AWS) Set up the Direct Connect Gateway and the Transit virtual interface.
- (In your Aviatrix Controller) Edit the TGW CIDR blocks. Navigate to the TGW Orchestrator > List > TGW tab. Select the gateway and edit its CIDR in the Edit TGW CIDR dialog.
- The maximum number of CIDR blocks is 5.
- The CIDR block must be the same as Direct Connect allowed prefix (e.g., 18.104.22.168/24).
- (In Aviatrix Controller) Build a TGW Direct Connect attachment with allowed prefix (e.g., 22.214.171.124/24).
- (In Aviatrix Controller) Build a TGW Connect attachment over AWS Direct Connect. In the TGW Orchestrator, in the step for Setup TGW Connect, select either the VPC attachment or the AWS Direct Connect attachment. You can build multiple TGW Connect attachments with the same transport Direct Connect attachment.
- (In Aviatrix Controller) Build a TGW Connect peer with GRE configuration. A connect peer is a GRE tunnel. The TGW Connect attachment supports up to four GRE tunnels (connect peers). Below is the information you specify (TGW Orchestrator > List > Attachments tab > Create Connect PeerWS) to create the TGW Connect peer.
For the description of each parameter, see this AWS article:.
Enter the information in Create Connect Peer:
Maximum number of TGW Connect peer: 4
AWS Transit Gateway GRE address:
Peer GRE address:
BGP Inside CIDR blocks:
The BGP addresses must be unique across all tunnels in a TGW. IPv6 is not supported. The following CIDR blocks are reserved and cannot be used:
169.254.0.0/29, 169.254.1.0/29, 169.254.2.0/29, 169.254.3.0/29, 169.254.4.0/29, 169.254.5.0/29, 169.254.169.252/29
- (On your third-party branch appliances) Complete the Connect peer configuration (GRE tunnel and BGP peering configuration).
If you have the same prefix propagated into your TGW route table coming from VPN, Direct Connect, and Transit Gateway Connect attachments, AWS evaluates the best path in the following order:
Priority 1 – Direct Connect Gateway attachment
Priority 2 – Transit Gateway Connect attachment
Priority 3 – VPN attachment
TGW Connect attachment over AWS Direct Connect