Layer 2 Subnet Extension Between Nutanix Clusters: VPN or VTEP
Observed Symptoms & Trigger Conditions
- Connecting broadcast domains between two Nutanix availability zones.
- Selecting between VPN and VTEP encapsulation methods for Layer 2 subnet extension.
- Evaluating performance overhead and encryption requirements across inter-site underlays.
Impact Scope
Applies to Layer 2 subnet extensions connecting pairs of Nutanix availability zones managed by Prism Central. Extension over VPN does not support third-party VPN solutions and requires version 5.0 or higher. VTEP gateway services must be set up on local and remote availability zones as either standalone gateways or HA-enabled active and backup pairs.
Technical Root Cause
Between two Nutanix availability zones, Layer 2 subnet extension can be established over VPN or VTEP. Extension over VPN is point-to-point and secure, supporting only the Nutanix VPN solution at both ends and requiring VPN gateway version 5.0 or higher. VTEP-based extension is unencrypted and point-to-multipoint; when connectivity between sites already provides encryption, VTEP is the preferred method because it reduces networking overhead.
Step-by-Step Resolution Procedure
Assess Inter-Site Underlay Security
Evaluate whether the existing Layer 3 underlay between availability zones already provides transport encryption, such as pre-existing private circuits or WAN encryption. If underlay encryption is already in place, select VTEP-based extension to eliminate redundant encapsulation overhead. If underlay transit is unencrypted and security is required, select extension over VPN.
Deploy Gateway Services for Selected Method
On the local Prism Central, navigate to Networking & Security > Connectivity > Subnet Extension. If using VPN, deploy the Nutanix VPN gateway at version 5.0 or higher at both endpoints. If using VTEP, configure local and remote VTEP network gateways, selecting HA enablement if active/backup resilience is required.
Configure Subnet Extensions on Prism Central
Define subnets for extension on both clusters through Prism Central. Assign unique VxLAN Network Identifiers (VNIs) for VTEP extensions if multiple subnets share a network gateway appliance. Confirm against the Nutanix documentation for the version in use.
Configure Default Gateway Routing Policies
Designate default gateway placement on the appropriate availability zone cluster. Configure policy-based routing (PBR) forward alongside Layer 2 extension to prevent asymmetric routing across the extended segment. 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