You can configure a static route on the tier-0 router 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 routers automatically have a static default route towards their connected tier-0 router.

The static route topology shows a tier-0 logical router with a static route to the 10.10.10.0/24 prefix in the physical architecture. For test purposes, the 10.10.10.10/32 address is configured on the external router loopback interface. The external router has a static route to the 172.16.0.0/16 prefix to reach the app and web VMs.

Figure 1. Static Route Topology
Diagram of static route topology

Recursive static routes are supported.

Prerequisites

Procedure

  1. With admin privileges, log in to NSX Manager.
  2. Select Networking > Tier-0 Logical Routers.
  3. Select the tier-0 logical router.
  4. Click the Routing tab and select Static Route from the drop-down menu.
  5. Select Add.
  6. Enter a network address in the CIDR format.
    For example, 10.10.10.0/24.
  7. Click + Add to add a next-hop IP address.

    For example, 192.168.100.254. You can also specify a null route by clicking the pencil icon and selecting NULL from the drop-down.

  8. Specify the administrative distance.
  9. Select a logical router port from the dropdown list.
    The list includes IPSec Virtual Tunnel Interface (VTI) ports.
  10. Click the Add button.

What to do next

Check that the static route is configured properly. See Verify the Static Route on a Tier-0 Router.