A virtual switch connects virtual machines to each other, to the host and to the outside network. Pick the right type for each job before you build any VMs.
What improves
VMs get the right kind of network connection from the start.
Why it matters
The wrong switch type leaves a VM with no internet, or exposes it to a network it should not be on.
How you do it
Choose between External, Internal and Private, then create the switches in PowerShell.
Every name, address and value in this guide is an example. Replace them with your own.
The three types
| Type | VMs can reach | Use it for |
|---|---|---|
| External | Each other, the host and the physical network | The firewall's internet side, or servers on the school network |
| Internal | Each other and the host | A network behind a virtual firewall that the host also needs to reach |
| Private | Each other only | An isolated test network |
What you will have at the end
| Switch | Type | For |
|---|---|---|
CON-WAN | External, or Internal with NAT | The firewall's internet side |
CON-LAN | Internal | The school network behind the firewall |
CON-TEST | Private | Isolated test machines |
The route
- Create the switches
- Give a Wi-Fi-only host a NAT switch
Only if the host has no wired card.
- Put VMs on VLANs
Tag a VM's card, or trunk a firewall's.


