Skip to the content

/23 Subnet (255.255.254.0)

A /23 network has 512 addresses and the subnet mask 255.255.254.0: two /24 networks joined into one.

With or without a prefix: 192.168.1.10/24

/23

Network in CIDR notation

192.168.0.0/23

510 usable hosts, from 192.168.0.1 to 192.168.1.254.

Network address
192.168.0.0
Broadcast address
192.168.1.255
First usable host
192.168.0.1
Last usable host
192.168.1.254
Usable hosts
510
Total addresses
512
Subnet mask
255.255.254.0
Wildcard mask
0.0.1.255
IP class
C, default mask /24
Address type
Private (RFC 1918), in 192.168.0.0/16

In binary

Address
11000000.10101000.00000000.00000000
Mask
11111111.11111111.11111110.00000000
Network
11000000.10101000.00000000.00000000
Broadcast
11000000.10101000.00000001.11111111

The line marks where the network part ends: 23 network bits to its left, 9 host bits to its right.

Split into smaller subnets

4 subnets of /25, 126 usable hosts each.

  1. 192.168.0.0/25Hosts 192.168.0.1 – 192.168.0.126Broadcast 192.168.0.127
  2. 192.168.0.128/25Hosts 192.168.0.129 – 192.168.0.254Broadcast 192.168.0.255
  3. 192.168.1.0/25Hosts 192.168.1.1 – 192.168.1.126Broadcast 192.168.1.127
  4. 192.168.1.128/25Hosts 192.168.1.129 – 192.168.1.254Broadcast 192.168.1.255
Share this tool:TwitterFacebookLinkedInWhatsAppEmail

/23 at a glance

Subnet mask
255.255.254.0
Mask in binary
11111111.11111111.11111110.00000000
Wildcard mask
0.0.1.255
Addresses in one network
512
Usable for hosts
510
Networks of this size
128 in a /16, 32,768 in a /8

Where /23 networks begin

The mask stops inside the third number of the address, and one network covers 2 values of it. A new network begins wherever that number is a multiple of 2: 0, 2, 4, 6 and so on up to 254.

192.168.0.0/21 divided into 4 networks of /23

  1. 192.168.0.0/23Hosts 192.168.0.1 – 192.168.1.254Broadcast 192.168.1.255
  2. 192.168.2.0/23Hosts 192.168.2.1 – 192.168.3.254Broadcast 192.168.3.255
  3. 192.168.4.0/23Hosts 192.168.4.1 – 192.168.5.254Broadcast 192.168.5.255
  4. 192.168.6.0/23Hosts 192.168.6.1 – 192.168.7.254Broadcast 192.168.7.255

In practice

This is the usual next step when a /24 runs out of addresses. If the neighbouring /24 is free, changing the mask from 255.255.255.0 to 255.255.254.0 on the router and on every device doubles the network without renumbering anything.

The two halves have to be an even third number and the odd one after it: 192.168.0.0/23 covers 192.168.0.0 to 192.168.1.255. 192.168.1.0/23 is not a network, it is the middle of that same block.

That middle is the surprise of a /23: 192.168.0.255 and 192.168.1.0 are normal host addresses here. Some older devices and scripts refuse them, because they look like a broadcast address and a network address.

The subnet calculator takes any address with any prefix or mask, explains the address classes and the private ranges, and splits a network into subnets.