Homeβ€Ί Blogβ€Ί Azure Architecture Series #108 β€” IPv6 on Azure Networking…
Azure Architecture Azure Architecture Series

Azure Architecture Series #108 β€” IPv6 on Azure Networking

Verified against current vendor documentation on 29 November 2026. Pricing, limits and API behaviour were checked against the official docs on that date. Cloud services change fast — if you are reading this much later, treat the specifics as a starting point and re-check the linked sources.

Business Challenge

IPv6 keeps surfacing in this series as a footnote rather than a subject. Bastion supports dual stack, but #105 found it covers only the client side of one hop and is mutually exclusive with private-only deployment. Peering supports IPv6, but #107 found IPv6-only peering is still in preview. Route Server shipped a dual-stack preview whose own FAQ said IPv6 was unsupported. Each of those reads like a small gap. Together they are the actual shape of the feature.

The business reason to care is in the first paragraph of Microsoft's own overview, and it is not a technology argument: “new networks for mobility and Internet of Things (IoT) are often built on IPv6… IPv4-only services can find themselves at a real disadvantage in both existing and emerging markets.” This is a reachability problem, not a modernisation project.

So the design question is never “should we move to IPv6”. On Azure it cannot be a move.

Dual stack is the destination, not a migration step

“IPv6-only Virtual Machines or Virtual Machines Scale Sets aren't supported. Each NIC must include at least one IPv4 IP configuration.”

And there is no translation layer to hide behind: of the load balancer, “Load balancing doesn't perform any protocol translation (no NAT64).” Nothing in Azure bridges an IPv6 client to an IPv4-only backend on your behalf. The dual stack is the bridge, which means the IPv4 half stays load-bearing indefinitely.

Three things in the other direction are genuinely good: IPv6 is “secure by default since IPv6 connectivity to the Internet is only established when you explicitly request it”; “There's no charge to use Public IPv6 Addresses or Public IPv6 Prefixes”; and you can add IPv6 to an existing IPv4 deployment where “the IPv4 network traffic is unaffected during this process.”

Architecture

Diagram: IPv6 on Azure networking across four bands. The first band states the rule that governs everything else, quoting the documentation that IPv6-only virtual machines and scale sets aren't supported and each network interface must include at least one IPv4 configuration. It adds that there is no NAT64 anywhere because load balancing performs no protocol translation, so a version six client reaches a version six front end and nothing bridges it to a version four back end automatically, making the dual stack itself the bridge. On the positive side, IPv6 is off until explicitly requested, public version six addresses and prefixes are free, and version six can be added to a live deployment. The second band says the prefix sizes are not the operator's to choose: a virtual network subnet must be exactly a slash sixty-four because some on-premises routers accept only slash sixty-four routes; an ExpressRoute gateway subnet must be slash sixty-four or larger; ExpressRoute peering links need a pair of slash one hundred and twenty-six subnets the customer owns, where the first usable address is theirs and the second is Microsoft's; and the Application Gateway example uses a slash forty-eight on the virtual network and a slash sixty-four on the subnet. The conclusion is that address planning is mostly arithmetic the operator does not control, so the advice is to budget a slash sixty-four per subnet and stop optimising. The third band lists what still speaks only IPv4. Azure Firewall has no IPv6 at all and its subnet must be IPv4-only. Virtual WAN carries IPv4 traffic only, which rules out secured hubs. Route Server carries IPv4 only. VPN Gateway is IPv4 only, so coexistence with ExpressRoute carries no version six. Container Instances and Container Apps provide no IPv6 for containers. PostgreSQL Flexible Server cannot be deployed if any IPv6 address exists anywhere in the virtual network. Application Gateway accepts a version six front end but requires a version four back end, and its ingress controller has no version six support at all. The band highlights the PostgreSQL row as the sharpest, because a single version six range anywhere in the network blocks a service that never wanted version six, and notes two network security group gaps: no ICMPv6, and no mixing of a version four and a version six prefix in a single rule. The fourth band sketches a workable dual-stack design. At the edge, an Application Gateway v2 in dual stack or a Standard IPv6 load balancer, on a new build only because there is no upgrade path. For compute, dual-stack virtual machines and scale sets, each interface carrying a version four configuration it cannot drop. East-west, peering carries both families locally or globally and may peer with version four only networks mid-transition. For hybrid, ExpressRoute private peering only, with the circuit, the gateway and the customer's own equipment all needing version six enabled. For inspection, not Azure Firewall, so either a network virtual appliance or an acceptance that version six egress goes uninspected. And for platform services, reach them over the version four endpoints on the dual-stack machine, which is the documented answer rather than a workaround. The diagram closes by noting that enabling version six on an existing ExpressRoute gateway can take an hour and that a Basic public address must be migrated first, and that FastPath with version six needs an UltraPerformance or ErGw3AZ gateway on an ExpressRoute Direct circuit and is never available in the Dubai peering location.
Dual stack is not a migration step on Azure — it is the destination, and IPv4 is load-bearing.

The prefix sizes are not yours to choose

IPv6 address planning on Azure involves less arithmetic than people expect, because the sizes are mostly fixed. The central one is unusual in being an exact requirement rather than a minimum:

WhereSize
Virtual network subnetExactly /64
ExpressRoute gateway subnet/64 or larger
ExpressRoute peering link, primary and secondaryA pair of /126 subnets you own
Application Gateway documented example/48 virtual network, /64 subnet

The reason for the exact /64 is given and it is a hybrid-connectivity reason, not an Azure one: it “ensures future compatibility should you decide to enable routing of the subnet to an on-premises network since some routers can only accept /64 IPv6 routes.” So Azure has made the conservative choice on your behalf, permanently, for a constraint you may never hit. Argue with it or not, it means subnet sizing is a non-decision — budget a /64 each and move on.

The /126 pairs on ExpressRoute private peering carry a convention worth writing into a runbook before the provider call: “you assign the first usable IP address to your router as Microsoft uses the second usable IP for its router”, and the “peer ASN and VlanId should match those in your IPv4 Private Peering configuration.”

Why This Architecture Holds Up

Because the list of IPv4-only services includes the ones you were going to inspect traffic with

This is the part that turns IPv6 from a configuration task into an architecture decision. The limitations section of the overview is short and it removes most of the hub from a dual-stack design:

ServiceIPv6 position
Azure FirewallNo IPv6. “It can operate in a dual stack virtual network using only IPv4, but the firewall subnet must be IPv4-only.”
Azure Virtual WAN“Currently supports IPv4 traffic only”
Azure Route Server“Currently supports IPv4 traffic only”
VPN GatewayIPv4 only — coexistence with ExpressRoute carries no IPv6
Container Instances, Container Apps“Don't support IPv6 communication for containers”
PostgreSQL Flexible ServerNo IPv6, and blocked by any IPv6 in the virtual network
Application Gateway backendsIPv6 frontend supported; “IPv6 backends are currently not supported”

Read the first four rows together and the consequence is stark. The reference enterprise topology in this series — #77's hub-and-spoke with #84's Azure Firewall inspecting egress, or #81's Virtual WAN — cannot carry IPv6 at all. Not partially: Virtual WAN is IPv4-only, Azure Firewall is IPv4-only, and Route Server is IPv4-only. If your standard landing zone routes everything through a secured hub, adding IPv6 means either a network virtual appliance that speaks it, or accepting that IPv6 egress is uninspected.

The PostgreSQL row is the one that will surprise somebody

“Azure Database for PostgreSQL - Flexible Server doesn't currently support IPv6. Even if the subnet for the Postgres Flexible Server doesn't have any IPv6 addresses assigned, it can't be deployed if there are IPv6 addresses in the virtual network.”

That is not “this subnet must be IPv4-only” — it is the whole virtual network. Add an IPv6 range anywhere in a network and a service that never wanted IPv6, in a subnet that has none, stops being deployable. If your platform team adds IPv6 to a shared landing-zone network, that is a breaking change for a database nobody mentioned.

The related constraint, for the same reason: you “can't add IPv6 ranges to a virtual network that has existing resource navigation links”. Delegated subnets block the addition in the other direction.

Because the security controls have two specific holes

Network security groups do support IPv6 rules, and the Azure platform's DDoS protections extend to internet-facing public IPs. But two gaps in NSG handling will be found by a test rather than by reading:

  • No mixed-family rules. “While it's possible to create NSG rules for IPv4 and IPv6 within the same NSG, it isn't currently possible to combine an IPv4 subnet with an IPv6 subnet in the same rule when specifying IP prefixes.” So every rule set roughly doubles, and the two halves have to be kept in step by hand — a maintenance burden the segmentation model in #104 does not otherwise impose.
  • No ICMPv6. “ICMPv6 isn't currently supported in Network Security Groups.” Which matters more than ICMP did for IPv4, because IPv6 depends on ICMPv6 for neighbour discovery and path MTU discovery rather than treating it as an optional diagnostic.

And one ordering trap that looks like a platform bug: “When using a dual stack configuration with a load balancer, health probes don't function for IPv6 if a Network Security Group isn't active.” For IPv4 the absence of an NSG is permissive. For IPv6 on a dual-stack load balancer, no NSG means no working probe — so the backend reads unhealthy and the cause is a control you did not configure. The probe semantics in #95 assume the probe can arrive at all.

Because the edge is a new build, in both services that support it

Both IPv6-capable Layer 7 edges share the same limitation, and it is the expensive kind. On Application Gateway: “To use IPv6 frontend connectivity, you need to create a new Application Gateway. Currently you can't upgrade existing IPv4 only Application Gateways to dual stack.” Bastion from #105 says the same thing about itself.

So adding IPv6 to a live front end is not a configuration change — it is a parallel deployment and a DNS cutover. Worth knowing before promising a date. The rest of the Application Gateway picture:

  • v2 SKU only. “Only v2 SKU supports a frontend with both IPv4 and IPv6 addresses”, available in all public regions where v2 is, plus 21Vianet and Azure Government.
  • Four frontend IPs maximum — two IPv4 (public and private) and two IPv6 (public and private). A public and a private IPv6 listener “can't share a frontend port.”
  • Dual stack is mandatory, even privately. There is no IPv6-only gateway, and “a private-only Application Gateway requires both private IPv4 and private IPv6 addresses.”
  • The WAF loses two rule types. For IPv6 traffic, “custom rules that use IP address-based match conditions do not support IPv6 traffic” and “geo-based custom rules are not supported.” So the geo-filtering and IP-allowlist patterns from #86 silently do not apply to the IPv6 half of your traffic — which is a security gap that appears as a passing configuration.
  • No IPv6 Private Link, and no AGIC. Kubernetes ingress through the Application Gateway Ingress Controller has no IPv6 support at all.

Because hybrid IPv6 is ExpressRoute private peering, and the prerequisites chain

For on-premises reach there is exactly one supported path, and it requires all three ends to agree: “It isn't possible to connect a dual-stack ExpressRoute Virtual Network Gateway to an ExpressRoute Circuit that only has IPv4 enabled on the Private Peering. IPv6 must also be enabled on the ExpressRoute Circuit. You must also configure IPv6 on your on-premises CPE device.”

The gateway constraints are where a retrofit gets expensive. Connections to existing gateways that are not zone-redundant are unsupported, while “newly created ExpressRoute gateways of any SKU (both zone-redundant and not) using a Standard, Static IP address” work. A gateway on a Basic SKU public IP “must be migrated to an availability zone-enabled SKU before you enable IPv6 connectivity.” And enabling IPv6 on an existing zone-redundant gateway “can take up to 1 hour for changes to reflect” — a maintenance window, not a toggle.

Then the exclusions, which rule out the two architectures most large estates actually run: no ExpressRoute with Virtual WAN, no ExpressRoute with Route Server in the portal, and no coexistence with VPN Gateway for IPv6 — you can configure the coexistence, but “VPN Gateway only supports IPv4 traffic.” FastPath with IPv6 needs UltraPerformance or ErGw3AZ on an ExpressRoute Direct circuit, and is unsupported in the Dubai peering location. The FastPath detail from #76 gets narrower still once IPv6 is involved.

Because the documented answer for PaaS is “use IPv4”

This is the sentence that settles the scope question, and it is admirably direct: “All Azure PaaS services can be accessed via the IPv4 endpoints on dual stack Virtual Machines.” Microsoft's stated intention is “to add IPv6 support to more Azure networking features over time and eventually to offer dual stack versions of Azure PaaS services” — which is a roadmap, not a capability.

So the honest design is asymmetric by intent. IPv6 faces the client, because that is where the reachability problem is. IPv4 faces everything internal, because that is where the services are. That is not a compromise to apologise for — it is the architecture the platform supports, and describing it accurately is better than implying a dual-stack estate that does not exist.

Key Architecture Decisions

DecisionDo thisBecause
Framing the workCall it “adding IPv6”, never “migrating”IPv6-only VMs are unsupported; every NIC keeps an IPv4 configuration.
Expecting a translation layerDon'tThere is no NAT64; load balancing performs no protocol translation.
Subnet sizing/64 each, no optimisationThe requirement is exactly /64, for on-premises router compatibility.
Landing zone on Virtual WAN or Azure FirewallIPv6 can't traverse itBoth are IPv4-only, as is Route Server.
IPv6 egress inspectionNVA, or document the gapAzure Firewall has no IPv6 and its subnet must be IPv4-only.
Shared landing-zone networkCheck for PostgreSQL Flexible Server firstAny IPv6 range in the VNet blocks its deployment entirely.
Virtual network with delegated subnetsExpect the addition to failIPv6 ranges can't be added where resource navigation links exist.
NSG rule setsBudget for two of everythingA single rule can't combine an IPv4 and an IPv6 prefix.
Dual-stack load balancerAttach an NSG deliberatelyWithout an active NSG, IPv6 health probes don't function.
Relying on ICMPv6Don't filter on itNSGs don't support ICMPv6, which IPv6 needs for discovery and PMTUD.
Adding IPv6 to a live front endPlan a parallel build and DNS cutoverNeither Application Gateway nor Bastion can be upgraded in place.
WAF geo-filtering or IP allowlistsRe-check them for the IPv6 pathBoth custom-rule types are unsupported for IPv6 traffic.
Hybrid IPv6ExpressRoute private peering, all three ends enabledCircuit, gateway and CPE must each have IPv6; VPN Gateway can't carry it.
Retrofitting an existing ER gatewayCheck zone-redundancy and the public IP SKUNon-zone-redundant is unsupported; Basic IPs must be migrated first.
Reaching PaaS over IPv6Use the IPv4 endpointThat is the documented answer, not a workaround.

Closing Thought

The interesting thing about IPv6 on Azure is not the addressing. Addresses are free, plentiful, and sized for you. What the feature actually is, is a frontier: a line running through the middle of the platform with the client-facing edge on one side and most of the hub on the other.

Which makes the honest design easy to describe and uncomfortable to present. IPv6 to the client, because mobile and IoT networks are where the reachability problem lives. IPv4 everywhere inside, because Azure Firewall, Virtual WAN, Route Server, VPN Gateway and every PaaS endpoint are on that side of the line. Not a transitional state — the supported state, today.

The one line to take away

Add IPv6 at the edge for reachability, keep IPv4 everywhere inside because the hub services require it, and check the virtual network for a PostgreSQL Flexible Server before you add a single IPv6 range.

Next in the series: Azure Route Server — which, per this post, is one of the services still waiting on IPv6, and which is worth understanding for what it does to BGP in a hub.

Official Azure Reference

Comments

How was your experience?
Your feedback helps improve this site.
PoorExcellent