RJ akhil
RJ akhil

Reputation: 1

CIDR First Ip- IpV4

while assigning CIDR block for subnets created for VPC (Aws cloud) the CIDR block 10.0.2.0/20 overlapping the CIDR block in of other subnet 10.0.0.0/24. As per my understanding the first ip of CIDR 10.0.2.0/20 will start with 10.0.2.0. So how it is overlapping. Thanks in advance!!!

Upvotes: 0

Views: 73

Answers (1)

Mark B
Mark B

Reputation: 200682

You aren't taking the different mask bits (20 vs 24) into account.

CIDR Block 10.0.2.0/20 address range: 10.0.0.0 - 10.0.15.255

CIDR Block 10.0.0.0/24 address range: 10.0.0.0 - 10.0.0.255

I suggest using a tool like this to help visualize your CIDR blocks.

Upvotes: 2

Related Questions