Book Image

OpenStack Networking Essentials

By : James Denton, Derek Chamorro
Book Image

OpenStack Networking Essentials

By: James Denton, Derek Chamorro

Overview of this book

The OpenStack Networking API offers users the ability to create and manage both basic and complex network architectures that blend the virtual and physical network infrastructure. This book kicks off by describing various components of Openstack Neutron and installing Ubuntu OpenStack based on Canonical's process. Further on, you will use various methods to interface with Neutron to create and manage network resources. You will also get to grips with the relationship between ports, networks, and subnets through diagrams and explanations, and see how the logical components are implemented via plugins and agents. Moving forward, you will learn how virtual switches are implemented and how to build Neutron routers. You will also configure networks, subnets, and routers to provide connectivity to instances using simple examples. At the end, you will configure and manage security groups, and will observe how these rules translate to iptables rules on the host machines. By the end of the book, you will be able to build basic network architectures using Neutron networks and routers in no time.
Table of Contents (15 chapters)
OpenStack Networking Essentials
Credits
About the Author
www.PacktPub.com
Preface
Index

Configuring a virtual machine


Before the operating system is installed on the virtual machine, it is a good idea to configure the virtual network interfaces available to the machine. Follow these steps to configure the virtual machine:

  1. From Oracle VM VirtualBox Manager, choose the virtual machine and click on the Settings icon. A window will appear that defaults to the General settings:

  2. Click on the Network icon to modify the network interfaces presented to the virtual machine. The first adapter available, Adapter 1, should be enabled and attached to the vboxnet0 host-only network created earlier:

  3. Adapter 2 should be enabled and attached to the vboxnet1 host-only network created earlier. The Promiscuous Mode setting should be changed to Allow All:

  4. Adapter 3 should be enabled and attached to the NAT network:

    Note

    By default, VirtualBox provides a NAT network that allows virtual machines to use the host machine for outbound network access. This network is required for the virtual OpenStack node to download the OpenStack software.

  5. Click on the OK button to complete the network adapter configuration process and close the settings window.