Enable theBorderGatewayProtocol (BGP) to exchange routing information between the NSX Edge services gateways.

About this task

Repeat this procedure two times to enable BGP for both NSX Edge devices: LAXCOMP-ESG01and LAXCOMP-ESG02.

Procedure

  1. Log in to vCenter Server by using the vSphere Web Client.
    1. Open a Web browser and go to https://mgmt01vc51.lax01.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.17.11.66 from the NSX Manager drop-down menu.
  5. Double-click the LAXCOMP-ESG01 NSX Edge device.
  6. Click the Manage tab and click Routing.
  7. On the Global Configuration page.
    1. Click the Enable 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 to configure it.
    1. Click the Add icon, enter the following settings, and click OK.

      Setting

      Value

      Network

      UDLR_Compute_Workload_Subnet

      Next Hop

      192.168.100.3

      Interface

      LAXCOMP-UDLR01

      MTU

      9000

      Admin Distance

      210

      Note:

      You must add all subnets that are behind the UDLR.

    2. Click the Add icon, enter the following settings, and click OK.

      Setting

      Value

      Network

      DLR_Compute_Workload_Subnet

      Next Hop

      192.168.102.3

      Interface

      LAXCOMP-DLR01

      MTU

      9000

      Admin Distance

      210

      Note:

      You must add all subnets that are behind the DLR.

    3. Click Publish Changes.
  9. On the Routing tab, select BGP to configure it. 
    1. Click the Edit button, enter the following settings, and click OK.

      Setting

      Vlue

      Enable BGP

      Selected

      Enable Graceful Restart

      Selected

      Enable Default Originate

      Deselected

      Local AS

      65000

    2. 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.17.35.1

      Remote AS

      65002

      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, whose IP address is 172.27.21.1.

    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.27.21.1

      Remote AS

      65002

      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 universal distributed logical router (UDLR) as a neighbor.

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

      Setting

      Value

      IP Address

      192.168.100.4

      Remote AS

      65000

      Weight

      60

      Keep Alive Time

      1

      Hold Down Time

      3

      Password

      BGP_password

    8. Click the Add icon to add another Neighbor.

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

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

      Setting

      Value

      IP Address

      192.168.102.4

      Remote AS

      65000

      Weight

      60

      Keep Alive Time

      1

      Hold Down Time

      3

      Password

      BGP_password

    10. Click Publish Changes.

      The three neighbors you added are now visible in the Neighbors table.

  10. On the Routing tab, select Route Redistribution to configure it.
    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. Under Route Redistribution table, click the Add icon.
    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 is now visible in the Route Redistribution table.

  11. Repeat this procedure for the NSX Edge device LAXCOMP-ESG02.