Subnet calculator › CIDR /30
/30 subnet mask (255.255.255.252)
A /30 uses the first 30 bits for the network and the remaining 2 bits for hosts: 4 addresses, 2 usable hosts.
| CIDR notation | /30 |
|---|---|
| Subnet mask | 255.255.255.252 |
| Wildcard mask | 0.0.0.3 |
| Binary mask | 11111111.11111111.11111111.111111|00 |
| Hex mask | 0xFFFFFFFC |
| Total addresses | 4 (22) |
| Usable hosts | 2 · 4 addresses minus the network and broadcast addresses. |
| Block size | The fourth octet changes in steps of 4 |
What is a /30 used for?
- The traditional size for router point-to-point links (2 hosts)
/30 address range examples
Splitting 192.168.1.0/24 into /30 gives 64 subnets. The first 8 are shown.
| Network | Usable range | Broadcast |
|---|---|---|
| 192.168.1.0/30 | 192.168.1.1 ~ 192.168.1.2 | 192.168.1.3 |
| 192.168.1.4/30 | 192.168.1.5 ~ 192.168.1.6 | 192.168.1.7 |
| 192.168.1.8/30 | 192.168.1.9 ~ 192.168.1.10 | 192.168.1.11 |
| 192.168.1.12/30 | 192.168.1.13 ~ 192.168.1.14 | 192.168.1.15 |
| 192.168.1.16/30 | 192.168.1.17 ~ 192.168.1.18 | 192.168.1.19 |
| 192.168.1.20/30 | 192.168.1.21 ~ 192.168.1.22 | 192.168.1.23 |
| 192.168.1.24/30 | 192.168.1.25 ~ 192.168.1.26 | 192.168.1.27 |
| 192.168.1.28/30 | 192.168.1.29 ~ 192.168.1.30 | 192.168.1.31 |