SaveMyCert
IPv4 reference

/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.

/29 subnets of 192.168.1.0/24
NetworkFirst hostLast hostBroadcast
192.168.1.0/29192.168.1.1192.168.1.6192.168.1.7
192.168.1.8/29192.168.1.9192.168.1.14192.168.1.15
192.168.1.16/29192.168.1.17192.168.1.22192.168.1.23
192.168.1.24/29192.168.1.25192.168.1.30192.168.1.31
192.168.1.32/29192.168.1.33192.168.1.38192.168.1.39
192.168.1.40/29192.168.1.41192.168.1.46192.168.1.47
192.168.1.48/29192.168.1.49192.168.1.54192.168.1.55
192.168.1.56/29192.168.1.57192.168.1.62192.168.1.63
192.168.1.64/29192.168.1.65192.168.1.70192.168.1.71
192.168.1.72/29192.168.1.73192.168.1.78192.168.1.79
192.168.1.80/29192.168.1.81192.168.1.86192.168.1.87
192.168.1.88/29192.168.1.89192.168.1.94192.168.1.95
192.168.1.96/29192.168.1.97192.168.1.102192.168.1.103
192.168.1.104/29192.168.1.105192.168.1.110192.168.1.111
192.168.1.112/29192.168.1.113192.168.1.118192.168.1.119
192.168.1.120/29192.168.1.121192.168.1.126192.168.1.127
192.168.1.128/29192.168.1.129192.168.1.134192.168.1.135
192.168.1.136/29192.168.1.137192.168.1.142192.168.1.143
192.168.1.144/29192.168.1.145192.168.1.150192.168.1.151
192.168.1.152/29192.168.1.153192.168.1.158192.168.1.159
192.168.1.160/29192.168.1.161192.168.1.166192.168.1.167
192.168.1.168/29192.168.1.169192.168.1.174192.168.1.175
192.168.1.176/29192.168.1.177192.168.1.182192.168.1.183
192.168.1.184/29192.168.1.185192.168.1.190192.168.1.191
192.168.1.192/29192.168.1.193192.168.1.198192.168.1.199
192.168.1.200/29192.168.1.201192.168.1.206192.168.1.207
192.168.1.208/29192.168.1.209192.168.1.214192.168.1.215
192.168.1.216/29192.168.1.217192.168.1.222192.168.1.223
192.168.1.224/29192.168.1.225192.168.1.230192.168.1.231
192.168.1.232/29192.168.1.233192.168.1.238192.168.1.239
192.168.1.240/29192.168.1.241192.168.1.246192.168.1.247
192.168.1.248/29192.168.1.249192.168.1.254192.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.

Usable addresses in a /29
WhereUsable addresses
Ordinary network6
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.

  1. /29 means a mask of 255.255.255.248.
  2. The interesting octet is the fourth one, where the mask is 248. Block size = 256 − 248 = 8.
  3. Subnets in that octet start at multiples of 8. 77 falls in the block from 72 to 79.
  4. Network address = 192.168.1.72; broadcast = the next block minus one = 192.168.1.79.
  5. 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.

/29 subnet mask: your questions

The subnet mask for /29 is 255.255.255.248. The prefix counts the 1 bits in the mask: 11111111.11111111.11111111.11111000 has 29 ones. The wildcard mask, used in Cisco ACLs and OSPF, is 0.0.0.7.

Other prefixes