/2 subnet
A /2 fixes the first 2 bits of the address and leaves 30 for hosts. That gives 1,073,741,824 addresses and subnet mask 192.0.0.0.
Example: 0.0.0.0/2
- CIDR block
- 0.0.0.0/2
- Network address
- 0.0.0.0
- Broadcast address
- 63.255.255.255
- Usable host range
- 0.0.0.1 – 63.255.255.254
- Total addresses
- 1,073,741,824
- Usable hosts
- 1,073,741,822
- Subnet mask
- 192.0.0.0
- Wildcard mask
- 63.255.255.255
- Mask in binary
- 11000000.00000000.00000000.00000000
Check another address in the subnet calculator.
What fits inside a /2
Splitting 0.0.0.0/2 into /4 blocks starts with 0.0.0.0/4, 16.0.0.0/4, 32.0.0.0/4, 48.0.0.0/4.
Questions
How many hosts are in a /2 subnet?
A /2 has 1,073,741,824 addresses. Two are reserved for the network and broadcast addresses, which leaves 1,073,741,822 usable hosts.
What is the subnet mask for a /2?
The subnet mask for a /2 is 192.0.0.0, written in binary as 11000000.00000000.00000000.00000000. The wildcard mask is 63.255.255.255.
What is an example of a /2 range?
0.0.0.0/2 runs from 0.0.0.0 to 63.255.255.255. Hosts use 0.0.0.1 to 63.255.255.254, and 63.255.255.255 is the broadcast address.