Address Bits
/24
/24
IP Address
0.0.0.0
Subnet Mask
255.255.255.0
Network Address
0.0.0.0
Usable Hosts
254
Network bits
Host bits
Key Concepts
Network vs. Host
A subnet mask splits an IP's 32 bits into a network portion (which network) and a host portion (which device on it).
CIDR Notation
/24 means the first 24 bits are the network portion. Fewer host bits means fewer usable addresses on that subnet.
Why Subtract 2?
Every subnet reserves its all-zeros address (the network address) and all-ones address (broadcast) โ neither is assignable to a device.