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

In Flat networking, the IP addresses for our instances are injected from a defined subnet of IP addresses at launch. To make this work, a network bridge is configured the same on each compute and network host in our cloud environment.

Tip

Only Linux distributions that keep their network information under /etc/network/interfaces support Flat networking.

Getting ready

To begin with, ensure you're logged into 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 ...

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