Enable the Border Gateway Protocol (BGP) to exchange routing information between the NSX Edge services gateways.
Procedure
- Log in to the Compute vCenter Server by using the vSphere Web Client.
- Open a Web browser and go to https://lax01w01vc01.lax01.rainpole.local/vsphere-client.
- Log in using the following credentials.
Setting |
Value |
User name |
administrator@vsphere.local |
Password |
vsphere_admin_password |
- Under Inventories, click Networking Security.
- In the Navigator, click NSX Edges.
- Select 172.17.11.66 from the NSX Manager drop-down menu.
- Double-click the lax01w01esg01 NSX Edge device.
- Click the Manage tab and click Routing.
- Configure settings on the Global Configuration page.
- Click the Start button for ECMP.
- To configure dynamic routing, click the Edit button next to Dynamic Routing Configuration.
- Select Uplink01 as the Router ID and click OK.
- Click Publish Changes.
- On the Routing tab, select Static Routes to configure it.
- 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 |
sfo01w01udlr01 |
MTU |
9000 |
Admin Distance |
210 |
Note: You must add all subnets that are behind the UDLR.
- 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 |
lax01w01dlr01 |
MTU |
9000 |
Admin Distance |
210 |
Note: You must add all subnets that are behind the DLR.
- Click Publish Changes.
- On the Routing tab, select BGP to configure it.
- Click the Edit button, enter the following settings, and click OK.
Setting |
Value |
Enable BGP |
Selected |
Enable Graceful Restart |
Deselected |
Enable Default Originate |
Deselected |
Local AS |
65000 |
- 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.
- 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 |
- Click the Add icon to add another Neighbor.
The
New Neighbor dialog box appears.
- 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 |
- Click the Add icon to add another Neighbor.
The
New Neighbor dialog box appears. Configure the universal distributed logical router (UDLR) as a neighbor.
- 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 |
- Click the Add icon to add another Neighbor.
The
New Neighbor dialog box appears. Configure the distributed logical router (DLR) as a neighbor.
- 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 |
- Click Publish Changes.
The four neighbors you added are now visible in the
Neighbors table.
- On the Routing tab, select Route Redistribution to configure it.
- On the Route Redistribution page, click the Edit button.
- In the Change Redistribution Settings dialog box, select the BGP check box and click OK.
- Under Route Redistribution table, click the Add icon.
- 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 |
- Click Publish Changes.
The route redistribution configuration is now visible in the
Route Redistribution table. Confirm that the configuration values you entered are correct.
- Repeat this procedure for the NSX Edge device lax01w01esg02.