Troubleshooting VMware HCX Mobility Optimized Networking (MON) Default Gateway Asymmetric Return Traffic in Extended L2 VLANs
Observed Symptoms & Trigger Conditions
- After enabling HCX MON on a migrated VM in cloud SDDC, the VM can reach local cloud VMs but loses connectivity to on-premises servers
- Stateful firewalls on-premises drop returned packets with "TCP Invalid ACK" or "Out of State Connection"
- Traceroute from on-prem client shows traffic hitting on-prem default gateway, but response packets exit via cloud Tier-0 gateway
Impact Scope
Affects migrated database and application servers operating on stretched Layer-2 subnets with HCX MON enabled.
Technical Root Cause
HCX Mobility Optimized Networking routes local traffic directly through the Cloud Tier-1 Gateway by injecting a /32 host route into the cloud routing table. However, if on-premises static routes or BGP route injection are not properly configured, on-premises clients send traffic via the on-prem default gateway (stretched L2 network extension), while the migrated VM sends response traffic through the Cloud Tier-0 gateway, creating an asymmetric routing loop that stateful firewalls discard.
Step-by-Step Resolution Procedure
Review HCX MON Target Subnet Configuration and Default Gateway Policy
In HCX Manager, verify whether the extended network has MON enabled and check the "Allow Traffic to Local Gateway" setting.
Configure MON Policy Routes to Enforce On-Premises Egress for Internal Subnets
Add an internal enterprise RFC1918 policy route (e.g. 10.0.0.0/8, 172.16.0.0/12) under HCX MON Policy Routes. This forces the cloud VM to route all corporate traffic back across the L2 Network Extension path rather than egressing via the Cloud Tier-0 Internet/DirectConnect gateway.
Flush Stale ARP Caches on On-Premises Core Switch / Default Gateway
Clear the ARP entry for the migrated VM IP on the physical core switch (Cisco Nexus / Catalyst) to ensure on-premises traffic reaches the HCX Network Extension (NE) appliance MAC.
Validate Bidirectional Path with Traceroute and TCP Handshake Analysis
Run traceroute from both directions and capture packets on the HCX Network Extension appliance to verify zero asymmetric path discrepancy.
Verification & Validation Check
Free browser-based engineering tools execute client-side with zero server storage.
Explore Architecture & Guidance
• Node & Storage Sizing
• RVTools Analyzer
• Nutanix NC2 Assessment
• Aria Networks Engine
• DR RPO/RTO Planner
• Blueprint Generator