Configuring a VNI Range for VXLAN Networks

In this recipe, we will see how to configure Neutron with the ML2 plugin in order to use a VXLAN Network Identifier (VNI) range. The ML2 plugin allows the customization of the range of VNI numbers in order to uniquely identify the virtual networks. VXLAN can support up to 16 million unique VNIs.

Getting ready

For this recipe, you will need the following information:

  • The SSH login credentials for the OpenStack controller node
  • The VNI range to configure for the VXLAN-based virtual networks

How to do it…

The following steps will show you how to configure the VNI range for the ML2 plugin:

  1. With the appropriate credentials, SSH into the node where the Neutron server is running. In our setup, it will be the controller ...

Get OpenStack Networking Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.