An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
Thanks @Andriy Bilous Then based on my understanding would an aggregated version of this approach also work, to avoid maintaining a route for every other subnet?
Assume a VNet 10.0.0.0/15 containing 50+ application subnets, each /24.
For the source subnet 10.0.0.0/24, replace the VNet-wide firewall route and own-subnet VirtualNetwork exception with these destinations, all pointing to Azure Firewall:
10.0.1.0/24
10.0.2.0/23
10.0.4.0/22
10.0.8.0/21
10.0.16.0/20
10.0.32.0/19
10.0.64.0/18
10.0.128.0/17
10.1.0.0/16
These cover the entire VNet except the source subnet. Each subnet would receive its own calculated exclusions, with PE route-table policies remaining enabled.
The intention is:
Same-subnet VM-to-VM and VM-to-PE traffic stays local using system routes.
Traffic to other subnets traverses the firewall.
Internet and inter-VNet inspection remains governed by vWAN routing intent.
Would this be equivalent to your suggested destination-subnet routing approach, including for PEs? It would require nine UDRs per table in this example, without adding routes whenever another subnet or PE is deployed.