A SysOps administrator has established hybrid connectivity by connecting an on-premises network to a multi-VPC environment using an AWS Transit Gateway. The administrator configures an AWS Site-to-Site VPN attachment on the Transit Gateway, and both IPsec tunnels are UP with the BGP session active. The Transit Gateway route table has successfully propagated the routes from the on-premises network. However, EC2 instances in a private subnet of one of the VPCs still cannot communicate with the on-premises servers. Which of the following is the most likely cause of this issue?
- The route table associated with the private VPC subnet does not contain a route directing traffic destined for the on-premises network to the Transit Gateway.Answer
- BThe route table associated with the private VPC subnet directs all traffic destined for the on-premises network to a NAT Gateway in a public subnet, expecting it to forward the traffic to the Transit Gateway.
- CThe stateless network ACL associated with the private VPC subnet lacks an outbound rule to allow traffic to the ephemeral port range (-) for initiating connections to the on-premises servers.
- DThe private VPC subnet's route table has not been updated with a Gateway Endpoint association for the Transit Gateway attachment.
Answer
The route table associated with the private VPC subnet does not contain a route directing traffic destined for the on-premises network to the Transit Gateway.
The correct answer is the option stating that the route table associated with the private VPC subnet does not contain a route directing traffic destined for the on-premises network to the Transit Gateway. For traffic to flow from a VPC subnet to an on-premises network via a Transit Gateway, two routing configurations must be in place: the Transit Gateway route table must know how to reach the on-premises CIDR (which was achieved via BGP propagation), and the VPC subnet's route table must have a route pointing the on-premises CIDR to the Transit Gateway attachment. Without the subnet route table entry, traffic will never leave the VPC subnet.
Step-by-Step Solution
Key Concept
VPC Subnet Routing to Transit Gateway
Estimated Time:1m 30s