NSX DLR and ESG with OSPF – Part 4 – Deploy ESG

vcdx133 This is part 4 of the NSX Distributed Logical Router (DLR) and Edge Services Gateway (ESG) with OSPF configuration guide, describing the deployment of the Edge Services Gateway (ESG).

This is a five part series describing the steps to deploy DLR and ESG with OSPF:

What are we trying to do in this section?

  • Configure an Edge Services Gateway (ESG) that will allow the Distributed Logical Router (DLR) access to the Outside world.
  • The ESR will have a single “Internal” interface, that is connected to the DLR “Uplink” interface.
  • The ESR will have a single “Uplink” interface, that is connected to the “External” network Portgroup of the vDS.
  • All OSPF routing configuration will be covered in part 5.

A diagram to clarify things:

nsx_esg_overview

Deploy the Edge Services Gateway (ESG)

  1. Login to the vSphere Web Client with an account that has NSX and vCenter Admin privileges.
  2. Select “Home” and then the “Networking & Security” icon to access “NSX Home”.
  3. Select “NSX Edges”, the correct “NSX Manager” IP Address and select the green “+” button.
  4. In the “New NSX Edge” window, select the “Install Type” as “Edge Services Gateway” and enter the “Name”, “Hostname”, “Description” and “Tenant”.  Then press the “Next” button.
  5. In the “2 Settings” screen, enter the CLI “admin” Credentials and press “Next”.
  6. In the “3 Configure deployment” screen, select the “Datacenter”, “Appliance Size” “Compact”, tick “Deploy NSX Edge” and press the green “+” button under “NSX Edge Appliances”.
  7. In the “Add NSX Edge Appliance” window, select the “Cluster/Resource Pool” and the “Datastore” for the ESG.  Then press “OK”.
  8. In the “3 Configure deployment” screen, verify that the “NSX Edge Appliance” is listed and press the “Next” button.
  9. In the “4 Configure Interfaces” screen,  press the green “+” sign under “Configure interfaces for this NSX Edge”.
  10. In the “Add NSX Edge Interface” window, enter the “Name”, select the “Type” as “Internal” for the DLR Interface and “Uplink” for External Network vDS Portgroup and press the “Select” button in “Connected To” to assign the “Logical Switch”/”vDS Portgroup”.
  11. In the “Connect NSX Edge to a Network” window, select the “Logical Switch” object and select the “Logical Switch” that will be used for DLR connectivity.
  12. In the “Add Interface” window, then press the green “+” button under “Configure subnets” to assign an IP Address to the interface.
  13. In the “Add Subnet” window, pres the green “+” button and enter the Primary IP Address for the interface and set the “Subnet prefix length”.  Then press “OK”.
  14. In the “Add Interface” window, leave the “MTU” at “1500” and press the “OK” button.
  15. In the “4 Configure Interfaces” screen,  add the second interface as an “Uplink”.  This will connect to the vDS Portgroup.  Then press “Next”.
  16. In the “5 Default gateway settings” screen, tick “Configure Default Gateway”, select the vDS Portgroup, add the “Gateway IP” of the external network and press “Next”.  The ESG will publish the default route via OSPF to the DLR.
  17. In the “6 Firewall and HA” screen, leave “Configure Firewall default policy” disabled and press “Next”.
  18. In the “7 Ready to complete” screen, press the “Finish” button.
  19. In the “NSX Edges” window, wait for the “NSX Edge” “Status” to change from “Busy” to “Deployed”.
  20. To view the progress of the “NSX Edge” deployment, select the “Task Console” object from the “Home” location.
  21. To view the “NSX Edge” virtual appliance within vCenter, select the “VMs and Templates” tab and locate the “<Edge-Name>-0” virtual appliance.  You can open the console to login as “admin” once the deployment process has finished.
  22. From the VM Summary tab, you can see that the ESG is deployed with the default VM Hardware resources of 1 vCPU, 512MB RAM and 500MB Hard Disk.  Also note that only a single Console session can exist concurrently and vSphere Infrastructure Navigator has no visibility of the ESG.
  23. You have completed the “NSX Edge” deployment process.
  24. You are now ready to begin the OSPF Configuration in Part 5.

Note: some of the configuration information in these screenshots does not match the diagram above.  The screenshots are provided for context.

nsx_esg_1 nsx_esg_3 nsx_esg_4 nsx_esg_5 nsx_esg_6 nsx_esg_7 nsx_esg_8 nsx_esg_9 nsx_esg_10 nsx_esg_11 nsx_esg_12 nsx_esg_13 nsx_esg_14 nsx_esg_15 nsx_esg_16 nsx_esg_17

Other Resources

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s