A Quick Understanding of CIDR

CIDR (Classless Inter-Domain Routing) was introduced to overcome the limitations of the existing class-based IP allocation. It allows flexible allocation of IP addresses as needed, preventing address waste. CIDR Notation and Structure CIDR represents the network bit count with the ‘/’ symbol followed by the IP address: 192.168.1.0/24 Network part: 192.168.1 (24 bits) Host part: Last 8 bits Available IPs: 254 192.168.1.0/25 Network part: 192.168.1.0 (25 bits) Host part: Last 7 bits Available IPs: 126 Relation with Subnet Mask CIDR prefixes correspond one-to-one with subnet masks: ...

February 20, 2025 · 1 min · 174 words · In-Jun Hwang