FREE STUDY NOTES · AZ-700

Azure subnet sizing: the five reserved addresses and the smallest subnet

How many usable addresses each prefix gives in Azure, why five are always reserved, and how to size subnets for gateways, Bastion and VMs.

From Ultra Transcenders AZ-700 by Tony Rough (publishing soon)

Azure takes a fixed number of addresses from every subnet, so the usable count is always smaller than the raw prefix size, and that shapes every sizing decision.

Two address strips. A /24 subnet loses .0 (network address), .1 (default gateway), .2 and .3 (Azure DNS) and .255 (broadcast), which leaves 251 usable addresses from .4 to .254. A /29 loses the same five positions (.0 to .3 and .7), which leaves 3 usable addresses (.4 to .6).
Figure 1.1: The five addresses Azure reserves in every subnet, shown for a /24 and for the smallest supported subnet, a /29
Prefix Addresses Usable in Azure
/29 8 3
/28 16 11
/27 (255.255.255.224) 32 27
/26 64 59
/25 128 123
/24 256 251
/23 512 507

Common trap: Splitting a /24 into 128 subnets with 7 usable addresses each - that would mean /31 subnets, which Azure doesn’t support, and a /31 has only 2 addresses anyway. The most you can get from a /24 is 32 /29s with 3 usable addresses each.

Common trap: Choosing a /25 for 507 or 510 hosts - a /25 gives only 123 usable addresses; 507 hosts need a /23.

Design decisions when dividing a /24

Because every subnet costs 5 addresses, the fewer subnets you create, the more addresses you keep for workloads.

Common trap: Splitting the /24 into /26s when it must hold a gateway plus VMs - two /25s lose fewer addresses to Azure’s reservations.

Common trap: Making a /26 the larger VM subnet alongside Bastion to reach 182 addresses - 182 usable addresses need a /25 as the larger VM subnet (123 + 59).

Get the whole book

This note is one section of Ultra Transcenders AZ-700: Designing and Implementing Microsoft Azure Networking Solutions, an independent study guide that explains every topic the exam covers by technology, with comparison tables, diagrams and the common traps, plus a glossary linked to Microsoft Learn.

Amazon.co.ukKindle: coming soonPaperback: coming soon
Amazon.comKindle: coming soonPaperback: coming soon

Publishing soon on Amazon in Kindle and paperback editions.

About the book · Free AZ-700 glossary · All AZ-700 study notes

More AZ-700 study notes