The Border Gateway Protocol (BGP) is a protocol for exchanging routing information between gateway hosts (each with its own router) in a network of autonomous systems (AS).

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

1

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

a

Open a Web browser and go to https://mgmt01vc51.lax01.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.17.11.65 from the NSX Manager drop-down menu.

5

Double-click the LAXMGMT-ESG01 NSX Edge device.

6

Click the Manage tab, and click Routing.

7

On the Global Configuration page, enter the following settings.

a

Click the Enable button for ECMP.

b

Click the Edit button for Dynamic Routing Configuration.

c

Choose Uplink01 as the Router ID.

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

192.168.11.0/24

Next Hop

192.168.10.3

Interface

SFOMGMT-UDLR01

MTU

9000

Admin Distance

210

b

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

Setting

Value

Network

192.168.31.0/24

Next Hop

192.168.10.3

Interface

SFOMGMT-UDLR01

MTU

9000

Admin Distance

210

c

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

Setting

Value

Network

192.168.32.0/24

Next Hop

192.168.10.3

Interface

SFOMGMT-UDLR01

MTU

9000

Admin Distance

210

d

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

Vlue

Enable BGP

Selected

Enable Graceful Restart

Selected

Enable Default Originate

Deselected

Local AS

65003


b

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 for the first Top of Rack Switch, and click OK.

Setting

Value

IP Address

172.27.14.1

Remote AS

65002

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. Add the second Top of Rack switch, whose IP address is 172.27.12.1.

e

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

Remote AS

65002

Weight

60

Keep Alive Time

4

Hold Down Time

12

Password

BGP_password


f

Click the Add icon to add another Neighbor.

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

g

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

Setting

Value

IP Address

192.168.10.4

Remote AS

65003

Weight

10

Keep Alive Time

1

Hold Down Time

3

Password

BGP_password


h

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.

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

Under Route Redistribution table, click the Add icon.

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 Publish Changes

The route redistribution configuration is now visible in the Route Redistribution table.

11

Repeat this procedure for the LAXMGMT-ESG02 NSX Edge.