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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则