Virtualization · Virtual Networking
Host-only Network
Cheat sheet · https://pcornel.dk/topic.php?topic=3537
Answer
A Host-only Network connects VMs to each other and to a host-side virtual interface while normally omitting a direct physical uplink to the external network.
Remember
- Host-only differs from fully isolated because the host has an interface on the virtual segment.
- The host can route or NAT traffic onward if forwarding/sharing is enabled, so “host-only” topology does not guarantee no external IP path.
- Guest reachability to the host is separate from host firewall/service availability.
- DHCP/DNS services may be provided by the host or platform but are separate dependencies.
First checks
Get-VMSwitch | ? SwitchType -eq Internal— Hyper-V internal switchVBoxManage list hostonlyifs— VirtualBox host-onlyip addr show virbr1— host interface on the network
Verify in this order
VMs ↔ host-only switch ↔ host
Where it usually breaks
First mismatch in guest NIC → virtual switch/bridge → VLAN/port group/security policy → physical uplink → routed path → peer/workload; preserve identity/native error/pre-state before mutation.
Virtual Networking → Host-only Network reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| VM ↔ VM | Local virtual segment | Expected |
| VM ↔ Host | Host virtual interface | Expected |
| Direct pNIC uplink | Normally absent | Topology boundary |
| Host routing/NAT | Possible separately | Can create external path |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3537