Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Virtual Switches

Direct answer

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.

When to use this

Use this topic when VM connectivity depends on switch type, host adapter binding, management OS sharing, VLAN configuration or switch policy.

First 30 seconds

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.

Operational verification

virtual switch → uplink → physical network

Evidence · next step

Verify physical uplink and external/return path with packet/counter evidence.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show upstream VLAN/routing or remote application health.

Next check: Verify physical uplink and external/return path with packet/counter evidence.

Platform / version applicability
Windows Server virtualization and clustering
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows Server virtualization and clustering
Scope / prerequisiteUse this topic when VM connectivity depends on switch type, host adapter binding, management OS sharing, VLAN configura…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • Get-VM — VMs and state
  • Get-VMHost — host settings
  • Get-VMSwitch — virtual switches
  • Get-VMNetworkAdapter -VMName <vm> — vNICs, switch, VLAN
  • Get-VMHardDiskDrive -VMName <vm> — attached disks
  • Get-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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows Server virtualization and clustering current

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%
Terminology layer

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.

Aliases that resolve here
hyper-v virtual switchexternal switch hyper-vinternal switch hyper-vprivate switch hyper-v
Embedded reference data

Quick lookup tables

Hyper-V → Virtual Switches reference map

Fast lookup boundaries for Hyper-V → Virtual Switches.

BoundaryMeaningEvidence limit
ExternalCan use physical NIC for external network pathDoes not prove upstream switching/routing
InternalVMs plus management OS can communicateDoes not provide external path by itself
PrivateVM-to-VM on same host scopeManagement OS/external access not implied
AttachmentvNIC connected to switchDoes not prove packets traverse correctly
Confirmation

Confirm action

Continue?