Book Image

Learning OpenStack Networking (Neutron)

By : James Denton
Book Image

Learning OpenStack Networking (Neutron)

By: James Denton

Overview of this book

OpenStack Neutron is an OpenStack component that provides networking as a service for other OpenStack services to architect networks and create virtual machines through its API. This API lets you define network connectivity in order to leverage network capabilities to cloud deployments. Through this practical book, you will build a strong foundational knowledge of Neutron, and will architect and build an OpenStack cloud using advanced networking features. We start with an introduction to OpenStack Neutron and its various components, including virtual switching, routing, FWaaS, VPNaaS, and LBaaS. You’ll also get hands-on by installing OpenStack and Neutron and its components, and use agents and plugins to orchestrate network connectivity and build a virtual switching infrastructure. Moving on, you’ll get to grips with the HA routing capabilities utilizing VRRP and distributed virtual routers in Neutron. You’ll also discover load balancing fundamentals, including the difference between nodes, pools, pool members, and virtual IPs. You’ll discover the purpose of security groups and learn how to apply the security concept to your cloud/tenant/instance. Finally, you' ll configure virtual private networks that will allow you to avoid the use of SNAT and floating IPs when connecting to remote networks.
Table of Contents (21 chapters)
Learning OpenStack Networking (Neutron) Second Edition
About the Author
About the Reviewers

Configuring a virtual machine

Before an operating system is installed on the virtual machine, it is a good idea to configure the virtual network interfaces available to the machine through the following steps:

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

    Figure B.15

  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 that was created earlier:

    Figure B.16

  3. Adapter 2 should be enabled and attached to the internal network named overlay. Internal networks can be specified in the free-form text box labeled Name:

    Figure B.17

  4. Adapter 3 should be enabled and attached to the vboxnet1 host-only network created earlier. The Promiscuous Mode setting should be changed to Allow All in order to support 802.1q VLAN tagging between the virtual machines:

    Figure B.18

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

    Figure B.19


    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 infrastructure nodes to download the OpenStack software. The NAT network is a DHCP network that provides the virtual machines with an IP address and default route through the host machine.

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

Repeat these steps as necessary to configure additional virtual machines.