Say we have network addresses 10.10.10.252/30
and 10.10.255.252/30
and 10.255.255.252/30
. They all have CIDR of 30.
I realize all three subnets have two usable hosts.
All three addresses have subnet mask 255.255.255.252 but different number of possible subnets.
10.255.255.252/30
has 30-8=22 bits reserved for subnets (class A). 10.10.255.252/30
has 30-16=14 bits reserved for subnets (class B). 10.10.10.252/30
has 30-24=6 bits reserved for subnets (class C). But this is not apparent from looking at their CIDR.
So how do I identify the number of subnet bits from looking at their subnet masks or CIDR?
https://www.omnisecu.com/tcpip/internet-layer-ip-subnetting-part6.php