/25 subnet
A /25 fixes the first 25 bits of the address and leaves 7 for hosts. That gives 128 addresses and subnet mask 255.255.255.128.
Example: 192.168.1.0/25
- CIDR block
- 192.168.1.0/25
- Network address
- 192.168.1.0
- Broadcast address
- 192.168.1.127
- Usable host range
- 192.168.1.1 – 192.168.1.126
- Total addresses
- 128
- Usable hosts
- 126
- Subnet mask
- 255.255.255.128
- Wildcard mask
- 0.0.0.127
- Mask in binary
- 11111111.11111111.11111111.10000000
Check another address in the subnet calculator.
What fits inside a /25
Splitting 192.168.1.0/25 into /27 blocks starts with 192.168.1.0/27, 192.168.1.32/27, 192.168.1.64/27, 192.168.1.96/27.
How many fit in a larger block
- A /8 holds 131,072 blocks of /25.
- A /16 holds 512 blocks of /25.
- A /24 holds 2 blocks of /25.
A /25 in the cloud
| Provider | Usable addresses |
|---|---|
| AWS VPC | 123 |
| Azure Virtual Network | 123 |
| Google Cloud VPC | 124 |
Each provider reserves addresses in every subnet: AWS VPC 5, Azure Virtual Network 5, Google Cloud VPC 4 (primary range).
Questions
How many hosts are in a /25 subnet?
A /25 has 128 addresses. Two are reserved for the network and broadcast addresses, which leaves 126 usable hosts.
What is the subnet mask for a /25?
The subnet mask for a /25 is 255.255.255.128, written in binary as 11111111.11111111.11111111.10000000. The wildcard mask is 0.0.0.127.
What is an example of a /25 range?
192.168.1.0/25 runs from 192.168.1.0 to 192.168.1.127. Hosts use 192.168.1.1 to 192.168.1.126, and 192.168.1.127 is the broadcast address.