• Home
  • OpenStack
  • Configuring per tenant IP ranges for VLAN Manager – OpenStack

Configuring per tenant IP ranges for VLAN Manager – OpenStack

  • (4.0)
  • | 1157 Ratings

Your OpenStack environment must have an efficient, scalable, and manageable network infrastructure that addresses your immediate business needs and future growth. All nodes must communicate with each other through allocated networks.
Understanding the networking configuration options helps you design the best configuration for your Compute instances.
You can choose to either install and configure nova-network or use the OpenStack Networking service (neutron).
Tenants in OpenStack are a way of keeping user’s cloud resources separate and are also referred to as projects within Nova Network. In a tenant, there are a number of images, instances, and its own network resources assigned to it. When we create a tenant, we assign it its own VLAN with its own private and public ranges. For example, we may wish to create a development tenancy that is separate from the performance testing tenancy and live tenancies.

To gain in-depth knowledge and be on par with practical experience, then explore  OpenStack Training course.


Nova Networking uses the phrase project, which is synonymous to tenants created with keystone, as such the two terms are interchangeable when referring to projects.

Getting started

To begin with, ensure you’re logged in to the Controller server (our OpenStack VirtualBox Virtual Machine, controller, created in Starting Openstack Compute ). If this was created using Vagrant you can log into this box using the following command:

vagrant ssh controller

Frequently Asked OpenStack Interview Question & Answers

How to accomplish it…

In order to configure per-project (tenant) IP ranges, carry out the following steps:

1. First, on our keystone client, list the current projects, as follows:

This returns a list of projects in our example.

  • Now, let’s create another project named development; the project user will be demo. We do this as follows:
keystone tenant-create --name=development

An example of running the previous command is shown as follows:

  • This will return a project ID. Now let’s create a fixed IP range for this project. We will create a fixed range of To allocate this to our project, along with a new VLAN ID associated with this network, enter the following command:

How it works…

Creating IP address ranges for projects is done as part of creating new projects (tenants). We first create the project, which returns an ID that we use when creating that network, using the following syntax:

Explore OpenStack Sample Resumes! Download & Edit, Get Noticed by Top Employers!  Download Now!

Related Pages:
Openstack Tutorial

Subscribe For Free Demo

Free Demo for Corporate & Online Trainings. Protection Status