192.168.1.0/24 breakdown
Input
- CIDR: 192.168.1.0/24
Calculation
2^(32-24) = 256 addresses; 254 usable on many LANs
Result
Network .0, broadcast .255, hosts .1–.254.
Break down IPv4 subnets for networking labs, home routing, and IT troubleshooting.
IPv4 subnets split a network into routable blocks. A CIDR prefix such as /24 means the first 24 bits are the network portion and the remaining bits identify hosts. Misreading the mask leads to overlapping subnets and devices that cannot reach each other.
Given an address and prefix, the network address zeroes host bits, while the broadcast address sets all host bits to one. Usable hosts usually exclude network and broadcast addresses on many LANs, so a /24 often provides 254 usable addresses, not 256.
Subnet calculators speed up table work when designing VLANs, firewall rules, and DHCP scopes. They also help students see binary boundaries without manual bit charts for every exercise.
Always confirm whether your environment reserves network and broadcast addresses and whether private RFC1918 space (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) fits your routing plan before deployment.
Provide the dotted-decimal address.
Use prefix length such as 24 for a /24 mask.
Derive network, broadcast, mask, and host range.
Apply 2^(32-prefix) minus reserved addresses as applicable.
Compare with existing subnets in your plan.
Reserve gateway and DHCP pool inside usable range.
Host count ≈ 2^(32 − prefix) − 2 (when network/broadcast excluded)
Subnet mask bits define network versus host portions. Turning host bits all 0 or all 1 yields network and broadcast addresses.
2^(32-24) = 256 addresses; 254 usable on many LANs
Network .0, broadcast .255, hosts .1–.254.
2^(4) = 16 addresses, often 2 usable hosts
Small subnet for router-to-router links.
2^(6) = 64 addresses
62 usable hosts typical excluding network/broadcast.