CIDR (Classless Inter-Domain Routing)
CIDR is a modern way of writing IP networks that replaces the old Class A/B/C system. Instead of saying “this is Class C, so it must be /24,” CIDR lets you define exactly how many IPs a network has.
It looks like this:
The /number is the important part.
It tells you how many bits of the IP are the network part and how many are left for host addresses.