/29 Subnet Mask: 255.255.255.248

A /29 prefix fixes the first 29 bits of the address as the network, leaving 3 bits for hosts. That gives 8 addresses, of which 6 can be assigned to hosts.

CIDR notation/29
Subnet mask255.255.255.248
Wildcard mask0.0.0.7
Binary mask11111111.11111111.11111111.11111000
Hex mask0xFFFFFFF8
Total addresses8
Usable hosts6

Example: 192.168.1.0/29

  • Network address: 192.168.1.0
  • First usable host: 192.168.1.1
  • Last usable host: 192.168.1.6
  • Broadcast address: 192.168.1.7

When to use a /29 subnet

Very small segments such as a DMZ, a group of network devices, or a few servers. /28 is also the smallest subnet AWS allows in a VPC.

  • 2,097,152 /29 subnets fit in a /8.
  • 8,192 /29 subnets fit in a /16.
  • 32 /29 subnets fit in a /24.

Frequently Asked Questions

What is the subnet mask for /29?

The subnet mask for /29 is 255.255.255.248, and its wildcard (inverse) mask is 0.0.0.7.

How many hosts are in a /29?

A /29 contains 8 addresses. Subtracting the network and broadcast addresses leaves 6 usable hosts.