Issue link: https://read.uberflip.com/i/1334488
OpenStack Networking 198 How it works... FlatManager networking is useful for small proof-of-concept environments. They only work for Linux systems that support networking set in /etc/network/interfaces and are limited to a single network and project. In order to make FlatManager work, we must manually configure our hosts with the same bridging, which is set to br100, as specified in /etc/nova/nova.conf: --flat_network_bridge=br100 When our instance spawns, it will be given an address in the range that we have specified: 10.0.1.0 - 10.0.1.254, which we specified with the following command: nova-manage network create --fixed_range_v4=ip_range --label label --bridge bridge Note that we also don't assign an IP address to the interface that acts as our bridge—in our case, eth2. Configuring Flat networking with DHCP In Flat networking with DHCP, the IP addresses for our instances are assigned from a running DHCP service on the OpenStack Compute host. This service is provided by dnsmasq. As with Flat networking, a bridge must be configured manually in order for this to function. 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. www.it-ebooks.info

