Connectivity Setup for Transit Gateway and Direct Connect (DX) Gateway with VPC Attachments

0

We have a Transit Gateway (Tgw) route table that contains associated and propagated routes. The resource type specified in this context is VPC (Virtual Private Cloud).

Next, I have associated the Transit Gateway to the Direct Connect (DX) gateway, using the VPC IP CIDR in the allowed prefix list( advertising to on prem) . This action created the attachment between the Transit Gateway and the DX gateway. However, the association route table ID is not specified, and the association state is currently blank, indicating that there is no active association.

Furthermore, I have created one route table (rtb) for this VPC. In the routes section of this route table, I can observe my VPC CIDR range with the Transit Gateway attachment, where the resource type is marked as VPC.

Now, the question arises: Do I need to associate the DX gateway attachment and create propagation pointing towards my DX gateway attachment in the route table in order to establish connectivity?

Please advise

Ali Md
已提問 10 個月前檢視次數 393 次
1 個回答
0
已接受的答案

When you associate TGW with a DXGW it would have created the Direct Connect Gateway attachment as you said. You can now 'propagate' the Direct Connect Gateway attachment into the TGW route table, that should install the routes learned via DX from on-premises into that TGW route table.

profile pictureAWS
專家
已回答 10 個月前
profile pictureAWS
專家
已審閱 10 個月前
  • Thanks Tushar! Got it! Do I also need to associate DXGW attachment in the TGW route table ?

  • You dont need to, when you associate TGW to DXGW in Direct Connect console and propagate the DXGW attachment in the route table association happens on its own.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南