Issue link: https://read.uberflip.com/i/1334488
Chapter 10 201 When creating the fixed (private) range using nova-manage network create, we assign this fixed range to a particular tenant (project). This allows us to have specific IP ranges that are isolated from different projects in a multi-tenant environment. When our instance boots up, our dnsmasq service that is running on our nova-network host assigns an address from its dhcp pool to the instance. Also note that we don't assign an IP address to the interface that we connect to our bridge, in our case eth2. We simply bring this interface up so we can bridge to it (and therefore forward traffic to the instance interfaces that are bridged to it). Configuring VLAN Manager networking VLAN Manager networking is the default networking mode in OpenStack. When VLAN mode is configured, each project (or tenancy) has its own VLAN and network assigned to it. Any intermediary physical switches must however support 802.1q VLAN tagging, for this to operate. Virtual switches in our sandbox environment support VLAN tagging. Getting ready To begin with, ensure you're logged in to the OpenStack API server. If using the openstack1 host created in Chapter 1, Starting OpenStack Compute, we will have three interfaces in our virtual instance: f eth0 is a NAT to the host running VirtualBox f eth1 is our floating (public) network (172.16.0.0/16) f eth2 is our fixed (private) network (10.0.0.0/8) In a physical production environment, that first interface wouldn't be present, and references to this NATed eth0 in the following section can be ignored. How to do it... 1. OpenStack requires bridging in order for any of the network modes to work. The bridge tools are installed as dependencies when installing the OpenStack nova-network package, but if they aren't installed you can issue the following commands. As we are also configuring VLANs, the required package to support VLANs must also be installed: sudo apt-get update sudo apt-get -y install bridge-utils vlan www.it-ebooks.info

