Site 2 Site VPN Using Customer Gateway and Virtual Private Gateway and Dynamic Routing (BGP)

0

I am trying to connect our VPC to our local on premises network via a Draytek Router. I have followed the guide and have manged to connect the ipsec is connected but the tunnel is showing as down indicating that no traffic is passing through. Having attempted to configure the BGP on the CGW following the generic configuration, the neighbour will flip flop between 'active' and 'connect'. My suspicion is that I am missing some port setting or configuration which is preventing the BGP to operate.

TimP
已提問 3 個月前檢視次數 171 次
3 個答案
0

Given that your BGP neighbor status is fluctuating between 'active' and 'connect', it suggests there may be an issue with the underlying VPN connection stability, incorrect BGP configuration (such as incorrect AS numbers, IP addresses, or neighbor configurations), or network reachability issues.

Ensure all configurations, especially those related to neighbor setup and static network advertisements, are correct.

Supported links:

If this has answered your question or was helpful, accepting the answer would be greatly appreciated. Thank you!

profile picture
專家
已回答 3 個月前
0

Hello Tim,

If your BGP session is failing at Connect state, it means that your peers are unable to complete the TCP handshake. BGP works on TCP port 179. You need to ensure your CGW has rules to allow TCP connection to and from port 179 and ephemeral to complete the handshake. See here for a good guide on troubleshooting BGP sessions. https://repost.aws/articles/ARIKYhXEYyQQqtO2ulKERrbw/bgp-negotiation-over-aws-site-to-site-vpn-and-direct-connect-troubleshooting-strategies-for-efficient-networking

profile pictureAWS
已回答 3 個月前
0

To add on to the comments above, if IPSec is UP but BGP is down it could be that connectivity between the inside tunnel interfaces (169.254.x.x/30 addresses) is failing. You can confirm this by pinging the AWS side inside tunnel IP address. If that fails please confirm that the 169.254.x.x/30 range is part of the phase 2 traffic selectors.

profile pictureAWS
專家
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南