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.


Locate the virtual machine to be connected.


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


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


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


Click the virtual machine name.


Click the Networks tab.


Click Add a Network.


Select a network from the list of networks.


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


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.


Click Save.