Home / Subnet calculator / /1
/1 subnet: mask 128.0.0.0
A /1 network holds 2,147,483,648 addresses, of which 2,147,483,646 can be given to devices. Its subnet mask is 128.0.0.0.
- Prefix length (CIDR)
- /1
- Subnet mask
- 128.0.0.0
- Wildcard mask
- 127.255.255.255
- Mask in binary
- 10000000.00000000.00000000.00000000
- Network bits / host bits
- 1 / 31
- Total addresses
- 2,147,483,648 (2 to the power of 31)
- Usable host addresses
- 2,147,483,646 (the first address names the network and the last is the broadcast address)
- Contains
- 8,388,608 networks of size /24
What a /1 is used for
A /1 is half of all IPv4 addresses, and nobody is allocated one. Its practical use is a routing trick: VPN software such as OpenVPN adds the two routes 0.0.0.0/1 and 128.0.0.0/1, which together cover everything and take priority over the existing default route without deleting it.
Worked example: which /1 is 100.20.1.130 in?
The mask's value in the first octet is 128, so networks advance in steps of 256 minus 128, which is 128, in that octet: 0, 128. The first octet of 100.20.1.130 is 100, which falls in the step that starts at 0. The network is therefore 0.0.0.0/1.
- Network
- 0.0.0.0/1
- Usable range
- 0.0.0.1 to 127.255.255.254
- Broadcast address
- 127.255.255.255
- Next /1 begins at
- 128.0.0.0/1
Open this example in the subnet calculator to see it bit by bit, or to try your own address.
All 2 /1 networks in 0.0.0.0/0
| Network | Usable range | Broadcast |
|---|---|---|
| 0.0.0.0/1 | 0.0.0.1 to 127.255.255.254 | 127.255.255.255 |
| 128.0.0.0/1 | 128.0.0.1 to 255.255.255.254 | 255.255.255.255 |
One size up and one size down
Each bit removed from the prefix doubles a network, and each bit added halves it. A /0 is twice the size, with 4,294,967,296 addresses in all, and a /2 is half the size, with 1,073,741,822 usable addresses. The table of every prefix size compares them all.