Using the Static Route screen in the vCloud Director tenant portal, you can add a static route for a destination subnet or host.
About this task
As described in the NSX documentation, the static route's next hop IP address must exist in a subnet associated with one of the edge gateway's interfaces. Otherwise, configuration of that static route fails.
If ECMP is enabled in the default routing configuration, you can specify multiple next hops in the static routes. See Specify Default Routing Configurations for the Edge Gateway for steps on enabling ECMP.
For the ability to use the vCloud Director tenant portal to work with an edge gateway's settings, the edge gateway must have already been converted to an advanced edge gateway using the Convert to Advanced Gateway action on the edge gateway in the vCloud Director Web console. See the vCloud Director Administrator's Guide for details.
- Launch the tenant portal using the following steps.
- Log in to the vCloud Director Web console and navigate to the edge gateway.
- Right-click the name of the edge gateway and click Edge Gateway Services in the context menu.
The tenant portal opens in a new browser tab and displays the Edge Gateway screen for that edge gateway.
- In the tenant portal, navigate to .
- Click the + icon.
The Add Static Route dialog box appears.
- Configure the following options for the static route:
Type the network in CIDR notation.
Type the IP address of the next hop.
The next hop IP address must exist in a subnet associated with one of the edge gateway's interfaces.
If ECMP is enabled, you can type multiple next hops.
Optionally select the edge gateway interface on which you want to add a static route. By default, the interface is selected that matches the next hop address.
If necessary for your needs, edit the maximum transmission value for the data packets.
The MTU value cannot be higher than the MTU value set on the selected edge gateway interface. You can see the MTU set on the edge gateway interface by default on the Routing Configuration screen.
Optionally type a description for the static route.
- Click Save changes.
What to do next
Configure a NAT rule for the static route. See Add an SNAT or DNAT Rule Using the Tenant Portal .
Add a firewall rule to allow traffic to traverse the static route. See Add an Edge Gateway Firewall Rule Using the Tenant Portal for information.