/23 Subnet Mask (255.255.254.0): Hosts, Range and CIDR Chart

By editor 3 min read
Bit layout of a /23 subnet mask and its address range

A /23 subnet mask is 255.255.254.0: 23 network bits and 9 host bits, giving 512 addresses and 510 usable hosts. A /23 always spans two consecutive /24 blocks starting on an even third octet. For example, 192.168.10.0/23 runs from 192.168.10.0 (network) to 192.168.11.255 (broadcast), with hosts 192.168.10.1–192.168.11.254. Its wildcard mask is 0.0.1.255. The full CIDR chart and calculator below cover every prefix from /16 to /32.

255.255.254.0
/23 mask
512
addresses
510
usable hosts
0.0.1.255
wildcard

How a /23 Works

/23 subnet mask bit layout and address rangeThe 32 bits of a /23 mask: 23 ones followed by 9 zeros, written as 255.255.254.0. Below, the example 192.168.10.0/23 spans two consecutive /24 blocks, 192.168.10.0 to 192.168.11.255, for 512 addresses and 510 usable hosts./23 = 23 network bits + 9 host bits (255.255.254.0)111111111111111111111110000000002552552540network (23 bits)host (9 bits)192.168.10.0 – 192.168.10.255first /24192.168.11.0 – 192.168.11.255second /24one /23 subnet: 512 addresses, 510 usable hosts (network .10.0, broadcast .11.255)IndustrialBasicsindustrialbasics.com
Figure 1: CIDR notation per Wikipedia (Classless Inter-Domain Routing); example values calculated by IndustrialBasics.

CIDR writes a network as an address plus a prefix length, the number of leading 1 bits in the subnet mask (Wikipedia). With 23 network bits, the third octet’s last bit becomes a host bit. That is why a /23 pairs two /24s: 10.0 with 10.1, 10.2 with 10.3, and so on, always starting on an even number. In each subnet the all-zeros host address is the network address and the all-ones is the broadcast, so usable hosts are 2⁹ − 2 = 510.

Subnet Calculator

Subnet Calculator
IndustrialBasics calculator. Network = address AND mask; broadcast = network with all host bits set. Usable hosts = 2(32−prefix) − 2 (network and broadcast reserved, Wikipedia); /31 point-to-point links use both addresses and /32 is a single host.

CIDR Subnet Mask Chart (/16 to /32)

PrefixSubnet maskWildcardAddressesUsable hosts
/16255.255.0.00.0.255.25565,53665,534
/17255.255.128.00.0.127.25532,76832,766
/18255.255.192.00.0.63.25516,38416,382
/19255.255.224.00.0.31.2558,1928,190
/20255.255.240.00.0.15.2554,0964,094
/21255.255.248.00.0.7.2552,0482,046
/22255.255.252.00.0.3.2551,0241,022
/23255.255.254.00.0.1.255512510
/24255.255.255.00.0.0.255256254
/25255.255.255.1280.0.0.127128126
/26255.255.255.1920.0.0.636462
/27255.255.255.2240.0.0.313230
/28255.255.255.2400.0.0.151614
/29255.255.255.2480.0.0.786
/30255.255.255.2520.0.0.342
/31255.255.255.2540.0.0.122
/32255.255.255.2550.0.0.011
Calculated by IndustrialBasics; usable hosts = addresses − 2, except /31 (point-to-point, 2) and /32 (single host).
Design tip: Size plant VLANs to the devices plus growth, not to the biggest block that fits. A /24 per cell or line keeps broadcast traffic down; use a /23 only when one network genuinely needs more than 254 hosts.

For private address ranges and planning an IP scheme for a plant, see private IP ranges. For how devices get addresses, see BOOTP vs DHCP, and for switching, managed vs unmanaged switch.

Frequently Asked Questions

What is the subnet mask for /23?

255.255.254.0: 23 one-bits followed by 9 zero-bits.

How many hosts are in a /23?

512 addresses, of which 510 are usable: the first is the network address and the last is the broadcast address (Wikipedia).

What is the range of a /23 subnet?

Two consecutive /24 blocks starting on an even third octet, for example 192.168.10.0/23 covers 192.168.10.0 to 192.168.11.255; usable hosts 192.168.10.1 to 192.168.11.254.

Is 192.168.1.0/23 valid?

As a network address, no: a /23 must start on an even third octet, so 192.168.1.0 belongs to 192.168.0.0/23 (192.168.0.0–192.168.1.255).

What is the wildcard mask for /23?

0.0.1.255, the inverse of 255.255.254.0, used in ACLs and some routing protocol configurations.

What is the difference between /23 and /24?

A /24 (255.255.255.0) has 256 addresses (254 hosts); a /23 doubles it to 512 (510 hosts) by moving one bit from network to host.

What is the subnet mask for /22?

255.255.252.0: 1,024 addresses and 1,022 usable hosts.

What does CIDR mean?

Classless Inter-Domain Routing: writing a network as address/prefix-length, where the prefix is the number of leading one-bits in the mask, replacing the old class A/B/C system (Wikipedia).

Can a /31 be used?

Yes, for point-to-point links (RFC 3021), where both addresses are usable because no network or broadcast address is needed.

When should I use a /23 in a plant network?

When one VLAN needs more than 254 devices; otherwise smaller subnets keep broadcast domains small, which matters for industrial Ethernet traffic.

Sources and Further Reading

About the author

editor

Leave a Comment