You can connect virtual machines to internal networks or gateway networks in your virtual data center. To get connectivity to the Internet and to use networking services such as NAT, firewall, or load balancing, connect virtual machines to a gateway network.

When you connect a virtual machine to a network, it is assigned an IP address from the network's predefined private IP address pool.

Verify that you have end user or virtual infrastructure administrator privileges.

1

Locate the virtual machine to be connected.

a

If you are a virtual infrastructure administrator, click the virtual data center that contains the virtual machine and the Virtual Machines tab.

b

If you are an end user, in My Virtual Machines, select the virtual machine.

2

If the virtual machine is powered on, select it and click Power Off.

3

Click the virtual machine name.

4

Click the Networks tab.

5

Click Add a Network.

6

Select a network from the list of networks.

Note

You can select more than one network to which to connect the virtual machine.

7

When selecting more than one network for the virtual machine, specify the virtual machines primary network by click the Primary NIC option for that network. By default, the primary network is set to the first network you selected for the virtual machine.

8

Click Save.