If I set up an AWS VPC with CIDR of 10.0.0.0/20 then the range is 10.0.0.0 to 10.0.15.255
I make a subnet now. Why does 10.0.15.15/28 give an error. Isn't it's range 10.0.15.15 to 10.0.15.30 which is within the VPC?
Asked
Active
Viewed 1,087 times
1
Akram ElectroTech
- 53
- 1
- 7
-
/28 is 16 addresses. 0-15, 16-31, etc. (0 and 15 -- all-zeros and all-ones addresses -- are reserved for network and broadcast) – Ricky Jan 08 '21 at 02:20
1 Answers
4
Isn't it's range 10.0.15.15 to 10.0.15.30 which is within the VPC?
Yes, but it's not a valid /28.
10.0.15.0/28 or 10.0.15.16/28 are valid ranges.
Ron Trunk
- 68,291
- 5
- 66
- 126