Understanding Classless Inter-Domain Routing (CIDR) Notation
CIDR (Classless Inter-Domain Routing) replaced legacy Class A, B, and C network architectures in 1993 (RFC 1519). Instead of fixed 8, 16, or 24-bit boundaries, CIDR allows arbitrary prefix lengths from /0 to /32. The prefix indicates how many leading bits represent the Network Identifier, with remaining bits assigned to Host Identifiers.
# IPv4 Bit Structure for 192.168.1.100/24:
IP Address: 11000000.10101000.00000001.01100100 (192.168.1.100)
Subnet Mask: 11111111.11111111.11111111.00000000 (255.255.255.0 = /24)
Network Addr: 11000000.10101000.00000001.00000000 (192.168.1.0)
Broadcast: 11000000.10101000.00000001.11111111 (192.168.1.255)
Usable Hosts: 192.168.1.1 through 192.168.1.254 (254 hosts)