My Oracle Support Banner

Oracle Linux: How to Configure a GRE Tunnel for Host-to-Host Connectivity or for Site-to-Site Connectivity. (Doc ID 2296085.1)

Last updated on JUNE 09, 2020

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64


This document describes how to configure a GRE (Generic Routing Encapsulation) tunnel on Oracle Linux for host-to-host connectivity or for site-to-site connectivity. The tunneling principle in either scenario remains the same.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Load the ip_gre Driver
 Configure a Host-to-Host Tunnel
 Verify Host-to-Host Connectivity
 Configure a Site-to-Site Tunnel
 Verify Site-to-Site Connectivity
 More on GRE Packets

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.