- Newest
- Most votes
- Most comments
Clarifying a few terms so that it aligns with our documentation:
- Attachment: This is where you connect something (VPC, Direct Connect Gateway, VPN, etc.) to Transit Gateway.
- Association: Each attachment can have a single route table associated with it.
- Propagation: This is how a route table "learns" routes. Propagation can be automatic or you can manually assign static routes to route tables.
While you can have a route table for each VPC I would question whether that is a good idea or not - it can be a lot of extra work. If you were trying to set up an environment where the VPCs cannot communicate with each other but can communicate with your on premises network via Direct Connect then you can do that using only two route tables - one for the VPCs and one for the Direct Connect Gateway attachment.
However, to answer your question specifically: You don't need to attach Direct Connect Gateway to multiple route tables; you want to propagate the routes for your on premises network (which are reachable via Direct Connect and Direct Connect Gateway) to all the route tables which are associated with the VPC attachments. You can absolutely do that.
Hello.
Is your request to set up the configuration as described in the document below?
https://docs.aws.amazon.com/whitepapers/latest/hybrid-connectivity/aws-dx-dxgw-with-aws-transit-gateway-multi-regions-more-than-3.html
In that case, I think you could select multiple Transit Gateways when linking DirectConnect Gateway and Transit Gateway using the document below.
https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-transit-gateways.html
If you link multiple Transit Gateways to DirectConnect Gateway, corresponding attachment will be created.
So, by linking that attachment to each TransitGateway route table, it will be routed to the DirectConnect Gateway.
Relevant content
- Accepted Answerasked 6 months ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago