Configuring the VLAN range to be used for the networks

In order to use VLAN as the network type, Neutron requires a range of VLAN identifiers. Each OpenStack Network will be associated with a unique VLAN identifier. This recipe shows you how to configure this range of VLAN IDs.

Getting ready

The valid range for a VLAN ID is 1-4095. However, based on your OpenStack environment and the physical network, it is possible to use a subset of this range.

How to do it…

Configuring the VLAN ID range is a setting in the plugin configuration file. The following steps will show you how to set this range:

  1. With the appropriate credentials, SSH into the node where the Neutron server is running.
  2. Open the Neutron ML2 plugin configuration file using your desired editor. ...

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.