ā04-25-2016 09:28 AM - edited ā03-05-2019 03:53 AM
[[{"type":"media","fid":"1288046","view_mode":"default","link_text":null,"attributes":{"alt":"GRE Tunnel and IGP","title":"GRE Tunnel and IGP","height":"230","width":"829","class":"image-style-none media-element file-default"}}]]
Please see the picture above of two sites connected using FA 0/1 on R1 and R2 and a GRE Tunnel is formed.
Case 1:
We have a point-to-point connection between the two routers and the IP address assigned to FA 0/1 on R1 and R2 belong to same subnet. We then configure a GRE Tunnel on these as indicated in the topology:
My Question:
Case 2:
If Fa 0/1 on both the routers are just public IPs and actually don't belong to same subnet. Then i think we have to create a Tunnel between the two routers and then use the tunnel to peer the two routers for iGP.
My Question:
Please comment on both cases freely, I just creating these two cases to clear my mind.
Solved! Go to Solution.
ā04-25-2016 10:09 AM
Basically tunnel is Virtual Point to Point link between two routers. When you have two router physically connected by Point to point link in that case tunnel has no use but if you have two routers separated my many network hops then GRE or IPsec tunnel is useful and in this case tunnel give you the facility of Logical Point to Point network.
On tunnel You can run any routing protocol ospf,eigrp,BGP or Sttic route smiler like point to point interface between two routers.
Answer to your question on my view are as below
case 1
Case 2
Please always rate the useful post !
Regards,
Pawan (CCIE# 52104)
ā04-25-2016 09:54 AM
Hi, I am assuming that the GRE tunnel configuration include the WAN interfaces as the tunnel source and tunnel destination. In this same train of thought, you should avoid including source and destination in the IGP configuration. The reason for this is that at some point the IGP will distribute information of such source/destination through the tunnel itself, basically telling the router that the destination for the tunnel is "inside" the tunnel itself which makes no sense at all. This kind of problem is called "recursive routing" and will force the GRE interfaces to flap continuously. The way to prevent this is by avoiding these addresses to be distributed through the IGP or use static routes for the tunnel destination on each router, so that the preferred path to establish the GRE tunnel is always "outside" of the same tunnel. You can see more information about this error on the following link:
http://www.cisco.com/c/en/us/support/docs/ip/enhanced-interior-gateway-routing-protocol-eigrp/22327-gre-flap.html
The most common scenario in an exam or in real life is that there is no point-to-point connection between the routers, but public IPs that don't belong to the same subnet. In this case, the GRE tunnel allows you to connect the sites with a simulated "point-to-point" link that can run an IGP between the two sites and have all the advantages of a dynamic protocol running between the sites. In this case the IGP should only be running on the tunnel network, otherwise you will fall again in the recursive routing issue described above.
Also on a real scenario, you would like to add encryption to the GRE tunnel as well, since this type of encapsulation doesn't protect your data from someone looking into it.
ā04-25-2016 10:09 AM
Basically tunnel is Virtual Point to Point link between two routers. When you have two router physically connected by Point to point link in that case tunnel has no use but if you have two routers separated my many network hops then GRE or IPsec tunnel is useful and in this case tunnel give you the facility of Logical Point to Point network.
On tunnel You can run any routing protocol ospf,eigrp,BGP or Sttic route smiler like point to point interface between two routers.
Answer to your question on my view are as below
case 1
Case 2
Please always rate the useful post !
Regards,
Pawan (CCIE# 52104)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide