Configuring per tenant IP ranges for VLAN Manager – OpenStack

Recommended by 0 users

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.


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

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:

# Use the admin token
export ENDPOINT= 
export SERVICE_ENDPOINT=http://${ENDPOINT}:35357/v2.0 keystone tenant-list

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:
sudo nova-manage network create \--label=development \ -
-fixed_range_v4= \ --
project_id=bfe40200d6ee413aa8062891a8270edb \ --

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:

sudo nova-manage network create \ --
label=project_name \ --
fixed_range_v4=ip_range_cidr \ --
bridge_interface=interface \
--project_id=id --vlan=vlan_id


Related Pages:

Sample Resume:

Interview Questions:



0 Responses on Configuring per tenant IP ranges for VLAN Manager – OpenStack"

Leave a Message

Your email address will not be published. Required fields are marked *

Copy Rights Reserved © Mindmajix.com All rights reserved. Disclaimer.
Course Adviser

Fill your details, course adviser will reach you.