An Azure service that provides private connections between Azure datacenters and infrastructure, either on premises or in a colocation environment.
Yes, advertising a default route (0.0.0.0/0) from on-premises to Azure over ExpressRoute is supported and is the standard way to force all internet-bound traffic from Azure virtual networks back to on-premises.
Key points:
- Supported over ExpressRoute
ExpressRoute supports advertising a default route (0.0.0.0/0) via BGP from on-premises. When this route is received by Azure, all traffic to destinations not otherwise matched by more specific prefixes will be sent over the ExpressRoute circuit to on-premises. - Effect on internet access from Azure
When 0.0.0.0/0 is advertised from on-premises:- Internet connectivity from VMs in virtual networks linked to the ExpressRoute circuit is effectively blocked directly from Azure.
- All such traffic is forced over ExpressRoute to on-premises, where it must be routed/NATed out to the internet by on-premises infrastructure.
- Fallback behavior if the default route is withdrawn
If the advertised 0.0.0.0/0 route is withdrawn (for example, due to outage or misconfiguration), Azure automatically falls back to its system route to the internet for those virtual networks. To ensure internet egress remains blocked in such a failure scenario, outbound deny rules should be configured using Network Security Groups on the relevant subnets. - Impact on Microsoft peering traffic
When a default route is advertised over ExpressRoute, traffic to services offered over Microsoft peering (for example, Azure Storage, Azure SQL Database) is also forced back to on-premises unless service endpoints or other Azure-native mechanisms are used to keep that traffic within the Azure backbone.
In summary, advertising 0.0.0.0/0 from on-premises to Azure over ExpressRoute is supported and is the correct approach to send all internet-bound traffic from Azure VNets to on-premises for egress and inspection.
References:
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.