To establish a
network connection between the virtual machines in a vApp and an organization
network, you need to create a direct vApp network.
Prerequisites
Verify that you are connected
to a
VMware Cloud
Director
server.
Procedure
-
Retrieve the vApp for
which you want to create a vApp network.
$myVApp = Get-CIVApp -Name 'MyVApp'
-
Retrieve the
organization vDC network that you want to connect to.
$myOrgVdcNetwork = Get-OrgVdcNetwork -Name 'MyOrgVdcNetwork'
-
Create a direct vApp
network that connects to the selected organization vDC network.
New-CIVAppNetwork -VApp $myVapp -Direct -ParentOrgVdcNetwork $myOrgVdcNetwork
By default, the new
vApp network has an enabled firewall.