Longest prefix match, system routes versus user-defined routes, and how a 0.0.0.0/0 route forces internet traffic on-premises.
From Ultra Transcenders AZ-700 by Tony Rough (publishing soon)
Every subnet has a set of effective routes built from system routes, routes learned over BGP and any user-defined routes. Knowing how Azure chooses between them explains most “why didn’t my traffic go through the firewall?” problems.
Common trap: Assuming that a 0.0.0.0/0 UDR to an NVA sends VM-to-VM traffic within the same VNet through the NVA - it doesn’t, because the VNet address-space system route is a longer prefix match.
Common trap: Assuming every subnet’s internet traffic passes through a hub firewall once some subnets have a default route to it - a subnet in a peered VNet with no UDR still goes straight to the Internet.
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.
Publishing soon on Amazon in Kindle and paperback editions.
About the book · Free AZ-700 glossary · All AZ-700 study notes
How many usable addresses each prefix gives in Azure, why five are always reserved, and how to size subnets for gateways, Bastion and VMs.
Resolving Azure private zones from on-premises and on-premises names from Azure, with subnet sizing and ruleset rules.
Where each peering setting goes, what spokes can reach, and why peering isn't transitive.
What each ExpressRoute feature does, which SKUs and gateways it needs, and where it fits on a circuit.
A decision guide by traffic type (HTTP or not) and scope (regional or global).
The CNAME chain from a public service name to a private endpoint, zone groups and zone links.
Rule order, the default rules, and what happens to a flow between subnets and to return traffic.