A /2 network has 30 host bits, 1,073,741,824 addresses and 1,073,741,822 usable hosts. It is 4,194,304 /24 networks.
A /2 is a quarter of the IPv4 internet. Nobody numbers hosts out of one; it shows up in route summaries and as the largest subnet Azure lets you create inside a virtual network.
| Network | Network address | First usable | Last usable | Broadcast | Next /2 | |
|---|---|---|---|---|---|---|
| 0.0.0.0/2 | 0.0.0.0 | 0.0.0.1 | 63.255.255.254 | 63.255.255.255 | 64.0.0.0/2 | calculate |
The /2 boundary falls in the first octet, so /2 networks start every 64 in that octet
(4 per address space):
0, 64, 128, 192.
| Platform | Allowed subnet sizes | /2 allowed? | Usable after reservation |
|---|---|---|---|
| AWS VPC | /16 to /28 | No | - |
| Azure VNet | /2 to /29 | Yes | 1,073,741,819 (5 reserved) |
| Google Cloud VPC | /4 to /29 | No | - |
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.