I am working on a hybrid Azure environment with ExpressRoute connectivity to on-premises (Palo Alto firewall), and I am facing an asymmetric routing issue impacting SIP-based applications (IPFX softphone / mobility clients).
Current Setup:
- Azure VNet connected to on-prem via ExpressRoute (BGP enabled)
Palo Alto firewall on-prem (stateful inspection)
SIP provider (2Talk) over public internet
IPFX server hosted on Azure VM
Internal desk phones (on-prem) working as expected
Issue occurs only for off-network/mobile clients
Observed Behavior:
Traffic from on-prem to Azure flows correctly via ExpressRoute
However, return traffic from Azure is going via Azure Internet/DC path instead of ExpressRoute
This causes asymmetric routing, and the Palo Alto firewall drops the sessions (state mismatch)
As per Microsoft documentation, asymmetric routing can occur when multiple paths (Internet + ExpressRoute) exist, and return traffic may take a different path than the original flow ().
Key Requirement:
I want to ensure symmetric routing (both directions via ExpressRoute) for specific application flows (SIP/IPFX)
At the same time, I do NOT want to force all traffic (0.0.0.0/0) via ExpressRoute or firewall, as I have other servers in the VNet that should continue using direct Internet breakout
What I am trying to achieve:
Selective routing for specific workloads/subnets
Avoid full forced tunneling for the entire VNet
Maintain proper return path consistency for stateful firewall inspection
Questions:
What is the recommended approach to enforce symmetric routing for specific subnets or workloads without using a global 0.0.0.0/0 route?
Can BGP attributes (Local Preference / AS Path prepending / more specific routes) reliably influence Azure return traffic in such scenarios?
How does Azure decide return path selection when both ExpressRoute and Internet routes are available (destination-based routing vs BGP preference)?
Would advertising more specific prefixes over ExpressRoute help ensure return traffic symmetry for selected IP ranges?
Is SNAT (via Azure Firewall or NVA) the only reliable approach when selective routing is required?
Are there any best practices for handling SIP/media traffic in hybrid environments without introducing asymmetric routing?
Any guidance, best practices, or real-world experience would be highly appreciated.
Thanks in advance! I am working on a hybrid Azure environment with ExpressRoute connectivity to on-premises (Palo Alto firewall), and I am facing an asymmetric routing issue impacting SIP-based applications (IPFX softphone / mobility clients).
Current Setup:
Azure VNet connected to on-prem via ExpressRoute (BGP enabled)
Palo Alto firewall on-prem (stateful inspection)
SIP provider (2Talk) over public internet
IPFX server hosted on Azure VM
Internal desk phones (on-prem) working as expected
Issue occurs only for off-network/mobile clients
Observed Behavior:
Traffic from on-prem to Azure flows correctly via ExpressRoute
However, return traffic from Azure is going via Azure Internet/DC path instead of ExpressRoute
This causes asymmetric routing, and the Palo Alto firewall drops the sessions (state mismatch)
As per Microsoft documentation, asymmetric routing can occur when multiple paths (Internet + ExpressRoute) exist, and return traffic may take a different path than the original flow ().
Key Requirement:
I want to ensure symmetric routing (both directions via ExpressRoute) for specific application flows (SIP/IPFX)
At the same time, I do NOT want to force all traffic (0.0.0.0/0) via ExpressRoute or firewall, as I have other servers in the VNet that should continue using direct Internet breakout
What I am trying to achieve:
Selective routing for specific workloads/subnets
Avoid full forced tunneling for the entire VNet
Maintain proper return path consistency for stateful firewall inspection
Questions:
What is the recommended approach to enforce symmetric routing for specific subnets or workloads without using a global 0.0.0.0/0 route?
Can BGP attributes (Local Preference / AS Path prepending / more specific routes) reliably influence Azure return traffic in such scenarios?
How does Azure decide return path selection when both ExpressRoute and Internet routes are available (destination-based routing vs BGP preference)?
Would advertising more specific prefixes over ExpressRoute help ensure return traffic symmetry for selected IP ranges?
Is SNAT (via Azure Firewall or NVA) the only reliable approach when selective routing is required?
Are there any best practices for handling SIP/media traffic in hybrid environments without introducing asymmetric routing?
Any guidance, best practices, or real-world experience would be highly appreciated.
Thanks in advance!