Use this topic for the Hyper-V-specific path from VM vNIC through vSwitch to host uplink, while generic Ethernet/VLAN/routing theory remains in Networking.
Hyper-V Networking
VM packets traverse a virtual NIC, a Hyper-V virtual switch and possibly a host physical adapter or internal/private path before reaching external networks; VLAN and policy settings can alter behavior at multiple layers.
1. Get-VMNetworkAdapter -VMName <vm> — switch, VLAN, MAC.
2. Switch type external/internal/private.
3. VLAN: Get-VMNetworkAdapterVlan.
4. Physical NIC/team behind external switch.
5. Guest IP and gateway.
vNIC → virtual switch → physical NIC/team → network
Continue from vSwitch to physical network, then verify guest routing and return path.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Connected vNIC or active vSwitch does not show upstream VLAN, route, DNS or application health.
Next check: Continue from vSwitch to physical network, then verify guest routing and return path.
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
Guest stack → VM vNIC → Hyper-V vSwitch → host vNIC/physical NIC → physical network → destination → return path
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.
- VM vNIC Connected ≠ external network reachable.
- A vSwitch can be healthy while the wrong physical adapter, VLAN or upstream network is used.
- External, internal and private switches expose different connectivity scopes.
- Guest IP configuration remains a guest/Windows networking boundary, not a vSwitch property.
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
Hyper-V network configuration shows virtual attachment and policy, not upstream VLAN availability, routing, DNS or application reachability.
and state what the evidence does not show.
In depth
Hyper-V networking building blocks: virtual switches (External, Internal, Private), host vNICs on the switch (management, live migration, storage), VM network adapters with VLAN, bandwidth and security settings, and features like VMQ/vRSS, SR-IOV and RDMA.
Get-VMSwitch | ft Name,SwitchType,NetAdapterInterfaceDescription,EmbeddedTeamingEnabled,BandwidthReservationMode
Get-VMNetworkAdapter -ManagementOS | ft Name,SwitchName,MacAddress
Get-VMNetworkAdapter -All | Get-VMNetworkAdapterVlan
Set-VMNetworkAdapter -VMName app01 -DhcpGuard On -RouterGuard On
DHCP Guard and Router Guard stop VMs from acting as rogue DHCP servers or routers.
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 → Hyper-V Networking. 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 → Hyper-V Networking reference map
Fast lookup boundaries for Hyper-V → Hyper-V Networking.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| VM vNIC | Virtual adapter is attached/configured | Does not prove guest IP stack works |
| vSwitch | Correct virtual switch and type selected | Does not prove external uplink works |
| Physical uplink | Host NIC/link/VLAN path available | Does not prove remote service/return path |
| Guest flow | Guest can complete intended flow | Strong end-to-end network evidence |