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

preguntada hace un mes325 visualizaciones
1 Respuesta
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
EXPERTO
Matt-B
respondido hace un mes
profile picture
EXPERTO
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas