VMware ESXi and vSphere Cluster Management
VMware Player Networking Configurations: Bridged, NAT, and Host-Only Networks
Learn how VMware Player bridged, NAT, and host-only networking work, including VMnet0, VMnet1, VMnet8, IP addressing, adapter setup, use cases, and troubleshooting.
VMware Player gives a virtual machine (VM) a software-based network connection through a virtual network adapter. The adapter can connect to one of three standard networking configurations: bridged, NAT, or host-only.
The correct mode depends on whether the VM must appear on the physical LAN, access the Internet, communicate with the host, accept inbound connections, or remain isolated. A VM can also use multiple virtual adapters when its virtual hardware supports them, allowing different adapters to serve different purposes.
How VMware Player Networking Works
The host is the physical computer running VMware Player. The guest is the operating system inside the VM. A physical network adapter is the host's Ethernet or wireless interface. A virtual network adapter is software-emulated hardware assigned to the guest. VMware connects that guest adapter to a virtual network, which then determines how traffic reaches the host, other VMs, and the external network.
The external network is the physical LAN, wireless network, or upstream network outside the host's private virtual networks. Each networking mode creates a different relationship among these components:
- Bridged: the VM participates directly on the same external network as the host through a physical adapter.
- NAT: the VM uses a private network and reaches external destinations through address translation performed by the host.
- Host-only: the VM communicates with the host and other VMs on the same host-only network, but has no external access by default.
Important decision factors include physical LAN access, outbound Internet access, host-to-VM communication, isolation, IP address source, VM visibility to other devices, and inbound reachability.
Comparison of VMware Player Networking Modes
| Mode | Default Virtual Network | External LAN Access | Internet Access | Host-to-VM Communication | VM Visibility on Physical LAN | IP Address Source | Typical Use |
|---|---|---|---|---|---|---|---|
| Bridged | VMnet0 | Direct participation in the LAN | Usually available through the LAN | Usually available | Visible as a separate device | Physical network DHCP or static LAN configuration | LAN servers, lab devices, and directly reachable VMs |
| NAT | VMnet8 | Indirect, through the host | Usually available for outbound traffic | Available through the virtual NAT network | Not independently visible on the physical LAN | VMware virtual DHCP or suitable static configuration | Portable labs and safe default outbound access |
| Host-only | VMnet1 | None by default | None by default | Available through the host virtual adapter | Not visible | VMware virtual DHCP or suitable static configuration | Isolated labs and local client-server testing |
Bridged Networking
Bridged networking places the VM on the same network segment as the host by connecting it through one of the host's physical network adapters. VMware's default bridged virtual network is VMnet0.
In bridged mode, the VM behaves like a separate network participant. For example, if the host connects to an office LAN over Ethernet, the VM can obtain its own LAN address from the same DHCP service. A static address can also be used if it matches the physical network's addressing scheme and is approved for that network.
Because the VM has its own network identity on the LAN, other computers can generally initiate connections to services running in the VM. This makes bridged mode useful for:
- Servers that must be reached by other LAN computers.
- Lab devices that need to interact with physical network equipment.
- Testing applications from another computer on the same LAN.
- VMs that must receive a normal address from the organization's DHCP service.
Bridged networking also increases exposure. The VM is subject to the physical network's firewall rules, access controls, monitoring, registration requirements, and address availability. Enterprise networks may block unknown devices, require authentication, or restrict multiple devices behind one physical port. Wireless adapters and VPN software can also affect bridging behavior. If the host has several physical adapters, the bridge must use the intended Ethernet or Wi-Fi adapter.
NAT Networking
Network Address Translation (NAT) lets private addresses communicate with an external network by translating traffic through another device's network identity. VMware's default NAT network is VMnet8. VMware Player supports one NAT network.
In NAT mode, VMware creates a private virtual network behind the host. VMware's virtual DHCP service normally assigns the guest a private IP address, subnet mask, default gateway, and possibly DNS information. When the guest sends traffic outside that private network, the VMware NAT service translates the traffic so it uses the host's externally visible network identity.
The VM can usually browse the Internet, download updates, and make outbound connections, but it does not have an independently visible address on the physical LAN. External devices generally cannot initiate connections to the VM because NAT does not automatically provide an inbound path. Inbound access requires available NAT forwarding support and suitable host and guest firewall rules.
NAT is appropriate for:
- A desktop Linux VM that needs package updates without appearing as a separate LAN device.
- Portable labs used on different networks.
- Development environments that need outbound Internet access but should not be directly reachable from the LAN.
- General-purpose VMs where inbound LAN connections are not required.
Host-Only Networking
Host-only networking creates a virtual network contained within the host computer. The default host-only network is VMnet1.
A host-only VM can communicate with the host through a host-visible virtual network adapter and can communicate with other VMs attached to the same host-only network. It is excluded from the physical LAN and Internet by default. Host-only networking does not inherently supply an external route.
Typical uses include:
- Isolated client-server practice.
- Malware-safe training environments that must not reach the external network by default.
- Testing a web server from a client VM on the same host.
- Management or administration links between the host and a VM.
- Private lab networks where predictable isolation is more important than Internet access.
VMware's virtual DHCP service can assign addresses to attached VMs. Static addresses are also possible, but every address must match the VMnet1 subnet and must not conflict with another device. The host's virtual adapter must also have an address in that subnet for host-to-guest communication.
Virtual Networking Components
VMware networking is easier to understand when the virtual networks, adapters, and services are distinguished from one another.
| Component | Used By | Role | Visible in Host Operating System | Notes |
|---|---|---|---|---|
| VMnet0 | Guest virtual adapters | Default bridged virtual network | Usually represented through VMware networking configuration rather than as a normal host IP interface | Connects through a selected host physical adapter |
| VMnet1 | Guest adapters and the host | Default host-only virtual network | Yes, through a host virtual adapter | Private communication between the host and attached VMs |
| VMnet8 | Guest adapters and VMware services | Default NAT virtual network | Yes, through VMware's virtual networking components | Provides private addressing and translated outbound traffic |
| Host physical adapter | Host and bridged networking | Ethernet or Wi-Fi connection to the external network | Yes | Bridged mode uses this path to place the VM on the physical LAN |
| Host virtual adapter | Host operating system | Lets the host communicate with private VMware networks | Yes | Important for host-only communication and useful for reaching NAT guests |
| Virtual DHCP service | Private VMware networks and guests | Assigns IP configuration to VMs | Runs as a VMware service on the host | It does not replace the physical LAN's DHCP service in bridged mode |
| NAT service | NAT guests and the host | Translates private VM traffic for external access | Runs as a VMware service on the host | It normally supports outbound traffic rather than unsolicited inbound traffic |
A host virtual adapter installed in the host operating system is different from a virtual network adapter installed in the guest. The first gives the host a path into a VMware private network. The second is virtual hardware presented to the guest operating system, which must detect and configure it like any other network interface.
Adding and Selecting a Virtual Network Adapter
Adding a virtual network adapter changes the VM's virtual hardware. Selecting bridged, NAT, or host-only changes how that adapter connects. These are separate actions.
- Power off the VM when changing its virtual hardware.
- Open the VM's hardware settings in VMware Player.
- Add a network adapter if the VM needs another virtual NIC.
- Select a connection type for each adapter: bridged, NAT, host-only, or disconnected when no network connection is wanted.
- Enable Connected and, when the adapter should be attached automatically, enable Connect at power on.
- Start the VM and verify that the guest operating system recognizes the adapter.
- Configure the guest for automatic DHCP or assign a static address appropriate for the selected virtual network.
For example, a server VM might use one NAT adapter for updates and one host-only adapter for a private test client. The guest then has two interfaces, each with a different address and routing purpose. Avoid assigning overlapping subnets or competing default gateways unless you understand the guest's routing behavior.
Adapter 1: NAT (VMnet8) - outbound updates
Adapter 2: Host-only (VMnet1) - private client/server traffic
Connection state: Connected
Power-on option: Connect at power onVMware Player Configuration Scope and Limitations
VMware Player is designed to select and use predefined standard virtual networks. It does not provide the complete custom virtual-network creation and editing capabilities found in products with advanced virtual network editors.
In Player, selecting an existing mode such as bridged, NAT, or host-only is different from designing a custom network with custom switches, subnets, DHCP scopes, or advanced routing. A VM created in VMware Workstation can retain and use custom networking definitions when run in VMware Player, provided the required network definitions and host configuration are available. Player's ability to use such a VM does not mean that Player can fully design or edit those custom networks.
Choosing the Correct Network Mode
| Requirement | Recommended Mode | Reason | Key Limitation |
|---|---|---|---|
| The VM must be reachable from computers on the physical LAN | Bridged | The VM receives its own address and participates directly on the LAN | Physical network controls may block or restrict the VM |
| The VM needs outbound Internet access but should not be a separate LAN device | NAT | Outbound traffic uses the host's external network identity | Inbound connections normally require forwarding |
| The VM needs to communicate with the host or local VMs only | Host-only | Traffic remains on a private host-contained network | No Internet or LAN access by default |
| The VM needs Internet updates and a private lab connection | NAT plus host-only adapters | Separate adapters provide external updates and isolated test traffic | Guest routing and firewall rules must be configured carefully |
A useful decision sequence is:
- Choose bridged if the VM must be a directly reachable device on the physical LAN.
- Choose NAT if the VM mainly needs outbound access and should remain behind the host.
- Choose host-only if the lab must be isolated from external networks.
- Use multiple adapters when one network cannot satisfy all requirements.
Practical Configuration Scenarios
LAN-reachable server
For a server that another office computer must reach, use bridged networking. Confirm that the physical network permits the additional device, then obtain a DHCP address or configure an approved static address. Test the service from another LAN computer, not only from inside the guest.
Linux VM needing updates
For a desktop Linux VM that needs package updates but should not be independently visible on the local network, use NAT. Verify that the guest receives a private address and default gateway from VMnet8. Host and guest firewalls should still be configured appropriately.
Isolated student lab
For a client and server that must communicate without accessing a campus or home network, attach both VMs to VMnet1 using host-only mode. Give them compatible addresses, either through VMware DHCP or a planned static scheme, and test communication between the guest systems and the host.
Updates plus private testing
Attach two adapters to a test server: one NAT adapter for outbound updates and one host-only adapter for a private test segment. Use the host-only address for client-server testing. Configure service bindings and firewall rules so private services do not accidentally listen on the external-facing interface.
Troubleshooting VMware Networking
Bridged VM cannot obtain an address or reach LAN devices
- Confirm that the adapter is set to bridged mode, connected, and configured to connect at power on.
- Verify that the host has working connectivity through the intended Ethernet or Wi-Fi adapter.
- Check whether the guest received a valid address, subnet mask, gateway, and DNS configuration.
- Check for enterprise registration, port-security, authentication, or other controls that block unknown devices.
- Temporarily consider whether a VPN or wireless environment is interfering with bridging.
NAT VM has a private address but cannot access the Internet
- Confirm NAT mode and VMnet8 selection.
- Verify that the guest has a private address, correct subnet mask, default gateway, and DNS settings.
- Test the host's Internet access independently.
- Test an IP address before testing a DNS name so routing and name resolution are distinguished.
- Check VMware virtual DHCP and NAT services, along with host firewall, VPN, and security software.
Host-only VM cannot communicate with the host
- Confirm that the VM uses host-only mode and VMnet1.
- Verify that the host-only virtual adapter is enabled on the host.
- Compare the host and guest addresses and subnet masks.
- Check host and guest firewall rules.
- Confirm that the guest NIC is enabled and connected.
External devices cannot connect to a NAT service
NAT hides the guest behind the host's network identity, so external devices do not normally have a direct route to the guest. Determine whether bridged networking is more suitable for direct LAN reachability. Otherwise, verify any available NAT forwarding configuration, host and guest firewall rules, and that the service is listening on the expected guest address and port.
Host-only VM can reach the host but not the Internet
This is normally expected. Host-only networking has no external route by default. Use bridged or NAT mode when external access is required, or add a second NAT adapter when the VM needs both Internet updates and a private host-only lab connection.
Exam-Relevant Notes
- VMnet0 is the default bridged network.
- VMnet1 is the default host-only network.
- VMnet8 is the default NAT network.
- Bridged mode gives the VM a separate identity on the physical network.
- NAT gives the VM a private address and translates outbound traffic through the host.
- Host-only mode connects the host and local VMs without external access by default.
- Adding a virtual NIC and selecting its connection mode are different configuration steps.
- A guest must recognize and configure each virtual NIC before networking works.
- Inbound access to a NAT guest generally needs a forwarding path; outbound access alone does not imply inbound reachability.
For a concise reference, return to Networking Configurations.