O'Reilly logo

OpenStack Cloud Computing Cookbook by 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 OpenStack API server.

If using the openstack1 host created in Chapter 1, 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)

In a physical production environment, that first interface wouldn't be present, and references ...

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