How many usable hosts in a /29?
A /29 subnet has 8 IP addresses and 6 usable hosts. The first address is the network address and the last is the broadcast address, so neither can go on a host. Its netmask is 255.255.255.248 and its wildcard mask is 0.0.0.7.
/29 at a glance
- Prefix
- /29
- Netmask
- 255.255.255.248
- Wildcard
- 0.0.0.7
- Addresses
- 8
- Usable hosts
- 6
Example: 192.168.10.0/29
- Network
- 192.168.10.0
- Broadcast
- 192.168.10.7
- Hosts
- 192.168.10.1 – 192.168.10.6
Usable IPs in a /29 cloud subnet
As a cloud subnet it leaves 3 usable on Azure and 4 on Google Cloud; it is too small for AWS, which stops at /28.
| Provider | Usable |
|---|---|
| AWS VPCReserves 5: network, VPC router, DNS, one held for future use, broadcast | Not allowed (/16–/28 only) |
| Azure VNetReserves 5: network, default gateway, two for Azure DNS, broadcast | 3 |
| Google Cloud VPCReserves 4: network, default gateway, second-to-last, broadcast | 4 |
Questions
Quick answers.
Worked out with the same code as the CIDR calculator, which takes any IPv4 block and also splits it and checks overlaps.
What is the subnet mask for a /29?
255.255.255.248. In binary it is 29 ones followed by 3 zeros. The wildcard mask, which Cisco ACLs and OSPF use, is 0.0.0.7.
How many /29 subnets fit in a /24?
32. Each extra prefix bit halves the block, so a /24 (256 addresses) splits into 32 /29 subnets of 8 addresses each.