Cisco GRE Tunnel with VRF Configuration Example: Step-by-Step Guide
GRE Tunnel with VRF Configuration Example

This document provides a sample configuration for a VPN routing and forwarding ( VRF ) instance under a generic routing encapsulation ( GRE ) tunnel interface.

Introduction This document provides a sample configuration for a VPN routing and forwarding ( VRF ) instance under a generic routing encapsulation ( GRE ) tunnel interface.
GRE Tunnel With VRF Configuration Example

This document provides a sample configuration for a VPN routing and forwarding ( VRF ) instance under a generic routing encapsulation ( GRE ) tunnel interface. The information in this document was created from the devices in a specific lab environment. If your network is live, make sure that you understand the potential impact of any command.
The below example explain about how to create simple GRE tunnels between endpoints and the necessary steps to create and verify the GRE tunnel between the two networks.R1's and R2's Internal subnets (192.168.1./24 and 192.168.2./24) are communicating with each other using GRE tunnel over internet.Both Tunnel interfaces are part of the 172.16 ...

VRF through GRE Tunnel
One more thing, the tunnel source and destination need to be reachable via the global routing table, unless you config " tunnel vrf RED" in the tunnel interface.
This article explains how the GRE tunnel works and provides an example of GRE topology, configuration , and verification commands.

How to configure GRE Tunnel in CISCO Router
Example Scenario A sample scenario is created below to make audience more clear on configuring GRE Tunnel across sites. Shown above are 2 Sites Site A and Site B. Site A has LAN subnet 1.1.1.0/24 and WAN (Internet) IP 200.200.200.1 while Site B has LAN subnet as 2.2.2.0/24 and WAN (Internet) IP 100.100.100.1.We need to configure a GRE tunnel across both the sites for LAN to LAN communication ...
The overlay network of a point-to-point GRE tunnel is separated from the underlay network by VRF . Then, the overlay network must be associated with the underlay network.The tunnel vrf command is the configuration command for this purpose.

GRE Tunnel on Cisco IOS Router
GRE Tunneling encapsulates packets so that they can be tunneled. I'll show you how this works on a Cisco IOS router.







Then we configure the tunnel vrf command. This tells the tunnel to establish over this VRF . The tunnel goes through this VRF , and the contents of the tunnel pop out in the ip vrf forwarding VRF . Summary GRE Tunnels are sometimes a necessary tool to make things work, and sometimes it's important just to make things work.