CIDR reference · IPv4

The /29 CIDR block

8 addresses, 6 usable, subnet mask 255.255.255.248.

/29 · 255.255.255.248 Open in the calculator

8 addresses, 6 usable. The typical size ISPs hand to a business that needs a few public IPs. The smallest subnet Azure and Google Cloud allow.

Key numbers

Prefix length/29 (29 network bits, 3 host bits)
Subnet mask255.255.255.248
Mask in binary11111111.11111111.11111111.11111000
Wildcard mask0.0.0.7
Total addresses8
Usable hosts6 (total minus network and broadcast)
Fits in a /2432 times
Block sizeIncrements of 8 in octet 4

Example ranges

Private (RFC 1918) blocks of this size. Click one to open it in the calculator.

BlockFirst addressLast addressUsable hosts
10.0.0.0/2910.0.0.010.0.0.710.0.0.1 – 10.0.0.6
172.16.0.0/29172.16.0.0172.16.0.7172.16.0.1 – 172.16.0.6
192.168.0.0/29192.168.0.0192.168.0.7192.168.0.1 – 192.168.0.6

Usable addresses in the cloud

Cloud providers reserve a few addresses in every subnet for the router, DNS and future use, so the usable count is lower than the formula gives.

ProviderUsable in a /29Notes
AWS VPC subnetn/aNot allowed: AWS subnets must be between /16 and /28.
Azure virtual network subnet3Allowed. Azure reserves the first four addresses and the last one.
Google Cloud subnet4Allowed. Google Cloud reserves the first two and the last two addresses.

How the numbers are derived

An IPv4 address has 32 bits. A /29 uses 29 of them for the network, leaving 3 host bits, so the block has 23 = 8 addresses. The first address (all host bits 0) is the network address and the last (all host bits 1) is the broadcast address, which leaves 6 for hosts. The subnet mask is 29 ones followed by 3 zeros, written in dotted decimal as 255.255.255.248; the wildcard mask 0.0.0.7 is its inverse, used in Cisco ACLs and OSPF configuration.

FAQ

How many hosts can a /29 have?

8 addresses in total, of which 6 are usable after removing the network and broadcast addresses. Cloud providers reserve a few more: 3 usable in AWS and Azure, 4 in Google Cloud.

How many /29 subnets fit in a /24?

32. A /24 has 256 addresses and a /29 has 8, so 256 ÷ 8 = 32 blocks.