Enable the Border Gateway Protocol (BGP) to exchange routing information between the NSX Edge Services Gateway hosts in a network of Autonomous Systems (AS).

Procedure

  1. Log in to vCenter Server by using the vSphere Web Client.
    1. Open a Web browser and go to https://nyc01r01vc01.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.18.11.65 from the NSX Manager drop-down menu.
  5. Double-click the nyc01r01esg01 NSX Edge device. 
  6. Click the Manage tab and click Routing.
  7. On the Global Configuration page, enter the following settings.
    1. Click the Start button for ECMP.
    2. To configure dynamic routing, click the Edit button next to Dynamic Routing Configuration.
    3. Select Uplink01 as the Router ID and click OK.
    4. Click Publish Changes.
  8. On the Routing tab, select Static Routes.
    1. Click the Add icon, enter the following settings, and click OK.

      Setting

      Value

      Network

      172.18.19.0/24

      Next Hop

      172.18.18.3

      Interface

      nyc01r01dlr01

      Admin Distance

      210

    2. Click Publish Changes.
  9. On the Routing tab, select BGP.
    1. Click Edit, enter the following settings, and click OK.

      Setting

      Value

      Enable BGP

      Selected

      Enable Graceful Restart

      Deselected

      Enable Default Originate

      Deselected

      Local AS

      65300

    2. On the BGP page, click the Add icon to add a neighbor.

      The New Neighbor dialog box appears. You add two neighbors: the first Top of Rack Switch and the second Top of Rack Switch.

    3. In the New Neighbor dialog box, enter the following values for the first Top of Rack Switch, and click OK.

      Setting

      Value

      IP Address

      172.18.16.1

      Remote AS

      65200

      Weight

      60

      Keep Alive Time

      4

      Hold Down Time

      12

      Password

      BGP_password

    4. Click the Add icon to add another neighbor.

      The New Neighbor dialog box appears. Add the second Top of Rack switch.

    5. In the New Neighbor dialog box, enter the following values for the second Top of Rack Switch, and click OK.

      Setting

      Value

      IP Address

      172.18.17.1

      Remote AS

      65200

      Weight

      60

      Keep Alive Time

      4

      Hold Down Time

      12

      Password

      BGP_password

    6. Click the Add icon to add another Neighbor.

      The New Neighbor dialog box appears. Configure the distributed logical router (DLR) as a neighbor.

    7. In the New Neighbor dialog box, enter the following values, and click OK.

      Setting

      Value

      IP Address

      172.18.18.4

      Remote AS

      65300

      Weight

      60

      Keep Alive Time

      1

      Hold Down Time

      3

      Password

      BGP_password

    8. Click Publish Changes.

      The three neighbors you added appear in the Neighbors table.

  10. On the Routing tab, select Route Redistribution.
    1. On the Route Redistribution page, click the Edit button.
    2. In the Change redistribution settings dialog box, select the BGP check box and click OK.
    3. Click the Add icon for Route Redistribution table.
    4. In the New Redistribution criteria dialog box, enter the following settings and click OK.

      Setting

      Value

      Prefix

      Any

      Learner Protocol

      BGP

      OSPF

      Deselected

      Static routes

      Selected

      Connected

      Selected

      Action

      Permit

    5. Click Publish Changes.

      The route redistribution configuration appears in the Route Redistribution table.

  11. Repeat this procedure for the NSX Edge device nyc01r01esg02.