HOWTO: Configure VMware NSX with Dynamic Routing - BGP



VMware NSX-V VCAP6-NV VCIX6-NV HOWTO

Published on 1 August 2017 by Christopher Lewis. Words: 401. Reading Time: 2 mins.

Introduction

Dynamic Routing provides the necessary forwarding information between Layer 2 broadcast domains. There are 3 types of Dynamic Routing supported by VMware NSX OSPF, BGP and IS-IS.

In this post, as part of the VCAP6-NV Deployment Study Guide , we will be covering the configuration of BGP.

Step By Step Guide

Prerequisites

The following prerequisites are assumed for this Objective:

  • A working VMware vSphere 6.x environment.
  • A working VMware NSX 6.x environment.

Configure a Router ID for each NSX Edge

To configure BGP, each NSX Edge must have a Router ID configured. The steps to do this is covered in HOWTO: Configure the Router ID for a VMware NSX Edge .

Configure BGP on a Distributed Logical Router (DLR)


  1. Using your favourite web browser, navigate to the vCenter Server login page (https://vcenter.fqdn).
  1. Type the administrator User name and Password and click Login.
  1. Click Networking and Security.
  1. Click NSX Edges.
  1. Double-Click on the target DLR.
  1. Click the Manage tab, select Routing and then select BGP.
  1. At BGP Configuration, click Edit.
  1. Check the Enable BGP checkbox, enter a value for the Local AS.
  1. Click OK.
  1. Under Neighbours, click Add(+).
  1. Type the IP Address, the Forwarding Address, the Protocol Address, the Remote AS number.
  1. Click OK.
  1. Click Publish Changes.

Configure BGP on an Edge Services Gateway (ESG)

The steps for configuring BGP on an ESG is the same as a DLR, therefore see the previous section.

Checking Route Redistribution

These steps should be completed for each of the NSX Edges in the BGP configuration.


  1. Using your favourite web browser, navigate to the vCenter Server login page (https://vcenter.fqdn).
  1. Type the administrator User name and Password and click Login.
  1. Click Networking and Security.
  1. Click NSX Edges.
  1. Double-click on the target NSX Edge.
  1. Click Route Redistribution.

Checking if Route Redistribution is enabled for BGP

  1. If the Route Distribution Status for BGP set to Disabled, click Edit.
  1. Check the BGP checkbox.
  1. Click OK.
  1. Click Publish Changes.

Checking the Route Redistribution Table is updated

  1. If the Route Distribution Table is empty, click Add(+).
  1. Select the Prefix Name (Any), the Learner Protocol (BGP), check the Connected checkbox and select Permit from the Action dropdown.
  1. Click OK.
  1. Click Publish Changes.

Published on 1 August 2017 by Christopher Lewis. Words: 401. Reading Time: 2 mins.