↑ ↓ to move, Enter to open, Esc to close

    AZ-700Designing and Implementing Microsoft Azure Networking Solutions

    Switch exam

    Microsoft Azure

    aws Amazon Web Services

    Google Cloud

    ServiceNow

    Databricks

    Cisco

    Salesforce

    All exams and search

    Exams / AZ-700 / D1 Design and implement core networking infrastructure

    D1.1

    Design and implement IP addressing for Azure resources

    • 5 min read
    • 9 sections
    • 29 questions
    • 25–30% of the exam
    • Free preview
    • Plan and implement network segmentation and address spaces
    • Create a virtual network (VNet)
    • Plan and configure subnetting for services, including virtual network gateways, private endpoints, service endpoints, firewalls, application gateways, VNet-integrated platform services, and Azure Bastion
    • Plan and configure subnet delegation
    • Plan and configure shared or dedicated subnets
    • Create a Public IP Prefix
    • Choose when to use a public IP address prefix
    • Plan and implement a Custom IP address prefix (bring your own IP)
    • Create a public IP address
    • Associate public IP addresses to resources
    You are reading a free preview. The rest of the AZ-700 course unlocks with an Exam pass or All access.See plans

    1. Virtual networks and address spaces

    • A VNet is dedicated to one subscription and lives in one region, but it spans availability zones. You don't need a subnet per zone.
    • Address spaces must not overlap with on-premises networks or with VNets you want to peer: "You can't enable virtual network peering if address spaces overlap."
    • If you change a VNet's address space while it is peered, sync the peering on each remote peer.

    2. Subnet sizing

    Rule Value
    Reserved addresses per subnet 5 (first four + last)
    Smallest IPv4 subnet /29 → 8 − 5 = 3 usable
    Largest IPv4 subnet /2
    IPv6 subnet size exactly /64

    Usable IPs = 2^(32 − prefix) − 5:

    Prefix Total Usable
    /29 8 3
    /27 32 27
    /26 64 59
    /25 128 123
    /24 256 251
    /23 512 507

    A subnet's address range can be changed only if no resources are deployed in it.

    3. What consumes subnet IP addresses

    Takes a private IP in the subnet Doesn't take a subnet IP
    VM NICs (one per IP configuration) Service endpoints (subnet setting)
    Internal load balancer frontend Service endpoint policies
    Private endpoint (read-only NIC) NAT gateway (uses public IPs, associated with the subnet)
    Gateways, Bastion, Application Gateway, Firewall instances DDoS Protection (enabled per VNet)
    App Service VNet integration (1 IP per plan instance) VNet peering, storage accounts

    4. Dedicated and delegated subnets

    VNet 10.0.0.0/16GatewaySubnet/27+ (only /29 for Basic)nothing else insideAzureBastionSubnet/26 or largerApplication GatewaysubnetdedicatedACI subnetdelegated, container groupsonlySQL MI subnetdelegated toMicrosoft.Sql/managedInstancesApp Service integrationsubnetdedicated, delegated toMicrosoft.Web/serverFarmsWorkload subnet(shared)VMs, ILB, private endpoints
    Service Subnet rule
    VPN / ExpressRoute gateway Named GatewaySubnet; /29 possible only for Basic SKU, all other SKUs /27 or larger; "Never deploy anything else (for example, more VMs) to the gateway subnet."
    Azure Bastion (except Developer SKU) Named AzureBastionSubnet, /26 or larger (old /27 deployments still work)
    Application Gateway A dedicated subnet is required
    Azure Container Instances Delegated subnet that can contain only container groups (several groups can share it)
    SQL Managed Instance Subnet delegated only to Microsoft.Sql/managedInstances
    App Service regional VNet integration Dedicated subnet; one IP per plan instance; /26 covers the max scale of one plan
    Microsoft Entra Domain Services Dedicated subnet recommended, not mandatory
    Private endpoints, ILB, VMs Can share an ordinary subnet

    Counting trick: count subnets by isolation rule (one per gateway, Bastion, delegated service, plus a workload subnet), not by resource.

    5. App Service VNet integration

    Mode When Requirements
    Regional VNet in the same region Dedicated subnet; reaches peered VNets too, including global peering
    Gateway-required VNet in another region (or classic) Windows plans only; route-based VPN gateway with SSTP point-to-site; being retired on 31 March 2027
    • Apps in the same plan share one integration; classically one subnet per App Service plan.
    • Multi-plan subnet join (MPSJ) now lets several plans of the same subscription join one subnet (minimum /26).

    6. Service endpoints and private endpoints

    • Service endpoints are enabled per subnet and per service type (e.g. Microsoft.Sql, Microsoft.KeyVault, Microsoft.Storage). Traffic stays on the Azure backbone and the source switches to private IPv4; no IP is consumed.
    • Private endpoints are NICs with a private IP from your subnet that map to one Private Link resource.

    7. IPv6 / dual stack

    • IPv6 subnets are always /64; VNet IPv6 ranges are typically /48.
    • To give an existing VM IPv6: add an IPv6 range to the VNet and subnet, then add an IPv6 IP configuration to the existing NIC (a new NIC would need a new IPv4 primary configuration).

    8. Public IP addresses and prefixes

    Topic Key facts
    SKUs Standard (v1 or v2) and Basic; Basic SKU public IPs were retired on 30 September 2025
    Zones Standard: non-zonal, zonal or zone-redundant; Standard v2: zone-redundant only
    SKU upgrade IP must be static and not associated with any resource: disassociate → upgrade → re-associate
    Public IP prefix Reserved contiguous range (e.g. /28 = 16 IPv4, /124 = 16 IPv6); create static Standard IPs from it; simplifies firewall allowlists; deleted IPs return to the prefix
    Azure Firewall Can't attach a prefix itself, but can use Standard IPs created from one

    9. Custom IP prefix (BYOIP)

    Prefix Allowed sizes
    Unified custom IPv4 /21 to /24 (smallest = /24)
    Global (parent) IPv4 /21 to /24; regional child /22 to /26
    Global (parent) IPv6 /48; regional child /64

    A public IP prefix derived from a custom IP prefix can be as large as the custom prefix.

    Exam traps

    • "Which resource needs subnet IPs?": internal load balancer or private endpoint; never service endpoints, policies, NAT gateway, DDoS, peering, storage.
    • GatewaySubnet /29 works only for Basic; pick /27 for "smallest supported".
    • Bastion: exactly AzureBastionSubnet, /26 minimum; one Bastion covers peered VNets.
    • A /24 with Bastion: /26 Bastion + /25 + /26 VM subnets = 123 + 59 = 182 VM IPs.
    • 10.0.0.0/8 overlaps 10.1.0.0/16: check overlap with on-premises before picking the largest range.
    • Availability zones never require extra VNets or subnets; subscriptions do require separate VNets.
    • Moving a VNet to a resource group in another region doesn't move the VNet; VNet names are unique per resource group.
    • Peered VNets can't have overlapping address spaces.
    • Same-region App Service: new dedicated subnet (no gateway); cross-region → gateway-required (VPN gateway + P2S).

    Docs

    The rest of this chapter is part of the AZ-700 premium course

    Unlock every chapter, all 356 questions and spaced review with All access or a 90-day exam pass. Every Fundamentals exam stays free, and the first chapter of every exam is open.

    Chapters