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.
- With admin privileges, log in to NSX Manager.
- Select .
- To edit a tier-0 gateway, click the menu icon (three dots) and select Edit.
- Click Routing.
- Click Set next to Static Routes.
- Click Add Static Route.
- 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.
- Click Set Next Hops to add next-hop information.
- Click Add Next Hop.
- Enter an IP address or select NULL.
If NULL is selected, the route is called a device route.
- Specify the administrative distance.
- Select a scope from the drop-down list. A scope can be an interface, a gateway, an IPSec session, or a segment.
- Click Add.
What to do next
Check that the static route is configured properly. See Verify the Static Route on a Tier-0 Router.