Details
| Property | Value |
|---|---|
| Network bits | 30 |
| Host bits | 2 |
| Mask in binary | 11111111.11111111.11111111.11111100 |
| Mask in hex | 0xFFFFFFFC |
| Total addresses | 22 = 4 |
| Usable hosts | 22 − 2 = 2 |
| Subnets per /24 | 64 |
| Historic class equivalent | — |
Typical use: Classic point-to-point link (2 usable).
First /30 blocks in 192.168.1.0/24
| Network | First host | Last host | 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 |
Example: 192.168.1.0/30
Network 192.168.1.0, broadcast 192.168.1.3, hosts 192.168.1.1 to 192.168.1.2.
Neighbouring prefixes
Each step of one bit halves (or doubles) the size: a /30 holds two /31s.