A /18 network has 14 host bits, 16,384 addresses and 16,382 usable hosts. It is 64 /24 networks.
A /18 (16,384 addresses) is a popular size for EKS or GKE pod ranges when each node takes a block of pod IPs, and for splitting a /16 VPC into four zones.
| Network | Network address | First usable | Last usable | Broadcast | Next /18 | |
|---|---|---|---|---|---|---|
| 10.0.0.0/18 | 10.0.0.0 | 10.0.0.1 | 10.0.63.254 | 10.0.63.255 | 10.0.64.0/18 | calculate |
| 172.16.0.0/18 | 172.16.0.0 | 172.16.0.1 | 172.16.63.254 | 172.16.63.255 | 172.16.64.0/18 | calculate |
| 192.168.0.0/18 | 192.168.0.0 | 192.168.0.1 | 192.168.63.254 | 192.168.63.255 | 192.168.64.0/18 | calculate |
The /18 boundary falls in the third octet, so /18 networks start every 64 in that octet
(4 per /16):
0, 64, 128, 192.
| Platform | Allowed subnet sizes | /18 allowed? | Usable after reservation |
|---|---|---|---|
| AWS VPC | /16 to /28 | Yes | 16,379 (5 reserved) |
| Azure VNet | /2 to /29 | Yes | 16,379 (5 reserved) |
| Google Cloud VPC | /4 to /29 | Yes | 16,380 (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.