![VMware NSX Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/66/36700066/b_36700066.jpg)
上QQ阅读APP看书,第一时间看更新
How to do it...
Here we'll go through the steps to configure dynamic routing on the Distributed Logical Router:
- Navigate to Networking & Security | NSX Edges
- Select the DLR-01 that was configured in the earlier recipe:
![](https://epubservercos.yuewen.com/9A3A27/19470395601577706/epubprivate/OEBPS/Images/586f8237-034f-4e82-9040-de92f035a590.png?sign=1738937030-1jyfgJsFnqQrwFiQ8uuiWxTeQzAv7GDv-0-221b83dc39ccb0391e1f06d349000956)
- Navigate to Manage | Routing | Global Configuration. Click Edit in the Dynamic Routing Configuration pane:
![](https://epubservercos.yuewen.com/9A3A27/19470395601577706/epubprivate/OEBPS/Images/02c201ac-dae3-4b0f-8b2e-318d4edbab70.png?sign=1738937030-7tPT394smjtWgOs9Yn5junrEJOReXPjH-0-20d5324a2b2d21a2540b48b6bf85b539)
- Choose the LS-TRANSIT logical switch as the router ID and select Enable Logging, with the Log Level set to Info, click OK to complete the configuration:
![](https://epubservercos.yuewen.com/9A3A27/19470395601577706/epubprivate/OEBPS/Images/dff6eb0a-6bd9-4a76-a66e-38e5e8e470e1.png?sign=1738937030-PBOe7JDwtO5Vzi2bKrNkbgLV2oJFMPsm-0-c6e99ae5c56e8b18ffaded08fd97b16e)
- Click Publish Changes.
- Select the BGP configuration menu under the Routing tab:
![](https://epubservercos.yuewen.com/9A3A27/19470395601577706/epubprivate/OEBPS/Images/a477bb6d-0982-46a1-863f-533c3ade2d89.png?sign=1738937030-JvaQ3wGrkykoPeZSjEq8f4IRUZDTlytz-0-9088db5271ef2311917dea2f348d840d)
- Select Edit on the BGP Configuration menu, configure the BGP AS number for private AS 64512, and click OK:
![](https://epubservercos.yuewen.com/9A3A27/19470395601577706/epubprivate/OEBPS/Images/f49d137f-e9a2-4b16-9490-146dff6eb9a7.png?sign=1738937030-HL3LvcSWL58uGWIa17Mecv1w2IZCa8VT-0-3e2dd2a6678feec0abecff61abf03bbf)
- Click Publish Changes.
- Select Add under the Neighbor configuration pane, configure as per the following screenshot, and click OK to complete:
![](https://epubservercos.yuewen.com/9A3A27/19470395601577706/epubprivate/OEBPS/Images/dabc203f-c5a8-49c9-8ca3-f2b9d5ea2c68.png?sign=1738937030-THcOF0u5rsUOMzHnpNGVkHMgJMBrMM8P-0-939dfd0b1c1ea5fb22a437c2fa868143)
- Click Publish Changes:
![](https://epubservercos.yuewen.com/9A3A27/19470395601577706/epubprivate/OEBPS/Images/0dc540c6-be11-4327-96f1-9ad99f571eca.png?sign=1738937030-gskNkZkW43RwQBvwTDzid02l44Iunazx-0-f8207dc3f3ccffb57da24f4546cb149c)
- Navigate to the Route Redistribution configuration pane
- Select Edit under the Route Redistribution Status pane:
![](https://epubservercos.yuewen.com/9A3A27/19470395601577706/epubprivate/OEBPS/Images/b13b206b-b7e1-487d-8ccc-db6c66918d3a.png?sign=1738937030-6GZq5ssoqdppjYn967MMIiNX4k45XmJB-0-b08c9de0c21149d73979a0f8b5e6f849)
- Change the route redistribution from OSPF to BGP, as per the following screenshot. Click OK to complete:
![](https://epubservercos.yuewen.com/9A3A27/19470395601577706/epubprivate/OEBPS/Images/19b75c90-2bec-4089-a0ed-243924ac25f2.png?sign=1738937030-p3bvxJmxvRWCkOR3j5QIyAh5JESJ4PEd-0-645a938b4bb85842f0a2f020c5ba9d0e)
- Under the route redistribution table pane, click Add:
![](https://epubservercos.yuewen.com/9A3A27/19470395601577706/epubprivate/OEBPS/Images/37e95221-a5ef-4cf1-991f-5a1e483f9a8f.png?sign=1738937030-tGAvWLMLfTXS0pD35cvc7LohI8wTC67e-0-972abba3f783c20b2cb3edf2c04d7b7c)
- Click Publish Changes.
- Navigate to Global Configuration and review the routing configuration is the same as the following screenshot to complete:
![](https://epubservercos.yuewen.com/9A3A27/19470395601577706/epubprivate/OEBPS/Images/e08e0f43-cfee-4191-8e72-568c48c443a2.png?sign=1738937030-lpLVGo481Qa1PulqRwfdRyH8nBZpoKrE-0-723acfedea99e1a64977941a3e173103)