VPN Traffic Drop Due to Duplicate Subnet Configuration and Local ARP Failure in NSX
search cancel

VPN Traffic Drop Due to Duplicate Subnet Configuration and Local ARP Failure in NSX

book

Article ID: 433632

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

You may observe the following behaviors during troubleshooting:

  • The source VM's Guest OS is unable to ping the remote destination VMs or reach its gateway.

  • Traceflow  analysis shows that packets are being dropped on the source ESXi host due to an ARP failure from NSX.

  • Packet captures at the ESXi at switch port show only ICMP echo requests leaving but no replies.

  • Packet captures on the ESXi uplink (e.g., vmnic2) show that ARP requests on the Broadcast domain but they are not being sent on VPN tunnels 

Environment

 VMware NSX

Cause

This issue is caused by a duplicate subnet configuration within the NSX environment.

Because directly connected interfaces take routing precedence over IPsec tunnel routes, the T1 gateway attempts to route the traffic to the locally connected segment rather than forwarding it through the VPN tunnel. Consequently, the host generates ARP requests for the destination IP on the local segment. When no device answers the ARP request, the traffic is dropped. This routing behavior is expected by design when there is an overlapping subnet.

Resolution

To resolve this issue, you must eliminate the duplicate subnet configuration so that the Tier-1 gateway properly routes the traffic through the IPsec VPN tunnel.

Steps to resolve:

  1. Identify the conflicting local segment on the Tier-1 gateway that overlaps with the remote VPN subnet.

  2. Disconnect the overlapping segment from the Tier-1 gateway.

  3. Note on VCD Environments: If the conflicting segment is associated with active VMs, deleting the network directly from VMware Cloud Director (VCD) may fail.

  4. Workaround for attached VMs: * Log into the NSX Manager UI.

    • Navigate to the conflicting segment.

    • Edit the segment and change its Connected Gateway configuration to None.

  5. Once the local segment is disconnected from the T1 routing table, the routing conflict is resolved.

Validation:

  • Initiate a ping test from the source VM to the remote destination IP. Traffic should now succeed.

  • Run a Traceflow from the NSX UI to validate that the packets are successfully entering the IPsec tunnel instead of dropping at the host level.