- Newest
- Most votes
- Most comments
Hello.
I think your understanding is correct.
This limitation occurs when adding a CIDR to an existing VPC in the document below.
https://docs.aws.amazon.com/vpc/latest/userguide/add-ipv4-cidr.html
For example, suppose you want to add a CIDR to a VPC that has a CIDR of "10.0.0.0/16".
You can add a CIDR in the range of "10.0.0.0/8" in the range of "/16 to 28" to this VPC.
Specifically, you can add "10.1.0.0/16" etc.
Also, you can add "20.1.0.0/16" etc. as a public CIDR.
If you try to add something like "192.168.0.0/16" that is out of range, the following error will occur.
The CIDR '192.168.0.0/16' is restricted. Use a CIDR from the same private address range as the current VPC CIDR, or use a publicly-routable CIDR. For additional restrictions, see https://docs.aws.amazon.com/vpc/latest/userguide/vpc-cidr-blocks.html
Conversely, if you try to add "10.0.0.0/16" to a VPC with CIDR "20.1.0.0/16", the following error will occur.
You can add public CIDR ranges such as "5.0.0.0/16".
The CIDR '10.0.0.0/16' is restricted. Use a CIDR from the same private address range as the current VPC CIDR, or use a publicly-routable CIDR. For additional restrictions, see https://docs.aws.amazon.com/vpc/latest/userguide/vpc-cidr-blocks.html
This limitation applies when adding a VPC CIDR, not when creating a VPC.
When check the management console, it looks like the following.
Thank you for the above responses, much appreciatd. I also reached out to the AWS docs team and they confirmed my (and the above answers') understanding was correct, and they have added some further clarification to those docs.
answered 2 years ago
Relevant content
asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago

Edited to correct the wording, I had an important typo initially!