You can add static routes between two vApp networks that are routed to the same organization virtual datacenter network. Static routes allow traffic between the networks.

You cannot add static routes between overlapping networks or fenced vApps. After you add a static route to an organization virtual datacenter network, configure the network firewall rules to allow traffic on the static route.

Static routes function only when the vApps included in the routes are running. If you perform any of the following operations on a vApp that includes static routes, the static routes no longer function and you must remove them manually.

  • Change the parent network of a vApp
  • Delete a vApp
  • Delete a vApp network

Prerequisites

This operation requires the rights included in the predefined Organization Administrator role or an equivalent set of rights.

Verify that the networks have the following configurations:
  • A routed organization virtual datacenter network.
  • Static routing is enabled on the organization virtual datacenter network.
  • Two vApp networks are routed to the organization virtual datacenter network.
  • The vApp networks are in vApps that were started at least once.

Procedure

  1. Click the Manage & Monitor tab and click Organization VDCs in the left pane.
  2. Double-click the organization virtual datacenter name to open the organization virtual datacenter.
  3. Click the Org VDC Networks tab, right-click the organization virtual datacenter network name and select Configure Services.
  4. On the Static Routing tab, click Add.
  5. Type a name, network address, and next hop IP.
    The network address is for the first vApp network to which to add a static route. The next hop IP is the external IP address of that vApp network's router.
  6. Select Within this network and click OK.
  7. Click OK.
  8. Repeat steps Step 4 through Step 7 to add a route to the second vApp network.

Static Routing Example

vApp Network 1 and vApp Network 2 are both routed to Org VDC Network Shared. You can create static routes on the organization virtual datacenter network to allow traffic between the vApp networks. You can use information about the vApp networks to create the static routes.

Table 1. Network Information
Network Name Network Specification Router External IP Address
vApp Network 1 192.168.1.0/24 192.168.0.100
vApp Network 2 192.168.2.0/24 192.168.0.101
Org VDC Network Shared 192.168.0.0/24 NA

On Org VDC Network Shared, create a static route to vApp Network 1 and another static route to vApp Network 2.

Table 2. Static Routing Settings
Static Route to Network Route Name Network Next Hop IP Address Route
vApp Network 1 tovapp1 192.168.1.0/24 192.168.0.100 Within this network
vApp Network 2 tovapp2 192.168.2.0/24 192.168.0.101 Within this network

What to do next

Create firewall rules to allow traffic on the static routes. See Add a Firewall Rule for an Organization Virtual Datacenter Network.