/23 subnet
A /23 fixes the first 23 bits of the address and leaves 9 for hosts. That gives 512 addresses and subnet mask 255.255.254.0.
Example: 192.168.0.0/23
- CIDR block
- 192.168.0.0/23
- Network address
- 192.168.0.0
- Broadcast address
- 192.168.1.255
- Usable host range
- 192.168.0.1 – 192.168.1.254
- Total addresses
- 512
- Usable hosts
- 510
- Subnet mask
- 255.255.254.0
- Wildcard mask
- 0.0.1.255
- Mask in binary
- 11111111.11111111.11111110.00000000
Check another address in the subnet calculator.
What fits inside a /23
Splitting 192.168.0.0/23 into /25 blocks starts with 192.168.0.0/25, 192.168.0.128/25, 192.168.1.0/25, 192.168.1.128/25.
How many fit in a larger block
- A /8 holds 32,768 blocks of /23.
- A /16 holds 128 blocks of /23.
A /23 in the cloud
| Provider | Usable addresses |
|---|---|
| AWS VPC | 507 |
| Azure Virtual Network | 507 |
| Google Cloud VPC | 508 |
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 /23 subnet?
A /23 has 512 addresses. Two are reserved for the network and broadcast addresses, which leaves 510 usable hosts.
What is the subnet mask for a /23?
The subnet mask for a /23 is 255.255.254.0, written in binary as 11111111.11111111.11111110.00000000. The wildcard mask is 0.0.1.255.
What is an example of a /23 range?
192.168.0.0/23 runs from 192.168.0.0 to 192.168.1.255. Hosts use 192.168.0.1 to 192.168.1.254, and 192.168.1.255 is the broadcast address.