Book Image

OpenStack Networking Cookbook

Book Image

OpenStack Networking Cookbook

Overview of this book

Table of Contents (19 chapters)
OpenStack Networking Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring Neutron to use a GRE type driver


As described earlier, tunneled networks can also be implemented using the Generic Routing Encapsulation (GRE) protocol. GRE is a general-purpose point-to-point encapsulation protocol. The GRE header contains a 32-bit key which is used to identify a flow or virtual network in a tunnel.

This recipe shows you how to configure the OpenStack Neutron in order to use GRE for virtual networking.

Getting ready

For this recipe, we will need the following information:

  • An SSH-based access to the OpenStack controller node

  • The IP address for the tunnel endpoint

  • A range of tunnel IDs

How to do it…

The following steps will show you how to configure the GRE type driver for the ML2 plugin:

  1. With the appropriate credentials, SSH into the node where the Neutron server is running. In our setup, it will be the controller and network node.

  2. Open the Neutron ML2 plugin configuration file using your desired editor. For example, the command for the vi editor will be as follows:

    openstack...