Use it for management/lab networks where the host must communicate with guests but external L2 connectivity should not exist by default.
Host-only Network
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.
1. Host-only networks connect VMs and the host, not the outside.
2. Host has an IP on it.
3. Use for management in labs.
4. Add NAT for internet if needed.
5. Check host firewall.
VMs ↔ host-only switch ↔ host
Inspect host forwarding/NAT and firewall policy if isolation matters.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show host firewall/service health or absence of all possible host-mediated forwarding unless those are tested.
Next check: Inspect host forwarding/NAT and firewall policy if isolation matters.
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
VM vNIC → host-only virtual switch/network → host virtual interface and peer VMs → optional host route/NAT if configured
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.
- 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.
Get-VMSwitch | ? SwitchType -eq Internal— Hyper-V internal switchVBoxManage list hostonlyifs— VirtualBox host-onlyip addr show virbr1— host interface on the network
ReferenceWhat it is1 section · depth on demand
Host-only networks
VMs can reach each other and the host, not the outside network. Hyper-V uses an Internal switch; VMware Workstation/VirtualBox have host-only adapters; libvirt can create a network without forwarding but with a host IP. Useful for management access to lab VMs without exposing them; add NAT if internet access is needed.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
VM-to-host connectivity shows the local host-only segment works, but it does not show external isolation or host services beyond the tested endpoint.
Platform-specific host-only implementations belong to platform branches.
In depth
A host-only network connects VMs and the host but nothing else: Hyper-V Internal switch, VirtualBox/VMware Workstation host-only adapters, a Linux bridge with a host IP and no physical port.
Typical use: management of lab VMs from the host, shared services between host and guests. Do not route host-only networks to production unintentionally — enabling IP forwarding on the host turns it into a router.
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 Virtual Networking → Host-only Network. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/formatnetwork.html · 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
Virtual Networking → Host-only Network reference map
Fast virtual-network boundaries for Virtual Networking → Host-only Network.
| 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 |