/29 subnet (255.255.255.248)
Everything about a /29 network: mask, wildcard, number of hosts, example ranges and when to use it.
| Prefix (CIDR) | /29 |
|---|---|
| Subnet mask | 255.255.255.248 |
| Wildcard mask | 0.0.0.7 |
| Total addresses | 8 |
| Usable hosts | 6 |
| Block size | 8 in the fourth octet |
| Mask in binary | 11111111.11111111.11111111.11111000 |
What is a /29 used for?
Tiny networks such as a small public IP block from an ISP (6 usable addresses) or a firewall cluster link. 32 subnets of /29 fit in one /24.
How the numbers are worked out
/29 means the first 29 bits of the address are the network part, leaving 3 bits for hosts. 23 = 8 addresses. Take away 2 for the network and broadcast addresses and you get 6 usable hosts.
The mask has 29 ones followed by 3 zeros. The wildcard mask is the opposite: 255.255.255.255 minus the subnet mask, 0.0.0.7.
Example /29 networks
| Network | Usable range | Broadcast |
|---|---|---|
192.168.1.0/29 | 192.168.1.1 – 192.168.1.6 | 192.168.1.7 |
192.168.1.8/29 | 192.168.1.9 – 192.168.1.14 | 192.168.1.15 |
192.168.1.16/29 | 192.168.1.17 – 192.168.1.22 | 192.168.1.23 |
192.168.1.24/29 | 192.168.1.25 – 192.168.1.30 | 192.168.1.31 |
Each next /29 network starts 8 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 /29 subnet?
A /29 has 8 addresses in total and 6 usable hosts. The first address is the network address and the last is the broadcast address.
What is the subnet mask for /29?
The subnet mask for /29 is 255.255.255.248, and the wildcard mask (used in Cisco ACLs and OSPF) is 0.0.0.7.
What is a /29 subnet used for?
Tiny networks such as a small public IP block from an ISP (6 usable addresses) or a firewall cluster link.
Other prefix sizes
Learn more: subnetting in your head, subnetting step by step and the subnetting cheat sheet.