Safe Distributed Switch Creation for Intel NUCs
Current Network Status
Each Intel NUC has:
- vmnic0: Built-in Intel NIC (currently used for management)
- vusb0: USB NIC adapter (available for use)
- vmk0: Management VMkernel adapter on Management Network port group
The Error Explained
The error “Host will become inaccessible over the network” occurs because vCenter detects that:
- You’re trying to move all physical NICs to the distributed switch
- The management VMkernel adapter (vmk0) would lose connectivity
- No physical adapter would remain on a standard switch for fallback
Safe Approach: Dual-NIC Strategy
Step 1: Verify Current Configuration
First, check the current setup on one host:
ssh root@esxi-nuc-01.markalston.net
esxcli network nic list
esxcfg-vswitch -l
You should see:
- vmnic0 connected to vSwitch0 with Management Network
- vusb0 not assigned to any switch
- vmk0 on Management Network port group
Step 2: Create Distributed Switch (Safe Method)
-
In vCenter: Go to Networking → Right-click Homelab-DC → New Distributed Switch
-
Name:
Homelab-DVS -
Version: 7.0.0 (compatible with ESXi 7.0.3 and 8.0.3)
-
Number of uplinks: 2 per host
-
Port groups to create:
Management-PG(VLAN 10)vMotion-PG(VLAN 20)Storage-PG(VLAN 30)VM-Network-PG(VLAN 100)
Step 3: Add Hosts to DVS (Critical Steps)
-
Right-click on Homelab-DVS → Add and Manage Hosts
-
Select: Add hosts
-
Select hosts: Choose all three Intel NUCs
- Manage physical adapters:
- IMPORTANT: Only assign vusb0 to the DVS initially
- Leave vmnic0 on standard switch for now
- Assign vusb0 to Uplink 1
- Manage VMkernel adapters:
- Do NOT migrate vmk0 yet
- Create NEW VMkernel adapters on DVS:
- vmk1 for vMotion on vMotion-PG
- vmk2 for Storage on Storage-PG (if needed)
- Migrate VM networking:
- Move VMs to appropriate DVS port groups
Step 4: Test DVS Connectivity
Before moving management network:
- Create temporary management interface on DVS:
ssh root@esxi-nuc-01.markalston.net
esxcli network ip interface add -i vmk3 -p Management-PG
esxcli network ip interface ipv4 set -i vmk3 -I 192.168.10.108 -N 255.255.255.0 -t static
- Test connectivity:
ping 192.168.10.108 # From your management station
- If successful, proceed to next step
Step 5: Migrate Management Network (Optional)
Only if you want management on DVS:
-
In vCenter: Select Homelab-DVS → Actions → Add and Manage Hosts
-
Select: Manage host networking
-
Select hosts: Intel NUCs
- Manage physical adapters:
- Now add vmnic0 to DVS (Uplink 2)
- Manage VMkernel adapters:
- Migrate vmk0 to Management-PG on DVS
- Remove temporary vmk3
Alternative: Keep Management on Standard Switch
For maximum safety, consider keeping management on standard switch:
Configuration
- Standard vSwitch0: vmnic0 + Management Network (vmk0)
- Distributed Switch: vusb0 + all other traffic
Benefits
- Management always accessible via standard switch
- DVS issues don’t affect management
- Easier troubleshooting
Network Layout
┌─────────────────────┐
│ Standard vSwitch0 │
│ vmnic0 │
│ - Management │
│ - vmk0 │
└─────────────────────┘
┌─────────────────────┐
│ Homelab-DVS │
│ vusb0 │
│ - vMotion │
│ - Storage │
│ - VM Networks │
└─────────────────────┘
Creating DVS with vCenter GUI
Method 1: Create Empty DVS First
- Create DVS with no hosts initially
- Create port groups first
- Add hosts one by one with careful NIC assignment
Method 2: Use DVS Migration Wizard
- Right-click host → Configure → Virtual Switches
- Click “Migrate Networking”
- Select destination as distributed switch
- Choose specific NICs to migrate
Troubleshooting the Error
If you get the error during setup:
Check These Items
- At least one NIC remains on standard switch
- Management VMkernel has connectivity path
- Physical adapter backing the management network
Safe Recovery
- Cancel the DVS wizard
- Check current vSwitch configuration
- Ensure vmnic0 stays on vSwitch0
- Only move vusb0 to DVS initially
Final Recommended Configuration
Standard vSwitch0
- Physical Adapter: vmnic0
- Port Groups: Management Network
- VMkernel: vmk0 (Management)
Distributed Switch (Homelab-DVS)
- Physical Adapter: vusb0
- Port Groups: vMotion-PG, Storage-PG, VM-Network-PG
- VMkernel: vmk1 (vMotion), vmk2 (Storage)
This provides:
- ✅ Safe management network on standard switch
- ✅ Advanced features on distributed switch
- ✅ Network separation and performance
- ✅ Easy troubleshooting and recovery