When Region A is back online after a disaster recovery to Region B, you must update the routing configuration to restore routing between Region B and Region A and to optimize route selection.
Procedure
- In a Web browser, log in to vCenter Server by using the vSphere Client.
Setting Value URL https://sfo01m01vc01.sfo01.rainpole.local/ui User name [email protected] Password vsphere_admin_password - In the Networking and security inventory, click NSX Edges.
- Configure BGP on the universal distributed logical router in Region B.
- From the NSX Manager drop-down menu, select 172.17.11.65 .
- Click the edge link of the sfo01m01udlr01 device.
- Click the Routing tab and, in the left pane, click BGP.
- Select the neighbor NSX Edge devices, click Edit, configure the following settings, and click Save.
Setting Value for sfo01m01esg01 Value for sfo01m01esg02 IP Address 192.168.10.1 192.168.10.2 Forwarding Address 192.168.10.3 192.168.10.3 Protocol Address 192.168.10.4 192.168.10.4 Remote AS 65003 65003 Weight 10 10 Keep Alive Time 1 1 Hold Down Time 3 3 Password BGP_password BGP_password - Click Publish.
- In the left pane, click Static routes.
- Select the existing static route (Network: 172.17.11.0/24) and click Edit.
- In the Edit static route dialog box, configure the settings and click Save.
Setting Value Network 172.16.11.0/24 Next Hop 192.168.10.1,192.168.10.2 Admin Distance 1 - Click Publish.
- Reduce the BGP weight of the sfo01m01esg01 and sfo01m01esg02 NSX Edge nodes.
- On the NSX Edges page, from the NSX Manager drop-down menu, select 172.16.11.65.
- Click the edge link of the sfo01m01esg01 device.
- Click the Routing tab.
- In the left pane, click BGP, select the 192.168.10.4 neighbor, and click Edit.
- In the Edit BGP neighbor dialog box, change the Weight value to 10 and click Save.
- Click Publish.
- Repeat the step for the sfo01m01esg02 edge.
- Verify that the NSX Edge nodes are successfully peering and that BGP routing has been established.
- Log in to the first NSX Edge device by using a Secure Shell (SSH) client.
Setting Value Hostname sfo01m01esg01 User name admin Password edge_admin_password - To display information about the BGP connections to neighbors, run the show ip bgp neighbors command.
The BGP State displays Established UP if you have successfully peered with UDLR.
- To verify that you are receiving routes using BGP, run the show ip route command.
- Repeat the step for the sfo01m01esg02 NSX Edge node.
- Log in to the first NSX Edge device by using a Secure Shell (SSH) client.