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.

    network adapters

  2. Click Add Network Adapter.
  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 particular type of CPU that supports IBM i, AIX, and Linux in Skytap Cloud. VMs use the default network adapter.

    For x86 The most common type of CPU for Windows and Linux VMs in Skytap Cloud. 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. To connect the network adapter to a network in the environment:
    1. Click connect (Connect to Network). unconnected
    2. In the Connect network window, click Connect to Network for the network you want to select. 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.

    network adapters

  2. Click Disconnect from Network to disconnect the network adapter.
  3. To connect the network adapter to a different network in the environment:
    1. Click connect (Connect to Network). unconnected
    2. In the Connect network window, click Connect to Network for the network you want to select. 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.

    network adapters

  2. Click disconnect (Disconnect from Network).

Deleting a network adapter

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

    Environment Details page

  2. Shut the VM down.
  3. Click environment settings (Settings). vm settings
  4. The VM Settings page displays. The Network Adapters tab is selected by default. network adapters
  5. Click remove (Remove Network Adapter).