If you want to use a network traffic route that is not publicly advertised within your environment, you can manually configure a static route on an NSX edge gateway.

View the Static Routes on an NSX Edge Gateway in the VMware Cloud Director Tenant Portal

You can view the both the read-only and the editable static routes on an NSX edge gateway.

You can view both the editable and the read-only static routes on an edge gateway. A read-only static route is configured in NSX Manager and can have more than 5 next hops. However, in VMware Cloud Director, you can view only the first 5 hops of a read-only static route.

Prerequisites

Verify that your role includes the Gateway Service: Static Routing View Only right.

Procedure

  1. From the primary left navigation panel, select Networking and from the page top navigation bar, select Edge Gateways.
  2. Click the edge gateway and, under Routing, click Static Routes.
  3. View the static routes on the edge gateway.

Configure a Static Route on an NSX Edge Gateway in the VMware Cloud Director Tenant Portal

You can manually configure a static route on an NSX edge gateway.

Prerequisites

Verify that your role includes the Gateway Service: Static Routing Configure right.

Procedure

  1. From the primary left navigation panel, select Networking and from the page top navigation bar, select Edge Gateways.
  2. Click the edge gateway and, under Routing, click Static Routes.
  3. Click New.
  4. Enter a name and, optionally, a description for the new route.
  5. Enter a network address in CIDR format to which to direct network traffic.
  6. If your edge gateway is connected to a dedicated provider gateway and you want to advertise the network, turn on the Route Advertised toggle.
  7. Click the Next Hops tab and click Add.
  8. Add a next hop IP address.
  9. Specify an admin distance.
    The admin distance is used to choose which route to use when there are multiple routes for a specific network. The lower the admin distance, the higher the preference for the route. Static routes have a default administrative distance of 1.
  10. (Optional) From the drop-down list, select a scope for the static route.
    The scope is either an organization VDC network or an external network connection in which the next hop is located.
  11. Click Save.
  12. To add additional next hops, repeat steps 7 through 11.
    You can add up to 5 next hops.