Internet connectivity loss for VMs on HCX L2 extended segments with VMware Tools and MON - Azure VMware Solution (AVS)
search cancel

Internet connectivity loss for VMs on HCX L2 extended segments with VMware Tools and MON - Azure VMware Solution (AVS)

book

Article ID: 419476

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Virtual Machines (VMs) replicated to an Azure VMware Solution (AVS) SDDC using HCX lose outbound internet connectivity if VMware Tools is installed.


  • Outbound traffic failure for migrated workloads on L2 extended segments.
  • The connectivity issue is immediately resolved by uninstalling VMware Tools and rebooting the VM.
  • Traceflow analysis within NSX-T confirms that traffic from the affected VM successfully leaves the Tier-0 gateway (T0), indicating the problem occurs after T0 egress or at the segment/host level.

Environment

  • Azure VMware Solution (AVS) Private Cloud
  • VMware HCX (Migration or Disaster Recovery setup)
  • L2 Extended Segments
  • VMware Tools installed on the Guest OS.

Cause

A known conflict when HCX Mobility Optimized Networking (MON) is enabled on L2 extended segments, coupled with the presence of VMware Tools on the VM.

Resolution

Users should contact Broadcom/Azure support to address the underlying configuration issue related to the missing Local Egress (LE) flag in the HCX/NSX environment.

  • Workaround 1: Route to On-Premises Router Configure the affected VMs to route their internet traffic back to the on-premises router/firewall. This utilizes the L2 extension for the LAN but forces the egress path through the known-functional on-premises gateway, bypassing the faulty local AVS egress path.

  • Workaround 2: Use a Cloud-Only Segment Create a new segment natively within the AVS cloud that does not use HCX L2 extension or MON. Move the affected VMs to this new segment and apply a new IP address specific to that segment to restore connectivity. This isolates the issue to the HCX/MON layer.

Additional Information

Configuring Mobility Optimized Networking