The process for configuring a default gateway on a ESG or DLR is identical. What does a Default Gateway do… well anything not defined in the routing table (either as static or dynamic route (OSPF or BGP) will be sent to this interface.
To configure the default gateway complete the following:
1. Log into the vSphere Web Client. Click Networking and Security, then NSX Edges. Double-Click the Edge (ESG or DLR) that you want to configure the Default Gateway on.
2. Click the Routing tab then click Global Configuration.
3. Under the Default Gateway section click Edit. Enter your Default Gateway IP address and select the interface. Modify the MTU and Admin Distance if required. Then click OK.
4. Make sure you click Publish Changes to apply the configuration. You can now see the Default Gateway configured.