/32 subnet mask (255.255.255.255)
A /32 is the subnet mask 255.255.255.255: all 32 bits are network bits, so it describes exactly one address. Its wildcard mask is 0.0.0.0.
- Subnet mask
- 255.255.255.255
- Wildcard
- 0.0.0.0
- Addresses
- 1
- Usable hosts
- 1
- Block size
- 1
The /32 mask in binary
The prefix is the number of 1 bits at the start of the mask. Ones mark the network part of an address, zeros the host part.
11111111.11111111.11111111.11111111
32 network bits, 0 host bits.
Every /32 in 192.168.1.0/24
A /24 holds 256 /32 subnets. The first eight and the last are listed; the rest follow the same step.
| Network | First address | Last address | Broadcast |
|---|---|---|---|
| 192.168.1.0/32 | 192.168.1.0 | 192.168.1.0 | — |
| 192.168.1.1/32 | 192.168.1.1 | 192.168.1.1 | — |
| 192.168.1.2/32 | 192.168.1.2 | 192.168.1.2 | — |
| 192.168.1.3/32 | 192.168.1.3 | 192.168.1.3 | — |
| 192.168.1.4/32 | 192.168.1.4 | 192.168.1.4 | — |
| 192.168.1.5/32 | 192.168.1.5 | 192.168.1.5 | — |
| 192.168.1.6/32 | 192.168.1.6 | 192.168.1.6 | — |
| 192.168.1.7/32 | 192.168.1.7 | 192.168.1.7 | — |
| 192.168.1.255/32 | 192.168.1.255 | 192.168.1.255 | — |
Where a /32 is used
A /32 is a single address: all 32 bits are network bits. It is used for loopback interfaces, host routes and router IDs.
In cloud firewall rules, such as an AWS security group, x.x.x.x/32 means "this one address and nothing else".
| Where | Usable addresses |
|---|---|
| Ordinary network | 1 |
Worked example: 192.168.1.77/32
The block-size method, the way you would do it in an exam without a calculator.
- /32 means a mask of 255.255.255.255: all 32 bits are network bits.
- There are no host bits, so the subnet is the single address itself. /32s are used for host routes and loopback addresses.
Try another address in the subnet calculator, or practise without one on the subnetting practice questions.