Configure the Universal distributed logical router (UDLR) to use dynamic routing in management and workload consolidation.

Procedure

  1. Log in to vCenter Server by using the vSphere Web Client.
    1. Open a Web browser and go to https://sfo01w01vc01.sfo01.rainpole.local/vsphere-client.
    2. Log in using the following credentials.

      Setting

      Value

      User name

      administrator@vsphere.local

      Password

      vsphere_admin_password

  2. Under Inventories, click Networking & Security.
  3. In the Navigator, click NSX Edges.
  4. Select 172.16.11.66 from the NSX Manager drop-down menu.
  5. Enable HA logging.
    1. Double-click the device labeled sfo01w01udlr01.
    2. Click the Manage tab and click the Settings tab.
    3. Click Change in the HA Configuration window.
    4. Select the Enable Logging checkbox and click OK.
  6. Create a firewall rule to allow SSH access to sfo01w01udlr01.
    1. Click the Manage tab and click the Firewall tab.
    2. Click Add rule in the Firewall Section.
    3. In the Name cell of the new rule, click the Edit icon to change the rule name to SSH.
    4. In the Source column , leave the default any.
    5. In the Destination column, leave the default any
    6. Click the Edit icon in the Service column, enter SSH in the filter, add SSH to the Selected Objects list, and click OK.
    7. Click Publish Changes.
  7. Configure the routing for the Universal Distributed Logical Router.
    1. Double-click sfo01w01udlr01.
    2. Click the Manage tab, click Routing and select Global Configuration.
    3. Click the Edit button under Routing Configuration, select Enable ECMP, and click OK.
    4. Click the Edit button under Dynamic Routing Configuration, select Uplink as the Router ID, and click OK.
    5. Click Publish Changes.
  8. On the left, select BGP to configure it.
    1. On the BGP page, click the Edit button.

      The Edit BGP Configuration dialog box appears.

    2. In the Edit BGP Configuration dialog box, enter the following settings and click OK.

      Setting

      Value

      Enable BGP

      Selected

      Enable Graceful Restart

      Selected

      Local AS

      65000

    3. Click the Add icon to add a Neighbor.

      The New Neighbor dialog box appears.

    4. In the New Neighbor dialog box, enter the following values for both NSX Edge devices, and click OK.

      Repeat this step two times to configure the UDLR for both NSX Edge devices: sfo01w01esg01 and sfo01w01esg02.

      Setting

      sfo01w01esg01 Value

      sfo01w01esg02 Value

      IP Address

      192.168.100.1

      192.168.100.2

      Forwarding Address

      192.168.100.3

      192.168.100.3

      Protocol Address

      192.168.100.4

      192.168.100.4

      Remote AS

      65000

      65000

      Weight

      60

      60

      Keep Alive Time

      1

      1

      Hold Down Time

      3

      3

      Password

      BGP_password

      BGP_password

    5. Click Publish Changes.
  9. On the left, select Route Redistribution to configure it.
    1. Click the Edit button. In the Change redistribution settings dialog box, enter the following settings, and click OK.

      Setting

      Value

      OSPF

      Deselected

      BGP

      Selected

    2. On the Route Redistribution table, select the default OSPF entry and click the Edit button.
    3. Select BGP from the Learner Protocol drop-down menu, and click OK.

    4. Click Publish Changes.