/32 subnet
A /32 fixes the first 32 bits of the address and leaves 0 for hosts. That gives 1 address and subnet mask 255.255.255.255.
Example: 192.168.1.0/32
- CIDR block
- 192.168.1.0/32
- Network address
- 192.168.1.0
- Broadcast address
- 192.168.1.0
- Usable host range
- 192.168.1.0 – 192.168.1.0
- Total addresses
- 1
- Usable hosts
- 1
- Subnet mask
- 255.255.255.255
- Wildcard mask
- 0.0.0.0
- Mask in binary
- 11111111.11111111.11111111.11111111
Check another address in the subnet calculator.
Where you see a /32
- A /32 is one address. It appears in host routes, router loopback interfaces and firewall rules that match a single IP.
How many fit in a larger block
- A /8 holds 16,777,216 blocks of /32.
- A /16 holds 65,536 blocks of /32.
- A /24 holds 256 blocks of /32.
A /32 in the cloud
| Provider | Usable addresses |
|---|---|
| AWS VPC | Not allowed: the smallest subnet is /28 |
| Azure Virtual Network | Not allowed: the smallest subnet is /29 |
| Google Cloud VPC | Not allowed: the smallest subnet is /29 |
Each provider reserves addresses in every subnet: AWS VPC 5, Azure Virtual Network 5, Google Cloud VPC 4 (primary range).
Questions
How many hosts are in a /32 subnet?
A /32 is exactly one address, and that address is the host.
What is the subnet mask for a /32?
The subnet mask for a /32 is 255.255.255.255, written in binary as 11111111.11111111.11111111.11111111. The wildcard mask is 0.0.0.0.
What is an example of a /32 range?
192.168.1.0/32 runs from 192.168.1.0 to 192.168.1.0.