AWS – CIDR Not Within VPC CIDR Ranges

amazon-rdsamazon-vpcamazon-web-services

Right now i have a public subnet : CIDR 10.0.0.0/24
I want to add a new subnet on my current vpc to be able to use RDS service.

When i try to add a new subnet with CIDR, i got this message :

10.0.1.0/24 CIDR is not within the CIDR ranges of VPC

My current VPC is 10.0.0.0/24

Any help ?

Best Answer

AWS is correct.

10.0.0.0/24 is 10.0.0.0 to 10.0.0.255. You're trying to add something outside this range, 10.0.1.x

You probably meant to create your VPC as 10.0.0.0/16.

Related Topic