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

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. In the top navigation bar, click Networking and click the Edge Gateways tab.
  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

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. In the top navigation bar, click Networking and click the Edge Gateways tab.
  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. Click the Next Hops tab and click Add.
  7. Add a next hop IP address.
  8. 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.
  9. (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.
  10. Click Save.
  11. To add additional next hops, repeat steps 7 through 11.
    You can add up to 5 next hops.