Reading CIDR notation
10.0.0.0/16 means the first 16 bits are the network and the remaining 16 bits number the hosts. Each bit you add to the prefix halves the network: a /24 has 256 addresses, a /25 has 128, a /30 has 4. Two addresses in each subnet are reserved, the network address (all host bits 0) and the broadcast (all host bits 1), so a /24 has 254 usable hosts. /31 (point-to-point links) and /32 (a single host) are exceptions.
Private ranges
RFC 1918 reserves three ranges for private networks: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. They are not routed on the internet. Cloud VPCs, Kubernetes pod and service networks and home routers all use them; when two networks you connect with a VPN or peering use overlapping ranges, traffic goes to the wrong place, so plan ranges before you build.
Common sizes
| Prefix | Mask | Addresses | Typical use |
|---|---|---|---|
| /16 | 255.255.0.0 | 65,536 | A whole VPC |
| /20 | 255.255.240.0 | 4,096 | A large subnet |
| /24 | 255.255.255.0 | 256 | A typical subnet |
| /28 | 255.255.255.240 | 16 | Small subnets, load balancers |
| /32 | 255.255.255.255 | 1 | One host in a firewall rule |
Check whether a host in a range is reachable with the port checker.
Using it safely at work
Online developer tools are a common way secrets leak: people paste production tokens, customer records or private keys into a website that quietly logs them. This page does all its work in your browser with standard Web APIs, makes no network request with your input, and stores nothing, so it is safe to use with real data, and you can confirm that in your browser’s network panel. Even so, treat anything you paste as you would treat a screenshot: rotate a token that was exposed, never share links that contain it, and prefer command-line tools on the server itself for very sensitive material.