Infrastructure Security

A company is setting up private IP Site-to-Site VPN over an AWS Direct Connect transit virtual interface. It assigned a private CIDR block to the transit gateway for the AWS tunnel endpoints and associated the Direct Connect gateway with the transit gateway. The customer gateway has no route to the AWS tunnel endpoint addresses, so the IPsec tunnels never come up. What should the network engineer do?

Show the answer

Correct answerA. Add the transit gateway's CIDR block to the allowed prefixes of the Direct Connect gateway association.

AWhy this is right: Allowed prefixes on the association are what the Direct Connect gateway advertises over the transit virtual interface, including the tunnel endpoint CIDR.

BWhy not this: A public virtual interface carries public-address VPN tunnels, which defeats the private tunnel endpoint requirement.

CWhy not this: Acceleration routes tunnels through AWS Global Accelerator on public addresses; it does not make private tunnel endpoints reachable over Direct Connect.

DWhy not this: VPC attachment route tables steer traffic inside AWS; they do not advertise prefixes to the customer gateway.

For private IP VPN, the transit gateway's private CIDR block must be listed in the allowed prefixes of the Direct Connect gateway's transit gateway association, so it is advertised to the customer network over the transit virtual interface. A public virtual interface would put the tunnels on public addresses, and VPC attachment route tables do not advertise routes to on-premises networks.