1.5

Table Of Contents
NextHopIp
The IP address of the next hop on the route. This address is typically the value
in the ExternalIp element of the RouterInfo from the network to which this
static route connects.
Interface
Specify internal if NextHopIp contains an IP address in the same network.
Specify external if NextHopIp contains an IP address in a different network.
Example: Static Routes Between vApp Networks
Assume two vApp networks that have the following properties:
n
The Configuration of the vApp network in vApp1 has a RouterInfo element whose ExternalIp value is
192.168.0.100.
n
The Configuration of the vApp network in vApp2 has a RouterInfo element whose ExternalIp value is
192.168.0.101.
n
Both vApp networks have the same ParentNetwork, an organization network whose network specification
in CIDR notation is 192.168.0.0/24.
You can enable static routing between these two vApp networks by inserting a StaticRoutingService element
in the Features of each vApp network Configuration. This excerpt from the NetworkConfigSection of vApp1
shows the network's Configuration and Features elements..
<!-- Static route from vApp network 1 to vApp network 2 -->
<Configuration>
...
<Features>
<StaticRoutingService>
<IsEnabled>true</IsEnabled>
<StaticRoute>
<Name>TovAppNet2</Name>
<Network>192.168.2.0/24</Network>
<NextHopIp>192.168.0.101</NextHopIp>
<Interface>External</Interface>
</StaticRoute>
</StaticRoutingService>
</Features>
...
</Configuration>
This is a similar excerpt from the NetworkConfigSection of vApp2.
<!-- Static route from vApp network 2 to vApp network 1 -->
<Configuration>
...
<Features>
<StaticRoutingService>
<IsEnabled>true</IsEnabled>
<StaticRoute>
<Name>TovAppNet1</Name>
<Network>192.168.1.0/24</Network>
<NextHopIp>192.168.0.100</NextHopIp>
<Interface>External</Interface>
</StaticRoute>
</StaticRoutingService>
</Features>
...
</Configuration>
vCloud API Programming Guide
124 VMware, Inc.