Configure route redistribution in NSX
Route Redistribution has to be configured for cross-protocol route sharing, meaning a Distributed Logical Router (DLR), or Edge Services Gateway (ESG) is using more than one routing protocol.
Step 1. Log into the vSphere Web Client and navigate to Networking & Security -> NSX Edges and double click the Edge device for which you would like to configure Route Redistribution
Step 2. Select Routing -> Route Redistribution and hit the Edit Button at the top right. Select which protocols you are using, then click OK
Step 3. Optionally, if you have IP Prefixes – Click the + sign under IP Prefixes, specify the Name and IP/Network (CIDR) then click ok.
Step 4. Click the + sign under Route Redistribution table then specify the Prefix (if applicable), Learner Protocol, Allow Learning From and Action then click OK.
Note: Learner protocol is the protocol that will learn the routes from the other protocols. Allow Learning From, will be the protocols from which the routes should be learned.
Step 5. Click Publish Changes
4 Comments
Sean, is mutual redistribution allowed or is there any restriction?
Hi Mauricio,
I don’t think there is a restriction, you can see the documentation on the multiple dynamic routing protocols here.
https://pubs.vmware.com/NSX-6/index.jsp?topic=%2Fcom.vmware.nsx.admin.doc%2FGUID-6DE97E5F-A147-4294-B162-08CB90B2699A.html
Sean
Hi Sean
In which scenario will be the IP Prefix needs to be configured & used.
What is the purpose of this.
IP prefix is when you want to specify a specific subnet or prefix to redistribute. If you don’t use the prefix option, you will redistribute everything from one protocol to another which is not very scalable.