/23 Subnet: Mask 255.255.254.0

A /23 joins two /24s: 512 addresses. The third octet must be even, and the block covers that even number plus the next odd one. It is the smallest step up when a /24 is full.

/23 at a glance

Subnet mask
255.255.254.0
Wildcard mask
0.0.1.255
Usable hosts
510
Total addresses
512 (29)
Block size (third octet)
2
Network / host bits
23 / 9
Mask in hex
0xFFFFFE00

Mask in binary: 11111111.11111111.11111110.00000000

Network bits Host bits

Try it: which /23 is an address in?

Network address
192.168.0.0/23
First usable host
192.168.0.1
Last usable host
192.168.1.254
Broadcast address
192.168.1.255
Next /23 starts at
192.168.2.0

How many /23 networks fit

How /23 relates to /8, /16 and /24 blocks
Parent block Relationship
/8 32,768 × /23 fit inside one /8
/16 128 × /23 fit inside one /16
/24 One /23 covers 2 × /24

A /23 holds 2 × /24. Two /23s make a /22.

Worked example: 192.168.0.255/23

A home lab widened its network to a /23 and someone wants to give a server 192.168.0.255. In a /24 that would be a broadcast address. Is it one here?

  1. The mask is 255.255.254.0. The third octet (254) is the "interesting" one — the first that is not 255.
  2. Block size = 256 − 254 = 2. Networks start at multiples of 2 in the third octet: 0, 2, 4, …
  3. The third octet of 192.168.0.255 is 0. 0 ÷ 2 = 0 remainder 0, so the block starts at 0 × 2 = 0.
  4. Network = 192.168.0.0 (octets after the third become 0). Broadcast = 0 + 2 − 1 = 1, giving 192.168.1.255 (octets after it become 255).
  5. Usable hosts: 192.168.0.1 to 192.168.1.254, which is 29 − 2 = 510 addresses.

Same thing in binary (network bits | host bits):

Address  11000000.10101000.0000000|0.11111111
Mask     11111111.11111111.1111111|0.00000000
Network  11000000.10101000.0000000|0.00000000

Where /23 is used in real networks

  • A /24 that ran out

    Offices with 300–500 devices often use a /23 for one user VLAN. You keep one subnet, one gateway and one DHCP scope.

  • Home routers with many smart devices

    Some homes with lots of IoT gear switch from 192.168.0.0/24 to 192.168.0.0/23 to get 510 addresses without adding VLANs.

Common /23 mistakes

  • Writing 192.168.1.0/23. A /23 must start on an even third octet, so it is really 192.168.0.0/23 — covering 192.168.0.0 to 192.168.1.255.
  • Refusing to assign 192.168.0.255 or 192.168.1.0 in a /23. They are in the middle of the block and are normal host addresses. Only 192.168.0.0 and 192.168.1.255 are reserved.
  • Assuming every device copes with middle .0 or .255 addresses. A few old IoT devices and printers reject them. If one does, give it a different address rather than shrinking the subnet.

/23 FAQ

How many hosts are in a /23?

510 usable: 2^9 = 512 addresses minus network and broadcast.

Is 192.168.0.255 a valid host address in a /23?

Yes, in 192.168.0.0/23 it is a normal host in the middle of the block, and so is 192.168.1.0. The broadcast is 192.168.1.255, the last address of the whole block.

What is the wildcard for /23?

0.0.1.255. The mask's third octet is 254, so the wildcard's third octet is 255 − 254 = 1.

Related tools