In the Network Virtualization with VMware NSX – Part 5 we discussed about VXLAN to VLAN Layer 2 Bridging, Configure and Deploy an NSX Edge Gateway, Configure 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.2. 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.3. 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.4. Once done you’ll see the selected Static Route has been deleted from list.5. Repeat steps 1-4 to delete Static Routes from the 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.2. Select Manage –> Routing –> Global Configuration and Under Dynamic Routing Configuration –> Click Edit to Edit the Dynamic Routing Configuration.3. In the Edit Dynamic Routing Configuration dialog box, Select the Router ID from List and Click OK.4. Click Publish Changes to Apply changes.5. Once Changes Applied You can see under Dynamic Routing Configuration Router ID and OSPF Enabled.
7. We need to add more area as needed. So to add Area Click Green Plus Sign (+) under Area Definitions.
16. 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.
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.
Now we will be Configuring OSPF on Distributed Router:-
5. Once Changes Applied You can see under Dynamic Routing Configuration Router ID and OSPF Enabled.
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.
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:-