Home IPv4 subnet /29
/29 subnet mask: how many hosts?
Answer
255.255.255.248 /29 · 6 usable hosts
A /29 prefix is the mask 255.255.255.248 . It leaves 3 host bits: 8 addresses in total and 6 usable hosts (network and broadcast excluded).
subnet4 · adjust the values
Copy result Copy link
Close-up of a network switch with ports and lights. Photo: Jonathan Castañeda / Unsplash
/29 at a glance Item Value Mask 255.255.255.248 Wildcard 0.0.0.7 Addresses 8 Usable hosts 6 Mask in binary 11111111.11111111.11111111.11111000Example network 192.168.1.0/29
Neighboring prefixes Prefix Mask Usable hosts /28 255.255.255.240 14 /29 255.255.255.248 6 /30 255.255.255.252 2
To work out another address with this prefix, change the IP in the calculator above: you get network, broadcast and range in binary.
Step by step Host bits: 32 − 29 = 3. Addresses: 23 = 8. Usable hosts: 8 − 2 (network and broadcast) = 6 . Octet 4 has 5 bits set: 256 − 8 = 248. Networks step by 8 in that octet. Example with 192.168.1.0/29 Item Address Network 192.168.1.0/29 First host 192.168.1.1 Last host 192.168.1.6 Broadcast 192.168.1.7
Nearby prefixes Prefix Mask Usable hosts /26 255.255.255.192 62 /27 255.255.255.224 30 /28 255.255.255.240 14 /29 255.255.255.248 6 /30 255.255.255.252 2
In practice A /24 splits into 32 /29 networks, starting at multiples of 8 in the last octet. Going from /29 to /28 doubles the block to 16 addresses (14 usable hosts); going to /30 halves it to 2 usable hosts.
To try other values, open the IPv4 subnet calculator with these numbers already filled in.
Frequently asked questions Why subtract 2 hosts? The first address identifies the network and the last is the broadcast; neither can be assigned to a device. On /31 links (RFC 3021) both are used.
How do I configure it on Cisco? With the dotted mask: ip address 192.168.10.1 255.255.255.248. ACLs and OSPF use the wildcard 0.0.0.7.