/23 subnet (255.255.254.0)
Everything about a /23 network: mask, wildcard, number of hosts, example ranges and when to use it.
| Prefix (CIDR) | /23 |
|---|---|
| Subnet mask | 255.255.254.0 |
| Wildcard mask | 0.0.1.255 |
| Total addresses | 512 |
| Usable hosts | 510 |
| Block size | 2 in the third octet |
| Mask in binary | 11111111.11111111.11111110.00000000 |
What is a /23 used for?
Medium to large user VLANs, such as a floor of a busy office or a school Wi-Fi network. A /23 contains 2 /24 networks.
How the numbers are worked out
/23 means the first 23 bits of the address are the network part, leaving 9 bits for hosts. 29 = 512 addresses. Take away 2 for the network and broadcast addresses and you get 510 usable hosts.
The mask has 23 ones followed by 9 zeros. The wildcard mask is the opposite: 255.255.255.255 minus the subnet mask, 0.0.1.255.
Example /23 networks
| Network | Usable range | Broadcast |
|---|---|---|
10.0.0.0/23 | 10.0.0.1 – 10.0.1.254 | 10.0.1.255 |
10.0.2.0/23 | 10.0.2.1 – 10.0.3.254 | 10.0.3.255 |
10.0.4.0/23 | 10.0.4.1 – 10.0.5.254 | 10.0.5.255 |
10.0.6.0/23 | 10.0.6.1 – 10.0.7.254 | 10.0.7.255 |
Each next /23 network starts 512 addresses after the previous one. Work out any address with the free subnet calculator, or split a network into different sizes with the VLSM planner.
Frequently asked questions
How many hosts are in a /23 subnet?
A /23 has 512 addresses in total and 510 usable hosts. The first address is the network address and the last is the broadcast address.
What is the subnet mask for /23?
The subnet mask for /23 is 255.255.254.0, and the wildcard mask (used in Cisco ACLs and OSPF) is 0.0.1.255.
What is a /23 subnet used for?
Medium to large user VLANs, such as a floor of a busy office or a school Wi-Fi network.
Other prefix sizes
Learn more: subnetting in your head, subnetting step by step and the subnetting cheat sheet.