Network Virtualization with VMware NSX – Part 6

In the Network Virtualization with VMware NSX – Part 5 we discussed about VXLAN to VLAN Layer 2 Bridging, Configure and Deploy an NSX Edge GatewayConfigure Routes (Static Routing) on the NSX Edge Gateway and on the Distributed Router. Here in Network Virtualization with VMware NSX – Part 6 will discuss about Configure Dynamic Routing (OSPF) on Perimeter Gateway and  on Distributed Router.

As we discussed and Configured Static Routing on both Perimeter Gateway and on Distributed Router in the Network Virtualization with VMware NSX – Part 5. So before going to configure Dynamic Routing we need to delete that.

Remove Static Routes from Perimeter Gateway and from Distributed Router:-

1. Connect to vCenter Server through vSphere Web Client —> Click Home tab –> Inventories –> Networking & Security and  select NSX Edges.ESG192. In the edge list, double-click the Perimeter Gateway to open and manage that object. In the middle pane, click the Manage tab –> click Routing and Click Static Routes.DR23. In the Static Routing list select the Route to delete and click Red X icon (X).  Click Publish Changes to take effect of the changes.DR34. Once done you’ll see the selected Static Route has been deleted from list.DR45. Repeat steps 1-4 to delete Static Routes from the Distributed Router.DR5

DR6

DR7So now we have deleted Static Routes from both Perimeter Gateway and Distributed Router.

———————————————————————————————————-

Now Will Configure Dynamic Routing (OSPF) on Perimeter Gateway:-

1. Click Home tab –> Inventories –> Networking & Security and  NSX Edges. Double Click the Perimeter Gateway router to open and manage this.DR12. Select Manage –> Routing –>  Global Configuration and Under Dynamic Routing Configuration –> Click Edit  to Edit the Dynamic Routing Configuration.OSPFESG13. In the Edit Dynamic Routing Configuration dialog box, Select the Router ID from List and Click OK.OSPFDLR24. Click Publish Changes to Apply changes.OSPFESG25. Once Changes Applied You can see under Dynamic Routing Configuration Router ID and OSPF Enabled.OSPFESG3

6. Next we need to Configure OSPF. To do so In the routing category, select OSPF and Under Area Definitions verify that Area 0 is exist. If Area 0 does not exist we need to create that.OSPFESG4

7. We need to add more area as needed. So to add Area Click Green Plus Sign (+) under Area Definitions.

8. In the New Area Definition dialog box, Enter the Area ID and Click OK.OSPFESG5

9. Click Publish Changes to Apply changes.OSPFESG6

10. Once Changes Applied You can see Area ID under Area Definitions List.OSPFESG7

11. Once Area ID has been created we need to Map Interface to specified Area. To Map Interface to Area Click Green Plus Sign (+) Under Area to Interface Mapping:OSPFESG8

12. Select the required vNIC and enter Area ID into Area box and Click OK.OSPFESG9

13. Click Publish Changes to Apply changes.OSPFESG10

14. Once changes has been applied you can see that Interface has been mapped to specified Area.OSPFESG11

15. Repeat the steps 11-14 to Map all the required Interface to Area ID.OSPFESG12

 

OSPFESG1316. Once All the Interfaces have been Mapped to Required Area ID. We need to  Redistribute Perimeter Gateway Subnets. To do so In the routing category, select Route Redistribution and Under Route Redistribution Table Click  the green plus sign (+) to open the New Redistribution criteria dialog box.OSPFESG14

17. In the New Redistribution criteria dialog box, Under Allow learning from select the Connected check box and Action Permit and Click OK.OSPFESG15

18. Click Publish Changes to Apply changes.OSPFESG16

19. In the Route Redistribution Status at the top of the page, determine if a green check mark appears next to OSPF. If a green check mark does not appear Click Edit to edit the settings to Enable OSPF.OSPFESG17

20. In the Change Redistribution settings dialog box Check the OSPF Check box and Click OK.OSPFESG18

21. Once Changes done you can see  green check mark appears next to OSPF.OSPFESG19

———————————————————————————————

Now we will be Configuring OSPF on Distributed Router:-

1. Click Home tab –> Inventories –> Networking & Security and  NSX Edges. Double Click the Distributed Router to open and manage Distributed Router.DR1

2. Select Manage –> Routing –>  Global Configuration and Under Dynamic Routing Configuration –> Click Edit  to Edit the Dynamic Routing ConfigurationOSPFDLR1

3. In the Edit Dynamic Routing Configuration dialog box, Select the Router ID from List and Click OK.OSPFDLR2

4. Click Publish Changes to Apply changes.OSPFDLR3

5. Once Changes Applied You can see under Dynamic Routing Configuration Router ID and OSPF Enabled.

6. Next we need to Configure OSPF. To do so In the routing category, select OSPF and On the right side of the OSPF Configuration panel, click Edit to open the OSPF Configuration dialog box.OSPFDLR4

7.  In the OSPF Configuration dialog box, Select the Enable OSPF check box. Enter Protocol Address and Enter Forwarding Address and Click OK.OSPFDLR5

8. We need to add more area as needed. So to add Area Click Green Plus Sign (+) under Area Definitions.OSPFDLR7

9. In the New Area Definition dialog box, Enter the Area ID and Click OK. And Click Publish Changes to Apply changes.OSPFDLR8

10.  Once Area ID has been created we need to Map Interface to specified Area. To Map Interface to Area Click Green Plus Sign (+) Under Area to Interface Mapping.OSPFDLR9

11. Select the required Interface and enter Area ID into Area box and Click OK. And Click Publish Changes to Apply changes.OSPFDLR10

12. After the changes have been published, verify that the OSPF Configuration Status is Enabled.OSPFDLR14

13. Once All the Interfaces have been Mapped to Required Area ID. We need to  Redistribute Distributed Router Internal Subnets. To do so In the routing category, select Route Redistribution and Under Route Redistribution Table Click  the pencil icon to open the Edit Redistribution criteria dialog box, and verify that settings are configured as:  Prefix Name: Any, Learner Protocol: OSPF,  Allow Learning From: Connected and Action: Permit.OSPFDLR13

If the default route redistribution entry does not appear in the list, we need to create a new route redistribution by clicking the green plus sign (+) and configure the table.

That’s it ! we have done with Configuring Dynamic Routing (OSPF) on Perimeter Gateway and  on Distributed Router.

In the next Network Virtualization with VMware NSX – Part 7 will discuss Network Address Translation (NAT) and Load Balancing with NSX Edge Gateway.

Thank You and Keep sharing 🙂

————————————————————————————————————–

Other NSX Parts:-

Network Virtualization with VMware NSX – Part 1

Network Virtualization with VMware NSX – Part 2

Network Virtualization with VMware NSX – Part 3

Network Virtualization with VMware NSX – Part 4

Network Virtualization with VMware NSX – Part 5

Network Virtualization with VMware NSX – Part 6

Leave a Reply

Your email address will not be published. Required fields are marked *

*