Tuesday, November 22, 2016

VMware NSX Configuration Part 2

I will be demonstrating following configuration tasks in this post

  • Configure Default Gateway in Logical Router as IP of Edge Services Gateway
  • Configure OSPF on Logical Router with Area ID 101
  • Configure Uplink Interface on Edge Services Gateway attached to VLAN based Port Group
  • Configure OSPF on Edge Services Gateway with Area ID 101


Configure Default Gateway in Logical Router


Navigate to Logical Router under NSX Edges and Click on Routing Tab. You may notice Default Gateway is not configured. Click on Edit and specify the details


You will need to publish the change to get it reflected


To Test the connectivity  SSH into the Edge Services Gateway and try pinging IP for Logical Router. It should work fine



Configure OSPF on Logical Router


This will help configure dynamic routing between Logical Router and Edge Services Gateway

Navigate to Logical Router under NSX Edges and Click on Routing Tab Press  Global Configuration

You may notice OSPF is Disabled under Dynamic Routing Configuration


Click on Edit and set the "Router ID"


Don’t forget to Publish the Changes



Navigate to the OSPF on the left


Specify the Uplink Interface Address as "Forwarding Address" and Chose any free IP from the same Range as "Protocol Address'


Don’t forget to publish




Now we will create an Area Definition for the communication between Logical Router and Edge Services Gateway



Don’t forget to publish the Changes. By now you would have already noticed that I prefer to public with each change I make


Next we will do Area to Interface Mapping


Publish the Changes



Configure Uplink Interface on Edge Services Gateway


Navigate to Edge Services Gateway under NSX Edges and Click on Settings Tab Press  Interface

Select vnic1 and Click Edit icon



Select the Transport VLAN Port Group  which has access to the External World





Make sure IP is reachable from external servers

Configure OSPF in Edge Services Gateway


This will help configure dynamic routing between Logical Router and Edge Services Gateway

Navigate to Edge Services Gateway under NSX Edges and Click on Routing Tab Press  Global Configuration

You may notice OSPF is Disabled under Dynamic Routing Configuration
Click on Edit and set the "Router ID"






 Navigate to the OSPF on the left



Please ensure to check Enable OSPF


Publish the Changes


Now we will create an Area Definition for the communication between Edge Services Gateway and Logical Router. Please ensure Area ID is the same we created in Logical Router



Publish the Changes



Next we will do Area to Interface Mapping


Publish the Changes



Tests


In order to Test I created a New Logical Switch Test and added Internal Interface on the Logical Router with IP Range of 172.17.1/24

I logged in the console for Edge Services Gateway to see if it propagated route automatically for 172.17.1.x



With this base configuration for NSX has been completed. Now if you need more Logical Switches you can create as per you design and map it to the Interface in Logical Router

There are additional Services which we can configure in Edge Services Gateway as per your requirement. I will try go demonstrate couple of them in future posts

Please feel free to provide comments if the posts have been helpful

No comments:

Post a Comment