Enable the Border Gateway Protocol (BGP) to exchange routing information between the NSX Edge services gateways.

Repeat this procedure two times to enable BGP for both NSX Edge devices: SFOCOMP-ESG01 and SFOCOMP-ESG02.

1

Log in to vCenter Server by using the vSphere Web Client.

a

Open a Web browser and go to https://comp01vc01.sfo01.rainpole.local/vsphere-client.

b

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

Double-click the SFOCOMP-ESG01 NSX Edge device.

6

Click the Manage tab and click Routing.

7

Configure settings on the Global Configuration page.

a

Click the Enable button for ECMP.

b

To configure dynamic routing, click the Edit button next to Dynamic Routing Configuration.

c

Select Uplink01 as the Router ID and click OK.

d

Click Publish Changes.

8

On the Routing tab, select Static Routes to configure it.

a

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

SFOCOMP-UDLR01

MTU

9000

Admin Distance

210

Note

You must add all subnets that are behind the UDLR.

b

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

Setting

Value

Network

DLR_Compute_Workload_Subnet

Next Hop

192.168.101.3

Interface

SFOCOMP-DLR01

MTU

9000

Admin Distance

210

Note

You must add all subnets that are behind the DLR.

c

Click Publish Changes.

9

On the Routing tab, select BGP to configure it.

a

Click the Edit button, enter the following settings, and click OK.

Setting

Value

Enable BGP

Selected

Enable Graceful Restart

Selected

Enable Default Originate

Deselected

Local AS

65000

b

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.

c

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

Setting

Value

IP Address

172.16.35.1

Remote AS

65001

Weight

60

Keep Alive Time

4

Hold Down Time

12

Password

BGP_password


d

Click the Add icon to add another Neighbor.

The New Neighbor dialog box appears. 

e

Add the second Top of Rack switch, whose IP address is 172.27.13.1.

f

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

Setting

Value

IP Address

172.27.13.1

Remote AS

65001

Weight

60

Keep Alive Time

4

Hold Down Time

12

Password

BGP_password


g

Click the Add icon to add another Neighbor.

The New Neighbor dialog box appears. 

h

Configure the universal distributed logical router (UDLR) as a neighbor.

i

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


j

Click the Add icon to add another Neighbor. 

The New Neighbor dialog box appears. 

k

Configure the distributed logical router (DLR) as a neighbor.

l

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

Setting

Value

IP Address

192.168.101.4

Remote AS

65000

Weight

60

Keep Alive Time

1

Hold Down Time

3

Password

BGP_password


m

Click Publish Changes.

The four neighbors you added appear in the Neighbors table.

10

On the Routing tab, select Route Redistribution to configure it.

a

On the Route Redistribution page, click the Edit button.

b

In the Change redistribution settings dialog box, select the BGP check box and click OK.

c

Click the Add icon for Route Redistribution Table.

d

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

e

Click the Publish Changes button.

The route redistribution configuration appears in the Route Redistribution table. Confirm that the configuration values you entered are correct.

11

Repeat this procedure for the NSX Edge device SFOCOMP-ESG02.