supraj.dev
Networking

CIDR and subnets

What does the /16 in 10.0.0.0/16 mean, and how do subnets fit inside it?

24 s loop6 sentencesSilent, read alongScene: Layers
Read the story, sentence by sentence 6 sentences

What you'll be able to say

  1. CIDR notation like 10.0.0.0/16 is a starting address plus a prefix length: /16 fixes the first 16 bits, covering 65,536 addresses.
  2. A longer prefix means a smaller block: a /24 subnet such as 10.0.1.0/24 holds 256 addresses, and cloud providers reserve a few.
  3. Subnets slice a network’s address range into smaller CIDR blocks; subnets in one network must not overlap, so every address is unique.