Help us improve the AWS re:Post Knowledge Center by sharing your feedback in a brief survey. Your input can influence how we create and update our content to better support your AWS journey.
How do I troubleshoot intermittent connectivity issues with Amazon VPC when I'm using Site-to-Site VPN?
3 minute read
0
I want to troubleshoot intermittent connectivity with Amazon Virtual Private Cloud (Amazon VPC) when I'm using an AWS Site-to-Site VPN connection.
Resolution
The following reasons can cause intermittent connectivity with Amazon VPC on Site-to-Site VPN connections:
Your Amazon VPC and on-premises network have overlapping IP address ranges.
Configuration or compatibility issues with VPN software and devices don't allow Site-to-Site VPN tunnels to establish a connection.
There's a traffic routing issue.
A customer gateway doesn't use a policy-based VPN to connect to a policy-based VPN endpoint.
Check for the following common errors on the customer gateway device:
A Phase 1 or Phase 2 mismatch on the VPN tunnel causes a rekey issue.
The Phase 1 and Phase 2 lifetime fields on the customer gateway don't match the AWS parameters. Note: The IKEv2 lifetime value field is independent of peers.
The encryption domain or traffic selector doesn't include both the source and destination networks.
A Site-to-Site VPN that's configured for static routing experiences asymmetric routing.
Make sure that the customer gateway device has one VPN connection. Then, verify that the VPN connection has redundancy with a second customer gateway device. For more information, see Site-to-Site VPN single and multiple VPN connection examples.