Layer 2 Extension from VMware to Nutanix: Keeping the Same IP During Migration
Observed Symptoms & Trigger Conditions
- Workload migration requires moving virtual machines in phases without modifying IP address, MAC address, or default gateway.
- Layer 3 underlay connectivity exists between the source environment and the target Nutanix availability zone.
- Subnet extension must span from a Nutanix availability zone to a non-Nutanix datacenter using a VTEP gateway.
Impact Scope
Applies to subnets extended between a local Nutanix cluster and a non-Nutanix datacenter terminating on a third-party VTEP gateway. Each extended subnet on the same network gateway requires a unique VxLAN Network Identifier. A non-HA VTEP gateway outage disrupts extension traffic until the gateway restarts on another host, though HA-enabled active and backup gateways operate transparently; confirm for the current version.
Technical Root Cause
Layer 2 network extension allows workloads to retain their network identity across availability zones when routed underlay connectivity is in place. Because extension between a Nutanix availability zone and a non-Nutanix datacenter operates exclusively over VTEP, the remote peer requires a third-party VTEP gateway. VTEP-based extension is unencrypted and point-to-multipoint, so the decision to apply encryption across the underlying network belongs to the transport underlay design.
Step-by-Step Resolution Procedure
Verify Layer 3 Underlay Reachability
Confirm that routed Layer 3 connectivity is established between the endpoints. Verify that IP reachability is established between the local network gateway and the remote third-party VTEP gateway endpoint IP addresses. Confirm against the Nutanix documentation for the version in use.
Deploy and Configure Local VTEP Gateway
On the on-premises Prism Central, navigate to Networking & Security > Connectivity > Subnet Extension. Create a local gateway on Prism Central using a dedicated VLAN subnet for the gateway appliance. The local VTEP gateway can be configured as a single gateway or deployed with HA enablement using transparent active and backup components.
Define Remote Third-Party VTEP Gateway
Register the remote third-party VTEP gateway by specifying its remote endpoint IP addresses on the target cluster. Additional endpoint addresses can be added to the remote gateway definition without stopping the active subnet extension. Confirm against the Nutanix documentation for the version in use.
Create Subnets and Assign VxLAN Network Identifiers
Create a subnet for the extension on both the source environment and the Nutanix cluster. Assign a unique VxLAN Network Identifier (VNI) to each extended subnet hosted within the same network gateway appliance. Configure policy-based routing (PBR) forward together with Layer 2 stretch based on gateway placement to avoid asymmetric routing.
Migrate Workloads Across Extended Subnets
Migrate virtual machines across the extended segment in scheduled phases while retaining source IP and MAC addresses. Ensure that VMs communicating across the extended boundary route traffic through the designated default gateway. Confirm against the Nutanix documentation for the version in use.
Decommission Subnet Extension
Once all virtual machines belonging to the subnet are migrated, remove the extended subnet mappings. Delete the subnet extensions and remove the local and remote VTEP gateway appliances when no longer required. Confirm against the Nutanix documentation for the version in use.
Verification & Validation Check
Official Vendor Documentation References
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