Skip to content
Go back

CIDR

Table of contents

Open Table of contents

What is CIDR?

CIDR = Classless Inter-Domain Routing

It answers one question: Which IP addresses belong to the same network?

The intuition (one-liner)

CIDR says how many bits are “fixed” for the network, and the rest are for hosts.
An IPv4 address has 32 bits:

192.168.1.5/24 = 11000000.10101000.00000001.00000101  

If it’s /24:

Common CIDR examples

CIDRSubnet MaskNumber of IPsTypical use
/32255.255.255.2551Single IP
/24255.255.255.0256Home / small network
/16255.255.0.065,536Big private network
/8255.0.0.016 millionVery large

Example:

10.0.0.0/8 Means:


Share this post on:

Previous Post
Kubernetes Storage