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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则