OpenStack Networking Essentials
eBook - ePub

OpenStack Networking Essentials

  1. 174 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

OpenStack Networking Essentials

About this book

Build and manage networks in OpenStack using Neutron

About This Book

  • Deploy an all-in-one cloud based on OpenStack Liberty (2015.2) using RDO
  • Learn the fundamentals of the Neutron API including networks, subnets, and ports, and how to manage these resources in the cloud
  • Build simple virtual network infrastructures in the cloud

Who This Book Is For

The book is for those who are new to OpenStack and Neutron who want to learn the cloud networking fundamentals and get started with OpenStack networking. Prior networking experience along with a virtual or physical server is recommended to follow along with the concepts demonstrated in the book.

What You Will Learn

  • Install the latest Liberty (2015.2) release of OpenStack using RDO in VirtualBox
  • Discover the basics of the Neutron API, including networks, subnets, and ports
  • Interact with Neutron using the CLI and Horizon dashboard
  • Create networks and subnets that provide connectivity to instances
  • Implement software routers that connect networks and provide network address translation
  • Secure instances using Neutron's security group functionality

In Detail

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.

Style and approach

An easy-to-follow guide that covers the networking features of OpenStack and the core Neutron API components providing a solid foundation to deploy networks and instances.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Information

OpenStack Networking Essentials


Table of Contents

OpenStack Networking Essentials
Credits
About the Author
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. OpenStack Networking Components – an Overview
Features of OpenStack Networking
Switching
Routing
Advanced networking features
Load balancing
Firewalling
Virtual private networks
The OpenStack architecture
A reference architecture
Implementing the network
Plugins and drivers
Neutron agents
The DHCP agent
The metadata agent
The network plugin agent
Summary
2. Installing OpenStack Using RDO
System requirements
The initial network configuration
Example networks
Interface configuration
Connect to the host
Initial steps
Permissions
Install network utilities
Set the hostname
Install Network Time Protocol (NTP)
Disable NetworkManager
Upgrade the system
Install RDO using Packstack
Download RDO
Configure the answer file
Install RDO
Verify connectivity to OpenStack
Verify connectivity to the dashboard
Additional installation tasks
Create a security group rule
Create a demo project and user
Configure the keystone_demo file
Upload an image to Glance
Summary
3. Neutron API Basics
Networks
Network attributes
Provider attributes
Additional attributes
Subnets
Ports
The Neutron workflow
Booting an instance
How the logical model is implemented
Deleting an instance
Summary
4. Interfacing with Neutron
Using the Horizon dashboard
Managing resources within a project
Creating networks within a project
Viewing the network topology
Managing resources as an administrator
Using the Neutron client
Creating and listing networks
Creating a network
Creating a subnet
Summary
5. Switching
The basics of switching in OpenStack
Using Linux bridges
Using Open vSwitch
Network types
Local networks
Flat networks
VLAN networks
VXLAN networks
GRE networks
A look at our environment
Getting a closer look
Summary
6. Routing
The basics of routing in Neutron
Network namespaces
Connectivity through a router
Outbound connectivity
Inbound connectivity
Types of routers
Standalone routers
Highly available routers
Distributed virtual routers
Managing routers in the dashboard
Creating routers within a project
Viewing the network topology
Managing routers as an administrator
Managing routers with the Neutron client
Creating and listing routers
Creating a router
Adding an interface
Listing router interfaces
Examining the routers
Summary
7. Building Networks and Routers
Using provider networks
Creating a provider network
Booting an instance
Accessing the instance
Using a Neutron router
External provider networks
Attaching the router to an external provider network
Booting an instance
Testing connectivity
Observing SNAT behavior
Assigning a floating IP
Testing connectivity via floating IP
Multiple routers
Advanced networking
Summary
8. Security Group Fundamentals
Security groups in OpenStack
Using security groups
The default security group
Managing security groups
Using CIDR to control traffic
Applying security groups to instances and ports
Working with security groups in the dashboard
Creating a security group
Managing security group rules
Applying security groups to instances
Caveats
Port security
Allowed address pairs
Disabling port security
Summary
A. Configuring VirtualBox
Configuring VirtualBox networking
Configuring host-only networks
Creating a virtual machine
Configuring a virtual machine
Installing the CentOS operating system
Attaching the ISO to the virtual machine
Starting the virtual machine
Configuring virtual machine networking
Accessing the virtual machine
Configuring network interfaces
Accessing a virtual machine over SSH
Index

OpenStack Networking Essentials

Copyright © 2016 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations...

Table of contents

  1. OpenStack Networking Essentials

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access OpenStack Networking Essentials by James Denton in PDF and/or ePUB format, as well as other popular books in Computer Science & System Administration. We have over one million books available in our catalogue for you to explore.