VMware Networking Community
m1xed0s
Enthusiast
Enthusiast

IP prefixes configuration for NSX Route redistribution

The configuration itself of IP prefix or route distribution is pretty straight forward IMHO but what I want to ask here is related to document below for route distribution.

Configure Route Redistribution

There is paragraph saying "The IP prefix entered will be exactly matched, except if you include less-than-or-equal-to (LE) or greater-than-or-equal-to (GE) modifiers." inside above linked document. VSPHERE Client UI only allow you to create an IP Prefix as "10.10.0.0/16" format. It doesnot accept format like "10.10.0.0/16 LE 24". So where to configure the LE or GE for prefix in NSX as document stated?

Reply
0 Kudos
5 Replies
lhoffer
VMware Employee
VMware Employee

When you create the prefix, there are separate fields where you can enter a GE or LE value to associate with it:

pastedImage_0.jpg

Reply
0 Kudos
m1xed0s
Enthusiast
Enthusiast

Okey, but why mine doesnot have those two fields with NSX 6.3.1.

Capture.JPG

Reply
0 Kudos
lhoffer
VMware Employee
VMware Employee

Interestingly the VMware NSX for vSphere 6.4.0 Release Notes​ show the ability to filter routes for redistribution with LE/GE as a new feature despite the fact that as you've pointed out, there are references to the capability in the admin guides for prior releases.  I don't have a 6.3 environment to test with, but you might try adding the <ipPrefixGe></ipPrefixGe> or <ipPrefixLe></ipPrefixLe> parameters to your prefix via the API to see whether perhaps it's just something that wasn't available in the UI until 6.4.  If that doesn't work, let me know and we can at least get a documentation bug filed to correct that.

Reply
0 Kudos
m1xed0s
Enthusiast
Enthusiast

Do you mean try “10.10.0.0/16LE24” without quotes in UI?

Reply
0 Kudos
lhoffer
VMware Employee
VMware Employee

No, I'm referring to configuring it via the API instead of the UI.  Full guide available at https://docs.vmware.com/en/VMware-NSX-for-vSphere/6.3/nsx_63_api.pdf​ 

Reply
0 Kudos