The common /24
- Prefix length or subnet mask
- /24
Result Subnet mask: 255.255.255.0
CIDR prefix: /24
Wildcard mask: 0.0.0.255
Binary mask: 11111111.11111111.11111111.00000000
Hex mask: 0xFFFFFF00
Total addresses: 256
Usable hosts: 254
- Prefix /24 = 24 network bits followed by 8 host bits.
- Binary mask 11111111.11111111.11111111.00000000 = 255.255.255.0 in dotted decimal.
- Wildcard = 255.255.255.255 − mask = 0.0.0.255.
- Addresses = 2^8 = 256; usable hosts = 256 − 2 = 254.
A /24 gives 256 addresses, of which 254 can be assigned once the network and broadcast addresses are set aside.