Peering connection basic error

0

Hello,

When I tried to request a Peering Connection in same account, among 2 VPCs from different AZs, I got the below error in both AZs in Peering connections section -> Status field from Details. Could you please specify the cause ?

Failed due to incorrect VPC-ID, Account ID, or overlapping CIDR range

Update: Both VPCs have same CIDR range: 172.31.0.0/16

Thank you,
Mihai ADAM

已提问 1 个月前325 查看次数
1 回答
1

Hi There

The issue is that both VPC's have the same CIDR range which isnt allowed.

You cannot create a VPC peering connection between VPCs that have matching or overlapping IPv4 or IPv6 CIDR blocks. See https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-basics.html

You do have some options to connect VPC's with overlapping CIDR ranges though, please take a look at this blog: https://aws.amazon.com/blogs/networking-and-content-delivery/connecting-networks-with-overlapping-ip-ranges/

profile pictureAWS
专家
Matt-B
已回答 1 个月前
profile picture
专家
已审核 1 个月前

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

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

回答问题的准则