OpenStack Networking Cookbook

Harness the power of OpenStack Networking for public and private clouds using 90 hands-on recipes
Preview in Mapt

OpenStack Networking Cookbook

Sriram Subramanian, Chandan Dutta Chowdhury

Harness the power of OpenStack Networking for public and private clouds using 90 hands-on recipes
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


OpenStack Networking Cookbook Book Cover
OpenStack Networking Cookbook
$ 39.99
$ 28.00
OpenStack Cloud Computing Cookbook - Third Edition Book Cover
OpenStack Cloud Computing Cookbook - Third Edition
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $44.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781785286100
Paperback282 pages

Book Description

Networking in OpenStack has evolved from Nova Network to Neutron. This has resulted in a rich suite of networking services available to OpenStack users and administrators. Advanced services such as routers, firewall, and load balancers use building blocks such as network and subnets. Recent improvements support powerful customization using plugins. The evolution of Neutron continues as it integrates with tools like Ceilometer and Heat.

This book will explore the built-in capabilities of Neutron to effectively deploy cloud solutions. You will begin with the most fundamental constructs of OpenStack Networking for switching and routing. You will then learn how to provide your tenants with services like firewalls and load-balancers. The step-by-step recipes will help you configure and troubleshoot networking problems in your cloud. This book will also introduce you to advanced topics like Ceilometer, Heat, and other upcoming tools in OpenStack

Table of Contents

Chapter 1: Getting Started with OpenStack Networking
Introduction
Creating a Subnet and Network using Horizon
Viewing the details of a Network using Horizon
Associating a Network to an instance using Horizon
Creating a Network using OpenStack CLI
Creating a Subnet using OpenStack CLI
Creating a Port without an associated instance using the OpenStack CLI
Associating a Port to an instance using OpenStack CLI
Configuring the networking quota in OpenStack
Chapter 2: Using Open vSwitch for VLAN-Based Networks
Introduction
Configuring Neutron to use the Open vSwitch mechanism driver
Configuring Neutron to use the VLAN type driver
Configuring the VLAN range to be used for the networks
Viewing the VLAN allotted for a Network
Creating a Network with a specific VLAN
Viewing the virtual interface information on the compute node
Viewing the virtual interface information on the Network node
Chapter 3: Exploring Other Network Types in Neutron
Introduction
Configuring Neutron to use the Linux bridge mechanism driver
Viewing the virtual interface information for Linux bridge on the compute node
Configuring Neutron to use a Flat network type
Creating a Flat Network using Horizon
Creating a Shared Network using Horizon
Creating an External Network using Horizon
Setting up a simple web application – an introduction
Setting up a simple web application – setting up OpenStack Networks
Setting up a simple web application – creating instances
Chapter 4: Exploring Overlay Networks with Neutron
Introduction
Configuring Neutron to use a VXLAN type driver
Configuring a VNI Range for VXLAN Networks
Viewing a VNI assigned to a Neutron Network
Creating a Network with a specific VNI
Viewing the virtual interface information on the compute node for VXLAN tunnels
Viewing the virtual interface information on the network node for VXLAN tunnels
Configuring Neutron to use a GRE type driver
Viewing a virtual interface on the compute node for GRE tunnels
Chapter 5: Managing IP Addresses in Neutron
Introduction
Creating an instance with a specific IP address
Configuring multiple IP addresses for a virtual interface
Creating a redundant DHCP server per OpenStack Network
Starting the DHCP server on a specific network node
Increasing the number of IP addresses in a Network using the Horizon dashboard
Chapter 6: Using Routing Services in Neutron
Introduction
Configuring Neutron for Routing services
Creating a Router using the Horizon dashboard and Neutron CLI
Enabling instances on different Networks to communicate
Allowing the Virtual Machine instances to access the Internet
Providing access to a Virtual Machine from an external Network or the Internet using Horizon
Creating and deleting a floating IP address using the Neutron CLI
Associating a floating IP address to a virtual machine using the Neutron CLI
Chapter 7: Using Neutron Security and Firewall Services
Introduction
Creating a security group using Horizon
Configuring the security group rules using Horizon
Creating a security group using CLI
Configuring the security group rules using CLI
Securing the traffic between instances on the same Network
Creating the security group rules to allow web traffic
Configuring Neutron for the Firewall service
Creating the Firewall rules
Creating the Firewall policies
Creating a Firewall
Viewing and verifying the Firewall rules on the Network node
Chapter 8: Using HAProxy for Load Balancing
Introduction
Installing and configuring the Neutron load balancer service plugin
Creating a load balancer pool using Horizon
Creating a load balancer pool using CLI
Adding a load balancer member using Horizon
Adding a load balancer member using CLI
Adding a load balancer health monitor using Horizon
Adding a load balancer health monitor using CLI
Creating a Virtual IP using Horizon
Creating a Virtual IP using CLI
Making the load balancer accessible to the Internet
Testing the load balancer
Viewing the load balancer on the network node
Chapter 9: Monitoring OpenStack Networks
Introduction
Monitoring the Virtual Machine bandwidth
Monitoring the L3 bandwidth
Monitoring the load balancer connection statistics
Monitoring the per project and per user bandwidth
Monitoring the host Network bandwidth
Chapter 10: Writing Your Own Neutron ML2 Mechanism Driver
Introduction
Creating a basic ML2 mechanism driver
Registering your ML2 mechanism driver with the Neutron server
Processing API requests for a Network
Processing API requests for a Subnet
Processing API requests for a Port
Chapter 11: Troubleshooting Tips for Neutron
Introduction
Troubleshooting a VM that does not get a DHCP IP address
Troubleshooting a VM that does not get an initial configuration
Troubleshooting a VM that does not get external Network access
Troubleshooting a VM not reachable from external Networks
Checking the status of the Neutron service
Checking the MAC address table on a virtual switch
Chapter 12: Advanced Topics
Introduction
Configuring Neutron for VPN as a service
Testing VPN as a service on Neutron
Using link aggregation on the compute node
Integrating networking in a Heat template

What You Will Learn

  • Operate OpenStack Networking for public and private clouds
  • Configure advanced routing services for your workloads
  • Secure data traffic using firewall-as-a-service capabilities of OpenStack
  • Discover how to leverage VXLAN to implement SDN in your OpenStack cloud
  • Monitor the virtual networks using Ceilometer
  • Develop plugins to enhance and customize OpenStack Networking
  • Provide HA and VPN connectivity for your virtual machines
  • Troubleshoot and solve common problems with OpenStack Networking

Authors

Table of Contents

Chapter 1: Getting Started with OpenStack Networking
Introduction
Creating a Subnet and Network using Horizon
Viewing the details of a Network using Horizon
Associating a Network to an instance using Horizon
Creating a Network using OpenStack CLI
Creating a Subnet using OpenStack CLI
Creating a Port without an associated instance using the OpenStack CLI
Associating a Port to an instance using OpenStack CLI
Configuring the networking quota in OpenStack
Chapter 2: Using Open vSwitch for VLAN-Based Networks
Introduction
Configuring Neutron to use the Open vSwitch mechanism driver
Configuring Neutron to use the VLAN type driver
Configuring the VLAN range to be used for the networks
Viewing the VLAN allotted for a Network
Creating a Network with a specific VLAN
Viewing the virtual interface information on the compute node
Viewing the virtual interface information on the Network node
Chapter 3: Exploring Other Network Types in Neutron
Introduction
Configuring Neutron to use the Linux bridge mechanism driver
Viewing the virtual interface information for Linux bridge on the compute node
Configuring Neutron to use a Flat network type
Creating a Flat Network using Horizon
Creating a Shared Network using Horizon
Creating an External Network using Horizon
Setting up a simple web application – an introduction
Setting up a simple web application – setting up OpenStack Networks
Setting up a simple web application – creating instances
Chapter 4: Exploring Overlay Networks with Neutron
Introduction
Configuring Neutron to use a VXLAN type driver
Configuring a VNI Range for VXLAN Networks
Viewing a VNI assigned to a Neutron Network
Creating a Network with a specific VNI
Viewing the virtual interface information on the compute node for VXLAN tunnels
Viewing the virtual interface information on the network node for VXLAN tunnels
Configuring Neutron to use a GRE type driver
Viewing a virtual interface on the compute node for GRE tunnels
Chapter 5: Managing IP Addresses in Neutron
Introduction
Creating an instance with a specific IP address
Configuring multiple IP addresses for a virtual interface
Creating a redundant DHCP server per OpenStack Network
Starting the DHCP server on a specific network node
Increasing the number of IP addresses in a Network using the Horizon dashboard
Chapter 6: Using Routing Services in Neutron
Introduction
Configuring Neutron for Routing services
Creating a Router using the Horizon dashboard and Neutron CLI
Enabling instances on different Networks to communicate
Allowing the Virtual Machine instances to access the Internet
Providing access to a Virtual Machine from an external Network or the Internet using Horizon
Creating and deleting a floating IP address using the Neutron CLI
Associating a floating IP address to a virtual machine using the Neutron CLI
Chapter 7: Using Neutron Security and Firewall Services
Introduction
Creating a security group using Horizon
Configuring the security group rules using Horizon
Creating a security group using CLI
Configuring the security group rules using CLI
Securing the traffic between instances on the same Network
Creating the security group rules to allow web traffic
Configuring Neutron for the Firewall service
Creating the Firewall rules
Creating the Firewall policies
Creating a Firewall
Viewing and verifying the Firewall rules on the Network node
Chapter 8: Using HAProxy for Load Balancing
Introduction
Installing and configuring the Neutron load balancer service plugin
Creating a load balancer pool using Horizon
Creating a load balancer pool using CLI
Adding a load balancer member using Horizon
Adding a load balancer member using CLI
Adding a load balancer health monitor using Horizon
Adding a load balancer health monitor using CLI
Creating a Virtual IP using Horizon
Creating a Virtual IP using CLI
Making the load balancer accessible to the Internet
Testing the load balancer
Viewing the load balancer on the network node
Chapter 9: Monitoring OpenStack Networks
Introduction
Monitoring the Virtual Machine bandwidth
Monitoring the L3 bandwidth
Monitoring the load balancer connection statistics
Monitoring the per project and per user bandwidth
Monitoring the host Network bandwidth
Chapter 10: Writing Your Own Neutron ML2 Mechanism Driver
Introduction
Creating a basic ML2 mechanism driver
Registering your ML2 mechanism driver with the Neutron server
Processing API requests for a Network
Processing API requests for a Subnet
Processing API requests for a Port
Chapter 11: Troubleshooting Tips for Neutron
Introduction
Troubleshooting a VM that does not get a DHCP IP address
Troubleshooting a VM that does not get an initial configuration
Troubleshooting a VM that does not get external Network access
Troubleshooting a VM not reachable from external Networks
Checking the status of the Neutron service
Checking the MAC address table on a virtual switch
Chapter 12: Advanced Topics
Introduction
Configuring Neutron for VPN as a service
Testing VPN as a service on Neutron
Using link aggregation on the compute node
Integrating networking in a Heat template

Book Details

ISBN 139781785286100
Paperback282 pages
Read More

Read More Reviews

Recommended for You

Learning OpenStack Networking (Neutron) Book Cover
Learning OpenStack Networking (Neutron)
$ 26.99
$ 18.90
Learning Docker Book Cover
Learning Docker
$ 39.99
$ 8.00
Mastering KVM Virtualization Book Cover
Mastering KVM Virtualization
$ 39.99
$ 28.00
OpenStack Essentials Book Cover
OpenStack Essentials
$ 23.99
$ 16.80
DevOps Automation Cookbook Book Cover
DevOps Automation Cookbook
$ 35.99
$ 25.20
OpenStack Cloud Computing Cookbook - Second Edition Book Cover
OpenStack Cloud Computing Cookbook - Second Edition
$ 29.99
$ 21.00