Attaching VMs to networks

VMs use network adapters to connect to networks in the environment. Each network adapter is associated with a variety of VM network settings, including the VM MAC address, IP address, hostname, and port openings.

By default, each VM is given a single network adapter connected to an automatic network; this acts like a Network Interface Card (NIC) for the VM.

Each network adapter can be attached to only one network. If you need to connect the VM to multiple networks, you can add network adapters to the VM.

Notes

Contents

Adding a network adapter to a VM and connecting it to a network

To attach a VM to multiple networks, add a network adapter for each network you want to connect to.

To add network adapter to a VM
  1. Navigate to the VM Settings > Network Adapters page for the VM you want to edit.

  2. Click Add network adapter. The Add adapter dialog displays.
  3. Select a network adapter from the dropdown menu or choose Default to automatically select a network adapter known to work with the VM guest OS.

    Notes

    • All Power A CPU architecture that supports IBM i, AIX, and Linux (on Power) in Skytap. VMs use the default network adapter.
    • For x86 The most common CPU architecture. x86 CPUs support Windows and Linux VMs in Skytap. VMs, Skytap supports the following VMware network adapter types:
      • pcnet32
      • e1000
      • e1000e
      • VMXNET
      • VMXNET3

    For details on each of these network adapter types, see this VMware KB article.

  4. Click the Add adapter button. The adapter is added in a Disconnected state. edit disconnected adapter

  5. Click Connect.

    unconnected

    The Connect to network dialog displays.

  6. In the Connect to network dialog, select the network you want to connect to, and then click Connect.

    connect

Editing a network adapter

Network adapters control VM network settings and select VM access methods:

Changing which network a network adapter is connected to

The network adapter can be connected to any network in the environment.

To disconnect from the current network and connect to a different network
  1. Navigate to the VM Settings > Network Adapters page for the VM you want to edit.

  2. Click Disconnect to disconnect the network adapter.

    disconnect

    The network adapter is disconnected.

  3. Click Connect.

    unconnected

    The Connect to network dialog displays.

  4. In the Connect to network dialog, select the network you want to connect to, and then click Connect.

    connect

Disconnecting a VM from a network

The main use case for disconnecting a network adapter is to connect the VM to a different network in your environment. However, there may also be cases in which you want to leave a VM disconnected to isolate it from the network (for instance, if you suspect it has become infected and is spamming the network).

To disconnect a network adapter
  1. Navigate to the VM Settings > Network Adapters page for the VM you want to edit.

  2. Click Disconnect to disconnect the network adapter.

    disconnect

Deleting a network adapter

To delete a network adapter
  1. Navigate to the Environment page.

    Environment Details page

  2. Shut down the VM.
  3. Navigate to the VM Settings > Network Adapters page for the VM you want to edit.

    network adapters

  4. Click Delete for the network adapter you want to delete.