/7 subnet
A /7 fixes the first 7 bits of the address and leaves 25 for hosts. That gives 33,554,432 addresses and subnet mask 254.0.0.0.
Example: 0.0.0.0/7
- CIDR block
- 0.0.0.0/7
- Network address
- 0.0.0.0
- Broadcast address
- 1.255.255.255
- Usable host range
- 0.0.0.1 – 1.255.255.254
- Total addresses
- 33,554,432
- Usable hosts
- 33,554,430
- Subnet mask
- 254.0.0.0
- Wildcard mask
- 1.255.255.255
- Mask in binary
- 11111110.00000000.00000000.00000000
Check another address in the subnet calculator.
What fits inside a /7
Splitting 0.0.0.0/7 into /9 blocks starts with 0.0.0.0/9, 0.128.0.0/9, 1.0.0.0/9, 1.128.0.0/9.
Questions
How many hosts are in a /7 subnet?
A /7 has 33,554,432 addresses. Two are reserved for the network and broadcast addresses, which leaves 33,554,430 usable hosts.
What is the subnet mask for a /7?
The subnet mask for a /7 is 254.0.0.0, written in binary as 11111110.00000000.00000000.00000000. The wildcard mask is 1.255.255.255.
What is an example of a /7 range?
0.0.0.0/7 runs from 0.0.0.0 to 1.255.255.255. Hosts use 0.0.0.1 to 1.255.255.254, and 1.255.255.255 is the broadcast address.