cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
313
Views
4
Helpful
3
Replies

GRE Tunnel

mahmoodmkl
Level 7
Level 7

Hi Guys,

Can anyone please explain what GRE tunnel is.Why it is used n where.

Thanks

Mahmood

3 Replies 3

andrew.prince
Level 10
Level 10

Mahmood,

The below link will explain the "what" and the "why":-

http://www.cisco.com/en/US/tech/tk827/tk369/tk287/tsd_technology_support_sub-protocol_home.html

HTH>

Jon Marshall
Hall of Fame
Hall of Fame

Mahmood

Just to add to Andrew's link. A GRE tunnel is basically a Point-to-point tunnel usually from one router to another eg.

router1 -> router2 -> router3 -> router4

You could create a GRE tunnel between router1 and router4 as long as router1 can reach router4 via IP and router4 can reach router1 via IP. So packets enter the tunnel on router1 and come out of the tunnel on router4.

There are a number of uses for GRE tunnels, probably the most common is to transport non-IP protocols across an IP network. So using the example above, lets say that router1 and router4 both run IPX but router2 and router3 don't and can't. You want IPX packets to be exchanged between router1 and router4 but because router2 and router3 can't run IPX you have a problem.

The solution is to create a GRE tunnel between router1 and router4. IPX packets travelling from router1 to router4 are encapsulated inside an IP header and are sent across the IP network. When they reach router4 they are de-encapsulated and they are now IPX packets again.

Hope this helps.

Jon

matej.polak
Level 1
Level 1

Also one of the uses is to make a Dynamic routing over Internet and a VPN tunnel possible.

You can have a Leased line and also an Internet backup advertised in your OSPF domain.

Mainly it is used to create a point to point link which simplifies the topology as the tunnel can cross a large network.

Review Cisco Networking products for a $25 gift card