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

demandé il y a un mois325 vues
1 réponse
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
EXPERT
Matt-B
répondu il y a un mois
profile picture
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions