/32 subnet (255.255.255.255)
Everything about a /32 network: mask, wildcard, number of hosts, example ranges and when to use it.
| Prefix (CIDR) | /32 |
|---|---|
| Subnet mask | 255.255.255.255 |
| Wildcard mask | 0.0.0.0 |
| Total addresses | 1 |
| Usable hosts | 1 |
| Block size | 1 in the fourth octet |
| Mask in binary | 11111111.11111111.11111111.11111111 |
What is a /32 used for?
A single host route: loopback interfaces on routers, host routes and firewall rules that match exactly one IP address. 256 subnets of /32 fit in one /24.
How the numbers are worked out
/32 means the first 32 bits of the address are the network part, leaving 0 bits for hosts. 20 = 1 addresses.
The mask has 32 ones followed by 0 zeros. The wildcard mask is the opposite: 255.255.255.255 minus the subnet mask, 0.0.0.0.
Example /32 networks
| Network | Usable range | 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 | — |
Each next /32 network starts 1 addresses after the previous one. Work out any address with the free subnet calculator, or split a network into different sizes with the VLSM planner.
Frequently asked questions
How many hosts are in a /32 subnet?
A /32 has 1 addresses in total and 1 usable host. /31 and /32 are special cases with no separate network and broadcast addresses.
What is the subnet mask for /32?
The subnet mask for /32 is 255.255.255.255, and the wildcard mask (used in Cisco ACLs and OSPF) is 0.0.0.0.
What is a /32 subnet used for?
A single host route: loopback interfaces on routers, host routes and firewall rules that match exactly one IP address.
Other prefix sizes
Learn more: subnetting in your head, subnetting step by step and the subnetting cheat sheet.