Skip to content

How to create a static route


Static routing allows you to configure your Edge Services Gateway (ESG) with knowledge of other networks which are not directly connected to it. It is particularly useful if you need to:

  • route between virtual data centres (VDCs) in the same virtual organisation (vOrg), or
  • route traffic to vApp networks.

Static routing is the only option on ESG; dynamic routing protocols cannot be used.

For example, you may have a vApp network routed to a VDC network called Front end network. You could create a static route to enable traffic to get to the outside IP of the vApp edge at (a NAT will exist there).

Create a static route¤

To create a static route:

  1. In the VMware Cloud Director Virtual Datacenters dashboard, select the VDC that contains the ESG that requires the static route.

  2. In the left navigation panel, click Edges.

    Nav Edge

  3. Select the ESG for configuration, and click Services.

    Nav Services

  4. Select the Routing tab then the Static Routes tab.

    New Static Route

  5. Click the + button.

    New Static Route

  6. In the Add Static Route dialog box, fill in the details of the network range, next hop (edge IP) and select the network interface to which you want to apply the static route.

    New Static Route

  7. To finish, click Keep then Save changes.

  8. Repeat the steps for the second VDC.

Next steps¤

In this article you have learned how to create a static route. For other ESG configuration tasks, see:

Last update: July 9, 2023