Interview Prep/Networking/IP Addressing, CIDR, Subnetting & Routing

What is CIDR notation?

BeginnerConceptIP Addressing, CIDR, Subnetting & Routing
Answer

Classless Inter-Domain Routing writes an address with a prefix length: 10.0.0.0/16 means a 16-bit network prefix and 16 host bits, so 65,536 addresses. It replaced the old class A/B/C scheme and lets you size networks to need and aggregate routes.

Quick sizes: /32 = 1, /30 = 4, /28 = 16, /24 = 256, /20 = 4,096, /16 = 65,536 addresses.

All Networking questions Roadmap: Networking for DevOps

More on IP Addressing, CIDR, Subnetting & Routing