Pcornel
Virtualization · Hyper-V › Virtual Switch

Internal

Cheat sheet · https://pcornel.dk/topic.php?topic=3703

Back to the Topic

Answer

Internal switches are useful for host/VM management, labs and routed/NAT designs where the management OS or another VM provides higher-layer forwarding. External reachability is not inherent.

Remember

  • Internal switch includes management OS connectivity.
  • Internal switch ≠ NAT by itself.
  • External connectivity requires an additional router/NAT path.
  • VM-to-host success ≠ Internet or upstream access.

First checks

  • New-VMSwitch -Name Int -SwitchType Internal — create
  • Get-NetAdapter 'vEthernet (Int)' — host interface
  • New-NetNat -Name Lab -InternalIPInterfaceAddressPrefix 192.168.50.0/24 — optional NAT

Verify in this order

VM ↔ internal switch ↔ host vEthernet (→ NAT)

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

Hyper-V → Virtual Switch → Internal reference map

BoundaryMeaningEvidence limit
VM peersVM↔VM on switchSame-switch only
HostManagement OS has vNICHost reachability possible
ExternalNo physical uplink by definitionNeeds routing/NAT elsewhere
ProofVM↔host testNot external path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3703

Confirmation

Confirm action

Continue?