Skip to content
Tape and Square

N-01 · Subnet · /29

/29 subnet

A /29 network keeps 29 of the 32 address bits for the network and leaves 3 for hosts. Its mask, host count, the blocks it fits in and example networks, all worked out below.

Short answer

Subnet mask
255.255.255.248Wildcard 0.0.0.7
Usable hosts
68 addresses in total

2^3 = 8 addresses. The first is the network address and the last the broadcast, so 6 can go to devices.

The /29 mask in binary and hex

29 one bits, then 3 zero bits. The wildcard is the mask inverted.

MaskDottedHex
Subnet mask255.255.255.248FF.FF.FF.F8
Wildcard0.0.0.700.00.00.07

The mask ends inside the fourth octet, at 248 (11111000). That leaves 3 host bits in the octet, so /29 networks start every 8 in it: 0, 8, 16, 24 and so on. Cisco access lists take the wildcard form, 0.0.0.7, where a 1 bit means “any value” (Cisco document 23602).

RFC 1878's table lists /29 as FF.FF.FF.F8 hex, 8 addresses, equal to 1/32 C in the old class terms. Its Table 1-2 counts a /29 as 32 subnets of a class C network with 6 hosts each.

How many /29 subnets fit

The three private ranges (RFC 1918) and one /24.

Block/29 subnets in it
10.0.0.0/82,097,152
172.16.0.0/12131,072
192.168.0.0/168,192
192.168.181.0/2432

10.0.0.0/8 holds 2,097,152, 172.16.0.0/12 holds 131,072 and 192.168.0.0/16 holds 8,192 /29 subnets. A /24 splits into 32 of them.

Splitting a /29

Each extra prefix bit halves the block.

IntoSubnetsUsable each
/3022
/3142
/3281

Two /30 subnets hold 4 usable addresses between them, 2 fewer than one /29: each half gives up its own network and broadcast address.

/29 subnets of 192.168.181.0/24

192.168.181.0/24 holds 32 of them. The row in bold holds 192.168.181.150.

SubnetFirst usableLast usable
192.168.181.0/29192.168.181.1192.168.181.6
192.168.181.8/29192.168.181.9192.168.181.14
192.168.181.16/29192.168.181.17192.168.181.22
… 15 more subnets
192.168.181.144/29192.168.181.145192.168.181.150
… 12 more subnets
192.168.181.248/29192.168.181.249192.168.181.254

Special-purpose /29 blocks

Blocks of exactly this size in the IANA IPv4 Special-Purpose Address Space registry.

BlockUse
192.0.0.0/29IPv4 Service Continuity Prefix

Check an address

Pre-filled with 192.168.181.150/29. Change the address or the prefix.

/29

Also accepts 192.168.1.130 255.255.255.192, 192.168.1.0 60 hosts or IPv6 like 2001:db8::/48.

Result

192.168.181.144/29

6 usable hosts

Network
192.168.181.144
First usable
192.168.181.145
Last usable
192.168.181.150
Broadcast
192.168.181.151
Subnet mask
255.255.255.248
Wildcard mask
0.0.0.7
Total addresses
8
PRIVATE

Inside 192.168.0.0/16, a private range (RFC 1918). Not routable on the public internet.

Binary view

Address · 192.168.181.150
11000000.10101000.10110101.10010110
Mask · 255.255.255.248
11111111.11111111.11111111.11111000
Network · 192.168.181.144
11000000.10101000.10110101.10010000

Bold bits are fixed for the network; orange bits number the hosts.

192.168.181.0/24 split into /29 · 32 blocks

  1. … 15 before
  2. 192.168.181.144/29.145–.150 ◂
  3. … 9 more

/29 next to /28 and /30

One bit shorter, a /28 (255.255.255.240) has 16 addresses and 14 usable, 8 more than a /29. One bit longer, /30 (255.255.255.252) has 4 addresses and 2 usable. /28 subnet · /30 subnet

Ask the calculator for a host count and it answers /29 for 3 to 6 hosts: typing "192.168.181.144 6 hosts" gives this size, one more host gives a /28.

Worked example

Take 192.168.181.150/29. The mask ends in the fourth octet. There the address is 150 = 10010110 and the mask 248 = 11111000; AND keeps the first 5 bits: 10010000 = 144. So the network is 192.168.181.144. OR the wildcard 0.0.0.7 onto it to set every host bit: 192.168.181.151, the broadcast.

Devices use 192.168.181.145 through 192.168.181.150: 6 addresses. 192.168.181.150 is number 6 of them. In 192.168.181.0/24 this is subnet 19 of 32.

References

  • RFC 4632, Classless Inter-domain Routing (CIDR), §3.1: prefix lengths and block sizes.
  • RFC 950, Internet Standard Subnetting Procedure: subnet masks.
  • RFC 1878, Variable Length Subnet Table For IPv4, Table 1-2.
  • RFC 1918, Address Allocation for Private Internets: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.
  • IANA IPv4 Special-Purpose Address Space registry (updated 2025-10-09).

Other prefixes