I am trying to work on creating a subnet on AWS. This is the question I am stuck on:
Create a new subnet. Add it to the same VPC as the first subnet, and use an adjacent CIDR block. What CIDR block did you use?
我正在努力在AWS上创建一个子网。这是我一直纠结的问题:创建一个新子网。将其添加到与第一个子网相同的vPC中,并使用相邻的CIDR块。您使用了什么CIDR块?
My original VPC, I used 10.0.1.0/24, however; I keep getting this error
CIDR Address overlaps with existing Subnet CIDR: 10.0.1.0/24.
但是,我最初的VPC使用的是10.0.1.0/24;我不断收到此错误消息:CIDR地址与现有的子网CIDR重叠:10.0.1.0/24。
What would be an adjacent CIDR?
什么是相邻的CIDR?
Thanks!
谢谢!
I have tried a lot of different ones, just to see and I either get the error message that it overlap or CIDR Address is not within CIDR Address from VPC.
我尝试了很多不同的方法,只是为了看看,我要么得到重叠的错误消息,要么CIDR地址不在VPC的CIDR地址内。
更多回答
What is the CIDR of the VPC?
私有网络的CIDR是什么?
It is 10.0.1.0/24
是10.0.1.0/24
If your VPC is 10.0.1.0/24, and it already has a subnet of 10.0.1.0/24, then there's no room for a new subnet. You'll need to replace the VPC with a larger one that can have smaller subnets inside of it.
如果您的私有网络是10.0.1.0/24,并且已经有10.0.1.0/24的子网,则没有空间再添加新的子网。您需要将VPC替换为较大的VPC,其中可以包含较小的子网。
优秀答案推荐
我是一名优秀的程序员,十分优秀!