/29 subnet mask (255.255.255.248)
A /29 is the subnet mask 255.255.255.248: 29 network bits and 3 host bits, giving 8 addresses and 6 usable hosts. Its wildcard mask is 0.0.0.7 and its block size is 8.
- Subnet mask
- 255.255.255.248
- Wildcard
- 0.0.0.7
- Addresses
- 8
- Usable hosts
- 6
- Block size
- 8
The /29 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.11111000
29 network bits, 3 host bits.
Every /29 in 192.168.1.0/24
A /24 holds 32 /29 subnets, each starting where the previous one ends.
| Network | First host | Last host | 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 |
| 192.168.1.32/29 | 192.168.1.33 | 192.168.1.38 | 192.168.1.39 |
| 192.168.1.40/29 | 192.168.1.41 | 192.168.1.46 | 192.168.1.47 |
| 192.168.1.48/29 | 192.168.1.49 | 192.168.1.54 | 192.168.1.55 |
| 192.168.1.56/29 | 192.168.1.57 | 192.168.1.62 | 192.168.1.63 |
| 192.168.1.64/29 | 192.168.1.65 | 192.168.1.70 | 192.168.1.71 |
| 192.168.1.72/29 | 192.168.1.73 | 192.168.1.78 | 192.168.1.79 |
| 192.168.1.80/29 | 192.168.1.81 | 192.168.1.86 | 192.168.1.87 |
| 192.168.1.88/29 | 192.168.1.89 | 192.168.1.94 | 192.168.1.95 |
| 192.168.1.96/29 | 192.168.1.97 | 192.168.1.102 | 192.168.1.103 |
| 192.168.1.104/29 | 192.168.1.105 | 192.168.1.110 | 192.168.1.111 |
| 192.168.1.112/29 | 192.168.1.113 | 192.168.1.118 | 192.168.1.119 |
| 192.168.1.120/29 | 192.168.1.121 | 192.168.1.126 | 192.168.1.127 |
| 192.168.1.128/29 | 192.168.1.129 | 192.168.1.134 | 192.168.1.135 |
| 192.168.1.136/29 | 192.168.1.137 | 192.168.1.142 | 192.168.1.143 |
| 192.168.1.144/29 | 192.168.1.145 | 192.168.1.150 | 192.168.1.151 |
| 192.168.1.152/29 | 192.168.1.153 | 192.168.1.158 | 192.168.1.159 |
| 192.168.1.160/29 | 192.168.1.161 | 192.168.1.166 | 192.168.1.167 |
| 192.168.1.168/29 | 192.168.1.169 | 192.168.1.174 | 192.168.1.175 |
| 192.168.1.176/29 | 192.168.1.177 | 192.168.1.182 | 192.168.1.183 |
| 192.168.1.184/29 | 192.168.1.185 | 192.168.1.190 | 192.168.1.191 |
| 192.168.1.192/29 | 192.168.1.193 | 192.168.1.198 | 192.168.1.199 |
| 192.168.1.200/29 | 192.168.1.201 | 192.168.1.206 | 192.168.1.207 |
| 192.168.1.208/29 | 192.168.1.209 | 192.168.1.214 | 192.168.1.215 |
| 192.168.1.216/29 | 192.168.1.217 | 192.168.1.222 | 192.168.1.223 |
| 192.168.1.224/29 | 192.168.1.225 | 192.168.1.230 | 192.168.1.231 |
| 192.168.1.232/29 | 192.168.1.233 | 192.168.1.238 | 192.168.1.239 |
| 192.168.1.240/29 | 192.168.1.241 | 192.168.1.246 | 192.168.1.247 |
| 192.168.1.248/29 | 192.168.1.249 | 192.168.1.254 | 192.168.1.255 |
Where a /29 is used
A /29 has 8 addresses and 6 usable hosts. Internet providers often sell a static business block as a /29, where one of the six is the provider’s gateway.
It is the smallest subnet Azure allows: with five addresses reserved, an Azure /29 leaves 3 usable.
| Where | Usable addresses |
|---|---|
| Ordinary network | 6 |
| Azure subnet (5 reserved) | 3 |
Worked example: 192.168.1.77/29
The block-size method, the way you would do it in an exam without a calculator.
- /29 means a mask of 255.255.255.248.
- The interesting octet is the fourth one, where the mask is 248. Block size = 256 − 248 = 8.
- Subnets in that octet start at multiples of 8. 77 falls in the block from 72 to 79.
- Network address = 192.168.1.72; broadcast = the next block minus one = 192.168.1.79.
- Usable hosts run from the network plus one to the broadcast minus one: 192.168.1.73 to 192.168.1.78, which is 2^3 − 2 = 6 addresses.
Try another address in the subnet calculator, or practise without one on the subnetting practice questions.