Subnet calculator › CIDR /2
/2 subnet mask (192.0.0.0)
A /2 uses the first 2 bits for the network and the remaining 30 bits for hosts: 1,073,741,824 addresses, 1,073,741,822 usable hosts.
| CIDR notation | /2 |
|---|---|
| Subnet mask | 192.0.0.0 |
| Wildcard mask | 63.255.255.255 |
| Binary mask | 11|000000.00000000.00000000.00000000 |
| Hex mask | 0xC0000000 |
| Total addresses | 1,073,741,824 (230) |
| Usable hosts | 1,073,741,822 · 1,073,741,824 addresses minus the network and broadcast addresses. |
| Block size | The first octet changes in steps of 64 |
What is a /2 used for?
- Mostly seen in route summarization and addressing theory
/2 address range examples
Splitting 0.0.0.0/0 into /2 gives 4 subnets.
| Network | Usable range | Broadcast |
|---|---|---|
| 0.0.0.0/2 | 0.0.0.1 ~ 63.255.255.254 | 63.255.255.255 |
| 64.0.0.0/2 | 64.0.0.1 ~ 127.255.255.254 | 127.255.255.255 |
| 128.0.0.0/2 | 128.0.0.1 ~ 191.255.255.254 | 191.255.255.255 |
| 192.0.0.0/2 | 192.0.0.1 ~ 255.255.255.254 | 255.255.255.255 |
Splitting a /2 further
| Split into | Subnets | Hosts each |
|---|---|---|
| /3 | 2 | 536,870,910 |
| /4 | 4 | 268,435,454 |
| /5 | 8 | 134,217,726 |
| /6 | 16 | 67,108,862 |
| /7 | 32 | 33,554,430 |
| /8 | 64 | 16,777,214 |
| /9 | 128 | 8,388,606 |
| /10 | 256 | 4,194,302 |