O'Reilly logo

OpenStack Cloud Computing Cookbook Second Edition by Cody Bunch, Kevin Jackson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 controller. If this was created using Vagrant we can access this using the following command:

vagrant ssh controller

If using the controller host created in Chapter 3, Starting OpenStack Compute, we will have three interfaces in our virtual instance:

  • eth0 is a NAT to the host running VirtualBox
  • eth1 is our floating (public) network (172.16.0.0/16)
  • eth2 is our fixed (private) network (10.0.0.0/8 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required