tip
~/geeksubnet/masks/29

/29 subnet mask: 255.255.255.248

Every value on this page is reproducible in the calculator.

The /29 prefix means the first 29 bits of the address identify the network and the remaining 3 identify the host. Written out, the mask is 255.255.255.248, in binary 11111111.11111111.11111111.11111000, and its Cisco wildcard or inverse form is 0.0.0.7. It covers 8 addresses, of which 6 can be given to hosts.

/29 at a glance

CIDR prefix/29
Subnet mask255.255.255.248
Mask in binary11111111.11111111.11111111.11111000
Wildcard (inverse) mask0.0.0.7
Host bits3
Total addresses8
Usable hosts6
Block size (magic number)8 in octet 4

Every /29 inside 192.168.1.0/24

A 192.168.1.0/24 contains 32 subnets of /29. Here are the first 8, which is enough to see the pattern: each one starts 8 after the last in octet 4.

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

The magic number for /29

Take the interesting octet of the mask, the one that is neither 255 nor 0. For /29 that is 248 in octet 4. Subtract it from 256:

256 - 248 = 8

That is the block size. Every /29 network address is a multiple of 8 in octet 4, so you can list them by counting: 0, 8, 16, 24, and so on. No binary needed once you know the number.

Where a /29 shows up in practice

A /29 gives 6 usable addresses and is the most common static allocation on a business broadband line: one for the router, a few for servers, and the provider keeps the rest of the maths to itself.

Frequently asked questions

How many hosts are in a /29?

A /29 holds 8 addresses in total. After reserving the network and broadcast addresses, 6 are usable by hosts.

What is the subnet mask for /29?

The /29 subnet mask is 255.255.255.248 in dotted-decimal notation.

What is the wildcard mask for /29?

The wildcard mask, also called the inverse mask, is 0.0.0.7. It is the bitwise inverse of 255.255.255.248 and is what Cisco access lists and OSPF network statements expect.

What is /29 in binary?

The /29 mask written out bit by bit is 11111111.11111111.11111111.11111000: 29 ones followed by 3 zeros.

How many /29 subnets fit in a /24?

A /24 splits into 32 subnets of /29.

Neighbouring masks: /28 is one bit shorter and holds twice as many addresses. /30 is one bit longer and holds half as many.
full cheat sheet subnetting basics open the calculator