1 Answer
- Newest
- Most votes
- Most comments
0
Your understanding is mostly correct, but let me clarify a few points:
For Virtual Private Gateway (VGW):
- You're correct that transitive routing between on-premises sites (Site A → AWS → Site B) is supported using BGP (dynamic routing) through AWS VPN CloudHub.
- This requires each customer gateway to use a unique BGP Autonomous System Number (ASN).
- Each site must advertise specific prefixes (non-overlapping IP ranges) to the virtual private gateway.
- The VGW re-advertises these routes to each BGP peer, enabling communication between sites.
- Static routing is indeed not supported for this transitive routing use case with VGW.
For Transit Gateway (TGW):
- You're correct that TGW supports transitive routing between on-premises sites using either BGP or static routing.
- With TGW, you can terminate multiple VPN connections and enable routing between them.
- When using BGP with TGW, you get additional benefits like routing priorities, policies, and weights to influence network paths.
- Both IPsec and BGP sessions must be terminated on the same customer gateway device when using dynamic routing.
AWS generally recommends using BGP-capable devices when available because BGP provides robust liveness detection checks that assist with failover to the second VPN tunnel if the first tunnel goes down.
Sources
AWS Transit Gateway + AWS Site-to-Site VPN - Amazon Virtual Private Cloud Connectivity Options
Static and dynamic routing in AWS Site-to-Site VPN - AWS Site-to-Site VPN
Secure communication between AWS Site-to-Site VPN connections using VPN CloudHub - AWS Site-to-Site VPN
AWS Site-to-Site VPN - Amazon Virtual Private Cloud Connectivity Options
Relevant content
asked 10 months ago
