/5 subnet
A /5 fixes the first 5 bits of the address and leaves 27 for hosts. That gives 134,217,728 addresses and subnet mask 248.0.0.0.
Example: 0.0.0.0/5
- CIDR block
- 0.0.0.0/5
- Network address
- 0.0.0.0
- Broadcast address
- 7.255.255.255
- Usable host range
- 0.0.0.1 – 7.255.255.254
- Total addresses
- 134,217,728
- Usable hosts
- 134,217,726
- Subnet mask
- 248.0.0.0
- Wildcard mask
- 7.255.255.255
- Mask in binary
- 11111000.00000000.00000000.00000000
Check another address in the subnet calculator.
What fits inside a /5
Splitting 0.0.0.0/5 into /7 blocks starts with 0.0.0.0/7, 2.0.0.0/7, 4.0.0.0/7, 6.0.0.0/7.
Questions
How many hosts are in a /5 subnet?
A /5 has 134,217,728 addresses. Two are reserved for the network and broadcast addresses, which leaves 134,217,726 usable hosts.
What is the subnet mask for a /5?
The subnet mask for a /5 is 248.0.0.0, written in binary as 11111000.00000000.00000000.00000000. The wildcard mask is 7.255.255.255.
What is an example of a /5 range?
0.0.0.0/5 runs from 0.0.0.0 to 7.255.255.255. Hosts use 0.0.0.1 to 7.255.255.254, and 7.255.255.255 is the broadcast address.