gpt4 book ai didi

amazon-web-services - 如果双方 VPC CIDR 范围相同,则 VPC 对等互连?

转载 作者:行者123 更新时间:2023-12-04 09:24:19 25 4
gpt4 key购买 nike

如果我们在两端都有相同的 vpc cidr(不同的 aws 帐户)并且我们想要 VPC 对等,是否有任何解决方法?或者任何其他机制可以帮助我连接两个相同的 VPC CIDR 但在不同的 aws 帐户中?

最佳答案

对等连接 requires 不重叠 CIDR。

Ensure that your VPCs do not have overlapping IPv4 CIDR blocks. If they do, the status of the VPC peering connection immediately goes to failed. This limitation applies even if the VPCs have unique IPv6 CIDR blocks.


处理这种情况的一种方法是使用 次要 CIDR 范围 . AWS 文档中举例说明了这种设置:
  • Two VPCs peered to a specific CIDR block in one VPC

  • 在示例中,VPC A 与 VPC B 和 C 具有重叠的 CIDR 范围。为了建立对等连接,使用了额外的 CIDR 范围。

    关于amazon-web-services - 如果双方 VPC CIDR 范围相同,则 VPC 对等互连?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63046861/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com