简体   繁体   English

VPC 对等之间的重叠 CIDR 范围 - AWS

[英]overlapping CIDR range between VPC Peering - AWS

I have an VPC with an CIDR range 10.10.0.0/16 and another VPC in different region with a CIDR range 10.11.0.0/16 .我有一个 CIDR 范围为10.10.0.0/16的 VPC 和另一个位于不同区域的 VPC,CIDR 范围10.11.0.0/16

  1. Are these two considered overlapping?这两个被认为是重叠的吗? When i tried to connect these two VPC through VPC-Peering, it was not working.当我尝试通过 VPC-Peering 连接这两个 VPC 时,它不起作用。 I changed the CIDR range for second VPC to 172.16.0.0/16 and it connected.我将第二个 VPC 的 CIDR 范围更改为172.16.0.0/16并已连接。
  2. Is there a way to debug in such situations?在这种情况下有没有办法调试?

The CIDR block 10.10.0.0/16 contains the IP addresses 10.10.0.1 to 10.10.255.254 . CIDR 块10.10.0.0/16包含 IP 地址10.10.0.110.10.255.254

The CIDR block 10.11.0.0/16 contains the IP addresses 10.11.0.1 to 10.11.255.254 . CIDR 块10.11.0.0/16包含 IP 地址10.11.0.110.11.255.254

Those IP ranges do not overlap.那些 IP 范围不重叠。 It would have been helpful to see the actual error message reported when you tried to peer those VPCs to diagnose your issue further.当您尝试对等这些 VPC 以进一步诊断您的问题时,查看报告的实际错误消息会很有帮助。


You can search for "CIDR Calculator" to find lots of websites that will help you with these calculations so you don't have to ask here and wait for someone to do the calculation for you.您可以搜索“CIDR 计算器”以找到许多可以帮助您进行这些计算的网站,这样您就不必在这里询问并等待别人为您计算。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM