To migrate virtual machines from an NSX environment to a non-NSX environment, follow these steps:
- Configure Target Networking: Create Distributed Virtual Port Groups (DVPGs) on the target Distributed Switch. Ensure VLAN IDs, MTU settings, and security policies match the source NSX segments.
- Verify Connectivity: Confirm that the physical network is correctly trunked to the ESXi hosts for the new VLANs.
- Change VM Network Assignment:
- Edit the VM settings in vCenter.
- Reassign the Network Adapter from the NSX Segment to the newly created DVPG.
- Test Connectivity: Perform a ping test from the VM to its default gateway to ensure no loss of communication.
- Decommission NSX Components: Once all VMs are successfully migrated, delete the unused NSX segments and proceed with host unpreparation.