/30 Subnet Mask and Host Range
A /30 IPv4 prefix uses mask 255.255.255.252 and contains 4 addresses. See the range for 192.0.2.1.
| Subnet mask | 255.255.255.252 |
|---|---|
| Binary mask | 11111111.11111111.11111111.11111100 |
| Wildcard mask | 0.0.0.3 |
| Total addresses | 4 |
| Usable host addresses | 2 |
| Block containing 192.0.2.1 | 192.0.2.0 – 192.0.2.3 |
In a broadcast subnet, the first address identifies the network and the last is the broadcast address. Increasing the prefix length by one divides this block into two equal subnets.
| Prefix | Addresses | Usable addresses |
|---|---|---|
| /29 | 8 | 6 |
| /30 | 4 | 2 |
| /31 | 2 | 2 |
Both /31 addresses are usable on a point-to-point link. RFC 3021
Split 192.0.2.0/24 into 64 /30 prefixes
The table shows the first two and last two subnets. Browse all 64 subnets
| # | CIDR | Last address |
|---|---|---|
| 1 | 192.0.2.0/30 | 192.0.2.3 |
| 2 | 192.0.2.4/30 | 192.0.2.7 |
| 63 | 192.0.2.248/30 | 192.0.2.251 |
| 64 | 192.0.2.252/30 | 192.0.2.255 |