Private
Cheat sheet · https://pcornel.dk/topic.php?topic=3704
Answer
A private virtual switch connects VMs on the same host only to each other, with no access to the host or the physical network. It is useful for isolated lab or cluster networks, but VMs with other network adapters can still bridge traffic elsewhere.
Remember
- Private switch excludes management-OS connectivity.
- No direct physical uplink exists.
- Private switch isolation applies to that adapter/path, not the entire VM.
- VM-to-VM failure still requires guest addressing/firewall checks.
First checks
New-VMSwitch -Name Priv -SwitchType Private— createGet-VMSwitch -SwitchType Private— listGet-VMNetworkAdapter -All | ? SwitchName -eq Priv— VMs connected
Verify in this order
VM ↔ private switch ↔ VM
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 → Private reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| VM↔VM | Allowed on same private switch | Guest policy still applies |
| VM↔host | No switch path | By design |
| VM↔physical | No uplink | By design |
| Isolation claim | Adapter-level topology | Other adapters must be checked |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3704