How to read a network like 192.168.1.0/24
The number after the slash is how many bits of the address are fixed for the network. /24 fixes the first three parts, so the last part (0 to 255) is left for devices: 256 addresses, of which 254 can be used, because IPv4 keeps the first for the network itself and the last for broadcast.
Handy sizes
| /30 | 4 addresses, 2 usable: a link between two routers |
|---|---|
| /29 | 8 addresses, 6 usable |
| /27 | 32 addresses, 30 usable |
| /24 | 256 addresses, 254 usable: a typical office or home network |
| /16 | 65,536 addresses |
| /64 | IPv6: the standard size for one network |
Private ranges
10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 are for private networks and never appear on the internet; that's why so many homes use 192.168.1.x. For IPv6 the private range is fc00::/7.