VMware Network Adapters Explained: Bridged, NAT, Host-Only and Custom
VMware Workstation gives each virtual machine a virtual network adapter that you connect to one of four network types. Bridged (VMnet0) puts the VM directly on your physical network with its own address. NAT (VMnet8) hides the VM behind the host's address, so it can reach the internet but outside devices cannot reach it. Host-only (VMnet1) creates a private network between the host and its VMs with no outside access.
Topic: Virtualization & Private Cloud in IT Infrastructure · Explainer
Also covers: Networking
Quick answer: VMware Workstation gives each virtual machine a virtual network adapter that you connect to one of four network types. Bridged (VMnet0) puts the VM directly on your physical network with its own address. NAT (VMnet8) hides the VM behind the host's address, so it can reach the internet but outside devices cannot reach it. Host-only (VMnet1) creates a private network between the host and its VMs with no outside access. Custom networks (other VMnets or LAN segments) let you build isolated lab topologies. For security practice, keep vulnerable machines on host-only or custom networks. Workstation Pro has been free for all users since November 2024.
Key takeaways
- Bridged is visible on your real network; use it with care.
- NAT is the safe default for internet access.
- Host-only and custom networks isolate lab traffic.
- The Virtual Network Editor controls subnets and DHCP.
- Never bridge intentionally vulnerable VMs onto office networks.
Table of Contents
- What Are the Four VMware Network Modes?
- When Should You Use Bridged Networking?
- How Does NAT Mode Work?
- What Is Host-Only Networking Good For?
- How Do Custom Networks and LAN Segments Help?
- How Should You Lay Out a Security Practice Lab?
- How Do You Fix Common Network Problems?
- References
What Are the Four VMware Network Modes?
| Mode | Default VMnet | VM reaches internet | Network reaches VM | Typical use |
|---|---|---|---|---|
| Bridged | VMnet0 | Yes | Yes | Servers other devices must reach |
| NAT | VMnet8 | Yes | No, unless port forwarded | Everyday VMs, updates |
| Host-only | VMnet1 | No | Host only | Private labs |
| Custom / LAN segment | VMnet2 and up, or segments | Depends on design | Depends on design | Multi-tier lab topologies |
Broadcom's licensing article confirms Workstation Pro and Fusion Pro are free for commercial, educational and personal use from version 17.5.2 onwards.
When Should You Use Bridged Networking?
Bridged mode connects the VM to the same network as the host, so your router's DHCP server (RFC 2131) gives it an address. Use it when another physical device must reach the VM, such as a test web server for a phone. Avoid it on office or public Wi-Fi, where the VM is exposed to everyone and some networks block extra MAC addresses.
How Does NAT Mode Work?
The VMware NAT service translates the VM's private address (RFC 1918 range) to the host's address, as in traditional NAT. The VM can browse and update, but unsolicited inbound traffic does not reach it. You can add port forwarding in the Virtual Network Editor if needed.
What Is Host-Only Networking Good For?
Host-only builds a closed network between the host and VMs, with VMware's DHCP handing out addresses. It suits practice labs, malware analysis sandboxes and anything that must not touch the internet. Our guide to a secure virtual workspace with Parrot OS uses the same idea.
How Do Custom Networks and LAN Segments Help?
Open Edit, then Virtual Network Editor (as administrator on Windows) to add VMnets, change subnets or turn DHCP off. LAN segments are simpler: VMs on the same segment can talk, with no host adapter and no DHCP. A VM with two adapters can act as a router or firewall between segments, which mirrors real DMZ designs. NIST SP 800-125 discusses separating virtual networks to reduce risk.
How Should You Lay Out a Security Practice Lab?
| Machine | Adapter 1 | Adapter 2 |
|---|---|---|
| Kali attacker VM | Host-only lab network | NAT, connected only for updates |
| Vulnerable practice VMs | Host-only lab network | None |
| Firewall or router VM | Lab network | Second custom VMnet |
The Kali VMware guide covers the guest install. Take snapshots before each exercise. Testing anything outside your own lab needs written permission, as described in NIST SP 800-115 and required by India's IT Act 2000.
How Do You Fix Common Network Problems?
- No IP in NAT or host-only: check the VMware DHCP and NAT services are running on the host.
- Bridged VM gets no address: in the Virtual Network Editor, bridge VMnet0 to the correct physical adapter instead of Automatic.
- VMs cannot see each other: confirm they share the same VMnet or LAN segment.
- Linux guest shows no link: run
ip aandsudo dhclient -v eth0, or restart NetworkManager. - Settings corrupted: use Restore Defaults in the editor, noting it resets custom subnets.
Running enterprise workloads instead? See installing RHEL AI on VMware. WebAsha builds these labs in its virtualisation and ethical hacking training.
References
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0