A /23 network has 9 host bits, 512 addresses and 510 usable hosts. It is 2 /24 networks.
A /23 joins two /24s, for example 192.168.0.0 to 192.168.1.255, giving 510 usable hosts. Use it when a /24 VLAN fills up and renumbering is harder than widening the mask.
| Network | Network address | First usable | Last usable | Broadcast | Next /23 | |
|---|---|---|---|---|---|---|
| 10.0.0.0/23 | 10.0.0.0 | 10.0.0.1 | 10.0.1.254 | 10.0.1.255 | 10.0.2.0/23 | calculate |
| 172.16.0.0/23 | 172.16.0.0 | 172.16.0.1 | 172.16.1.254 | 172.16.1.255 | 172.16.2.0/23 | calculate |
| 192.168.0.0/23 | 192.168.0.0 | 192.168.0.1 | 192.168.1.254 | 192.168.1.255 | 192.168.2.0/23 | calculate |
The /23 boundary falls in the third octet, so /23 networks start every 2 in that octet
(128 per /16):
0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, ....
| Platform | Allowed subnet sizes | /23 allowed? | Usable after reservation |
|---|---|---|---|
| AWS VPC | /16 to /28 | Yes | 507 (5 reserved) |
| Azure VNet | /2 to /29 | Yes | 507 (5 reserved) |
| Google Cloud VPC | /4 to /29 | Yes | 508 (4 reserved) |
Cloud providers reserve addresses in every subnet (first four and the last address (network, VPC router, DNS, future use, broadcast) on AWS), so the usable count there differs from the classic 2^n - 2.