A /24 is the network almost every home router creates: 192.168.1.0/24 or 192.168.0.0/24, mask 255.255.255.0, 254 usable hosts, router usually at .1. On a Mac, System Settings › Network › Details › TCP/IP shows it as subnet mask 255.255.255.0. On the internet, /24 is also the smallest IPv4 block most networks accept in BGP, so it’s the smallest unit an organisation can announce on its own.
Facts
- Prefix
- /24
- Subnet mask
- 255.255.255.0
- Wildcard mask
- 0.0.0.255
- Binary mask
- 11111111.11111111.11111111.00000000
- Total addresses
- 256
- Usable hosts
- 254
- Example range
- 192.168.1.0/24: 192.168.1.0 – 192.168.1.255
- Typical use
- The typical home or office network, e.g. 192.168.1.0/24.
Try it
Try: , ,
- CIDR block
- 192.168.1.0/24
- IP range
- 192.168.1.0 – 192.168.1.255
- Addresses
- 256
- Usable hosts
- 254
- Subnet mask
- 255.255.255.0
- Wildcard mask
- 0.0.0.255
Frequently asked questions
How many hosts are in a /24?
A /24 has 256 addresses. Subtracting the network and broadcast addresses leaves 254 usable hosts.
What is the subnet mask for /24?
/24 is 255.255.255.0 (wildcard mask 0.0.0.255). In binary that’s 24 ones followed by 8 zeros.