You can specify the default settings for static routing and dynamic routing for an edge gateway.

Note: To remove all configured routing settings, use the CLEAR GLOBAL CONFIGURATION button at the bottom of the Routing Configuration screen. This action deletes all routing settings currently specified on the subscreens: default routing settings, static routes, OSPF, BGP, and route redistribution.


  1. Open Edge Gateway Services.
    1. From the top navigation bar, select Resources, and click the Cloud Resources tab.
    2. In the left panel, click Edge Gateways.
    3. Click the radio button next to the name of the target edge gateway, and click Services.
  2. Navigate to Routing > Routing Configuration.
  3. To enable Equal Cost Multipath (ECMP) routing for this edge gateway, turn on the ECMP toggle.
    As described in the NSX Administration documentation, ECMP is a routing strategy that allows next-hop packet forwarding to a single destination to occur over multiple best paths. NSX determines these best paths either statically, using configured static routes, or as a result of metric calculations by dynamic routing protocols like OSPF or BGP. You can specify the multiple paths for static routes by specifying multiple next hops on the Static Routes screen.

    For more details about ECMP and NSX, see the routing topics in the NSX Troubleshooting Guide.

  4. Specify settings for the default routing gateway.
    1. Use the Applied On drop-down list to select an interface from which the next hop towards the destination network can be reached.
      To see details about the selected interface, click the blue information icon.
    2. Type the gateway IP address.
    3. Type the MTU.
    4. (Optional) Type an optional description.
    5. Click Save changes.
  5. Specify default dynamic routing settings.
    Note: If you have IPsec VPN configured in your environment, you should not use dynamic routing.
    1. Select a router ID.
      You can select a router ID in the list or use the + icon to enter a new one. This router ID is the first uplink IP address of the edge gateway that pushes routes to the kernel for dynamic routing.
    2. Configure logging by turning on the Enable Logging toggle and selecting the log level.
    3. Click OK.
  6. Click Save changes.

What to do next

Add static routes. See Add a Static Route.

Configure route redistribution. See Configure Route Redistributions.

Configure dynamic routing. See the following topics: