Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

GRE Tunnel?

Could someone explain this concept to me?

What other types are there? And how do you configure a GRE Tunnel?

3 REPLIES

Re: GRE Tunnel?

Hello,

the tunnel can be configured like this (minimal config):

interface Tunnel1

ip address 10.1.1.1 255.255.255.252

tunnel source 2.2.2.2

tunnel destination 3.3.3.3

! tunnel mode gre

! this is default and thus not really needed

The idea is to encapsulate traffic (IP and non-IP) into an IP header and to transport it to the tunnel destination, where the gre header will be removed.

This is f.e. useful, when you want to send non-IP traffic across the internet with IPSec encryption.

IPSec could not handle non-IP traffic, but with GRE, you create an IP header and thus IPSec can handle it.

Hope this helps! Please rate all posts.

Regards, Martin

New Member

Re: GRE Tunnel?

Much appreciate the response.

One quick clearification: The section:

tunnel source xx.xx.

tunnel destination xx.xx.

So if I were setting this GRE Tunnel on a router on Site A going to Site B, would the source be the IP address of the WAN interface of Router A, and the destination being the WAN interface IP of Router B?

Hall of Fame Super Silver

Re: GRE Tunnel?

The answer is that it can work correctly configured in different ways. In many cases the source and destination addresses are the WAN interfaces of the routers. But in the case where there might be two WAN interfaces it is prefereble to configure the source and destination addresses as loopback interfaces.

The GRE tunnel can work with source and destination address as WAN, as Loopback, or even as LAN. The only real requirement is that the tunnel destination address must be reachable without going through the tunnel to get to the destination.

HTH

Rick

168
Views
10
Helpful
3
Replies
CreatePlease login to create content