An IP prefix list contains single or multiple IP addresses that are assigned access permissions for route advertisement. The IP addresses in this list are processed sequentially. IP prefix lists are referenced through BGP neighbor filters or route maps with in or out direction.

About this task

For example, you can add the IP address 192.168.100.3/27 to the IP prefix list and deny the route from being redistributed to the northbound router. This means that with the exception of the 192.168.100.3/24 IP address all other IP addresses are going to be shared the router.

You can also append an IP address with less-than-or-equal-to (le) and greater-than-or-equal-to (ge) modifiers to grant or limit route redistribution. For example, 192.168.100.3/27 ge 24 le 30 modifiers match subnet masks greater than or equal to 24-bits and less than or equal to 30-bits in length.

Note:

The default action for a route is Deny. When you create a prefix list to deny or permit specific routes, be sure to create an IP prefix with a blank network address and the Permit action if you want to permit all other routes.

Prerequisites

Verify that you have a tier-0 logical router configured. See Create a Tier-0 Logical Router.

Procedure

  1. From your browser, log in to an NSX Manager at https://nsx-manager-ip-address.
  2. Select Routing from the navigation panel.
  3. Select the tier-0 logical router.
  4. Click the Routing tab and select IP Prefix Lists from the drop-down menu.
  5. Select Add.
  6. Assign a name for the IP prefix list.
  7. Click Insert Row to add a network address in the CIDR format.

    For example, 192.168.100.3/27.

  8. Select Deny or Permit from the drop-down menu.

    You grant or deny each IP address from being advertised, depending on your requirement.

  9. (Optional) : Set a range of IP address numbers in the le or ge modifiers.

    For example, set le modifier to 30 and ge modifier to 24.

  10. Click Save.

Results

The newly created IP prefix list appears in the row.