5.5

Table Of Contents
Add an Organization Virtual Datacenter Network to a vApp
You can add an organization virtual datacenter network to a vApp to make the network available to virtual
machines in the vApp.
Connections can be direct or fenced. Fencing allows identical virtual machines in different vApps to be
powered on without conflict by isolating the MAC and IP addresses of the virtual machines.
When fencing is enabled and the vApp is powered on, an isolated network is created from the organization
virtual datacenter's network pool. An edge gateway is created and attached to the isolated network and the
organization virtual datacenter network. Traffic going to and from the virtual machines pass through the
edge gateway, which translates the IP address using NAT and proxy-AR, which allows a router to pass
traffic between two networks using the same IP space.
Procedure
1 Click My Cloud.
2 In the left pane, click vApps, right-click, and select Open.
3 Click the Networking tab and select the Show networking details check box.
4 Click Add Network.
5 Select Organization VDC Network and click Next.
6 Select an organization virtual datacenter network and click Finish.
vCloud Director adds the organization virtual datacenter network and displays it in the network list.
7 (Optional) Select the Fence vApp check box.
The connection changes from direct to fenced for all organization virtual datacenter networks in the
vApp.
8 Click Apply.
What to do next
Connect a virtual machine in the vApp to the network.
Configuring Network Services for a vApp Network
You can configure network services, such as DHCP, firewalls, network address translation (NAT), and static
routing for certain vApp networks.
The network services available depend on the type of vApp network.
Table 72. Network Services Available by Network Type
vApp Network Type DHCP Firewall NAT Static Routing
Direct
Routed X X X X
Isolated X
Configure DHCP for an vApp Network
You can configure certain vApp networks to provide DHCP services to virtual machines in the vApp.
When you enable DHCP for a vApp network, connect a NIC on virtual machine in the vApp to that
network, and select DHCP as the IP mode for that NIC, vCloud Director assigns a DHCP IP address to the
virtual machine when you power it on.
Chapter 7 Working with vApps
VMware, Inc. 73