IPv4 CIDR & Subnetting ReferenceCIDR prefix lengths, subnet masks, wildcard masks, and address ranges.
Standard Class C LAN network mask: 255.255.255.0 with 254 usable hosts.
192.168.1.0/24
Standard Class B VPC network mask: 255.255.0.0 with 65,534 usable hosts.
10.0.0.0/16
Non-routable internal IP ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.
10.0.0.0/8
Subnet prefix /31 allocates 2 addresses for point-to-point links (no broadcast).
10.0.0.0/31 (2 hosts)
Usable host count is 2^(32 - prefix) - 2 (subtracting network and broadcast).
2^(32-24) - 2 = 254
Bitwise inverse of subnet mask used in access control lists (ACLs) and OSPF.
0.0.0.255