NDC & PKI

[Day 2] 4. Network Adapters in VMWare

D
DITISS Admin
••4 min read

VMware provides several types of virtual network adapters, each with distinct behaviors for connecting virtual machines (VMs) to each other, the host system, and external networks.


NAT (Network Address Translation)

  • Behavior:

    • VMs can communicate with each other.
    • VMs can access the internet via the host's network connection.
    • VMs can ping the base machine (host).
    • The base machine can ping the VMs.
    • VMs can access an external server (e.g.,
      192.168.0.52
      ).
    • Server (or external machine) cannot ping the VMs, as NAT hides VM IPs behind the host's IP.
  • How NAT Works:

    • VMware creates a private network for the VMs.
    • The host acts as a gateway, translating the VM's private IP addresses to the host's public IP for external communication.
    • This is similar to how home routers use NAT for devices in a private network.

Host-Only

  • Behavior:

    • VMs can communicate with each other.
    • VMs can ping the base machine (host).
    • The base machine can ping the VMs.
    • VMs cannot access the internet.
    • VMs cannot access external servers (e.g.,
      192.168.0.52
      ).
  • How Host-Only Works:

    • Creates an isolated network between the VMs and the host.
    • No external network (internet) connectivity.
    • Useful for testing in a controlled environment or for secure communication between VMs and the host.

Bridge

  • Behavior:

    • VMs can communicate with each other.
    • VMs can ping the base machine (host).
    • The base machine can ping the VMs.
    • VMs can access the internet.
    • VMs can access external servers (e.g.,
      192.168.0.52
      ).
  • How Bridge Works:

    • VMs connect directly to the host's physical network adapter.
    • Each VM gets its own IP address in the host's network (like a physical machine on the same LAN).
    • VMs appear as separate devices on the network, enabling full communication with other devices, including servers.

Custom

  • Behavior:

    • You can create additional host-only or custom NAT networks as needed.
    • Behavior depends on how the custom network is configured (e.g., with DHCP, NAT, or without internet access).
    • Often used in scenarios requiring multiple isolated networks.
  • Use Case:

    • Creating multiple isolated networks or customized configurations for testing and development purposes.

Extra Note

  1. NAT: The server (
    192.168.0.52
    ) cannot ping the VMs because NAT hides their private IPs. This behavior aligns with the concept of NAT.
  2. Host-Only: As noted, the lack of internet access is by design since no routing or NAT is set up.
  3. Bridge: The description is accurate as long as the physical network allows such communication and the VMs get valid IPs in the same subnet.
  4. Custom:Behavior depends entirely on the network configuration.

Read Next

8/26/2026

[Day 2] 5. SYSLOG Server

#### **What is a SYSLOG Server?** A SYSLOG server is a centralized system that collects, stores, and manages log messages from various devices, ser...

8/26/2026

[Day 2] 6. Setting up a new Debian Machine

These instructions are for the VM that Manu Sir gave us. ### Steps to Configure a Virtual Machine (VM) 1. **Users and Passwords** - T...