Home‎ > ‎VCIX-NV Study Notes‎ > ‎

Section 2.3.2 - Configure Routing protocols

Next we are going to discuss the various routing protocols.

 

  • Static

  • OSPF

  • BGP

  • ISIS

 

Routing can be configured on the Edge Gateway devices AND the logical routers.   The Edge Devices will typically handle any routing that LEAVES the Virtual Datacenter Or routing between Transport Zones.  Logical Routers will be used to handle the routing between logical networks.  

 

This is going to be a fairly long document.

 

Let’s start with Static routing.  

 

Static routing will probably not be a typical routing method you will use.  It’s an option, but it is a fairly limited one.  It is very simple to do:

 

1. Select your Router.  Goto Manage -> Routing –Static routes

 

2. Click the green PLUS.

Enter the destination MAC, the interface of the DLR that will be used and the next hop IP in that network.  The next hop cannot be the IP of the DLR, it must be an interface of a host that knows how to get to the network you wish to route to.

 

3. Publish the changes

 

4 And you are done, here is your new route.

The Edge Gateway service and the Logical routers can both participate in 3 main routing protocols.    They can receive route updates and advertise routes they know about.

 

 

OSPF – Open Shorted Path first is an Interior Gateway Protocol (IGP).  This is used ONLY for establishing routes within an Autonomous System (In our case a Datacenter)  OSPF shares routes with it’s neighbors within an AREA.

Routing areas are defined on the Interfaces of the Edge devices (ESG or DLR)  Routes are passed between Interfaces that have the same Area IDs.  On the ESGs you may have multiple areas (1 per interface) These would function as the uplink network for the DLRs in your datacenter.

Configuring Dynamic routing on your ESG or DLR.

 

 

1.     Navigate to Network and Security – Select your ESG.  Click on Manage -> Routing –Global Config.

Under the Dynamic routing config choose Edit

 

2. Select the router ID you wish to use.  Typically it is the IP address of the UPLINK interface

 

 

3. Click Publish.  

 

We have now enabled dynamic routing.  Next we will configure OSPF.

 

4. Next Choose the OSPF Menu and click on Edit

 

 

5. Enable OSPF and Enable Default Originate.  Click OK

 

 

6.  For clarity I delete the 2 areas that are pre-defined.  They are not needed.

 

 

7. Click the Green Plus under Area Definitions  

 

 

8. Select the vNIC that will participate in the area and provide an Area ID.  Click OK.   Repeat for any additional AREAS and interfaces.

 

 

 

 

9. My example has 2 areas and 2 Interfaces under the Area to Interface Mapping.

 

 

Configuring BGP

 

VMware NSX supports Border Gateway Protocol (BGP) is a standardized routing protocol designed to exchange route information between Autonomous systems.   It is typically used to route external from the datacenter.  It can be used internally to the datacenter as well.

BGP does not automatically detect it’s neighbors.  You must manually peer with the upstream AS.

Configuring BGP

 

1. Click on the BGP protocol.  Choose Edit.

 

 

 

2. Enable BGP and Default Route.  Provide the AS number for the router

 

3. Publish changes

 

4. Click the Green Plus under Neighbors.   Provide the IP address of the Upstream router and the AS for it.  Click OK

 

 

If you login to the router and run show ip bgp neighbor you should see the new neighbor.

 

 

You will need to configure your upstream router the same way but using the AS number of your router that you just configured.

 

 

ISIS

 

I have not configured ISIS in my lab or any other environment.  I will circle back to this and provide as much information as I can after I have completed posting everything else I have.


Comments