How to do it...

Here we'll go through the steps to configure dynamic routing on the Distributed Logical Router:

  1. Navigate to Networking & Security | NSX Edges
  2. Select the DLR-01 that was configured in the earlier recipe:
  1. Navigate to Manage | Routing | Global Configuration. Click Edit in the Dynamic Routing Configuration pane:
  1. Choose the LS-TRANSIT logical switch as the router ID and select Enable Logging, with the Log Level set to Info, click OK to complete the configuration:
  1. Click Publish Changes.
  2. Select the BGP configuration menu under the Routing tab:
  1. Select Edit on the BGP Configuration menu, configure the BGP AS number for private AS 64512, and click OK:
  1. Click Publish Changes.
  2. Select Add under the Neighbor configuration pane, configure as per the following screenshot, and click OK to complete:
  1. Click Publish Changes:
  1. Navigate to the Route Redistribution configuration pane
  2. Select Edit under the Route Redistribution Status pane:
  1. Change the route redistribution from OSPF to BGP, as per the following screenshot. Click OK to complete:
  1. Under the route redistribution table pane, click Add:
  1. Click Publish Changes.
  2. Navigate to Global Configuration and review the routing configuration is the same as the following screenshot to complete: