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 ...

Get OpenStack Networking Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.