Use this topic when VM connectivity depends on switch type, host adapter binding, management OS sharing, VLAN configuration or switch policy.
Virtual Switches
An external switch can bridge VM traffic to a physical adapter, an internal switch connects VMs with the management OS, and a private switch limits connectivity to VMs on the same host.
1. Get-VMSwitch | Select Name,SwitchType,NetAdapterInterfaceDescription.
2. Management OS shares NIC? (AllowManagementOS).
3. SET team: Get-VMSwitchTeam.
4. Extensions.
5. VLAN trunk on the physical port.
virtual switch → uplink → physical network
Verify physical uplink and external/return path with packet/counter evidence.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show upstream VLAN/routing or remote application health.
Next check: Verify physical uplink and external/return path with packet/counter evidence.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
VM vNIC → virtual switch type/policy → optional management vNIC → physical adapter/uplink → external network
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Switch type defines reachability scope, not guest IP configuration.
- External switch binding to the wrong physical NIC can look like a guest problem.
- Allowing the management OS to share an external adapter creates a host virtual NIC path that must be considered separately.
- A virtual switch existing does not prove traffic is forwarded on the intended VLAN/path.
Get-VM— VMs and stateGet-VMHost— host settingsGet-VMSwitch— virtual switchesGet-VMNetworkAdapter -VMName <vm>— vNICs, switch, VLANGet-VMHardDiskDrive -VMName <vm>— attached disksGet-WinEvent -LogName Microsoft-Windows-Hyper-V-VMMS-Admin -MaxEvents 30— VMMS events
ReferenceImportant terms & boundaries2 sections · depth on demand
What the evidence shows
Virtual switch existence and adapter attachment show configuration, not successful frame forwarding or upstream connectivity.
Use Networking for generic switch/VLAN theory and this topic for Hyper-V virtual-switch implementation.
In depth
Creating Hyper-V virtual switches:
New-VMSwitch -Name vSwitch-Prod -NetAdapterName NIC1,NIC2 -EnableEmbeddedTeaming $true -AllowManagementOS $false -MinimumBandwidthMode Weight
Add-VMNetworkAdapter -ManagementOS -SwitchName vSwitch-Prod -Name Mgmt
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName Mgmt -Access -VlanId 10
Set-VMNetworkAdapter -ManagementOS -Name Mgmt -MinimumBandwidthWeight 10
New-VMSwitch -Name Lab -SwitchType Internal
Switch names must be identical on all hosts for live migration. Bandwidth mode (weight/absolute) is set at creation.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hyper-V → Virtual Switches. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Hyper-V → Virtual Switches reference map
Fast lookup boundaries for Hyper-V → Virtual Switches.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| External | Can use physical NIC for external network path | Does not prove upstream switching/routing |
| Internal | VMs plus management OS can communicate | Does not provide external path by itself |
| Private | VM-to-VM on same host scope | Management OS/external access not implied |
| Attachment | vNIC connected to switch | Does not prove packets traverse correctly |