You can configure a static route on the tier-0 gateway to external networks. After you configure a static route, there is no need to advertise the route from tier-0 to tier-1, because tier-1 gateways automatically have a static default route towards their connected tier-0 gateway.

Recursive static routes are supported.

Procedure

  1. With admin privileges, log in to NSX Manager.
  2. Open the instance page.

    Skip the following sub-steps if the instance page is open.

    1. Log in to the VMware Cloud Console at https://console.cloud.vmware.com.
      The VMware Cloud Services home page displays the services available to your organization.
    2. Under My Services, go to the NSX+ card and select Launch Service.
    3. Select Global and select the instance to manage.
  3. Select Networking > Tier-0 Gateways.
  4. To edit a tier-0 gateway, click the menu icon (three dots) and select Edit.
  5. Click Routing.
  6. Click Set next to Static Routes.
  7. Click Add Static Route.
  8. Enter a name and network address in CIDR format. Static routes based on IPv6 are supported. IPv6 prefixes can only have an IPv6 next hop.
  9. Click Set Next Hops to add next-hop information.
  10. Click Add Next Hop.
  11. Enter an IP address or select NULL.
    If NULL is selected, the route is called a device route.
  12. Specify the administrative distance.
  13. Select a scope from the drop-down list. A scope can be an interface, a gateway, an IPSec session, or a segment.
  14. Click Add.

What to do next

Check that the static route is configured properly.

See Verify the Static Route on a Tier-0 Router.