Hi Rene:
First of all, thanks for the lab. I'm trying to do it but I have some problemas with the tunneling. Could you put the routers configuration in order to check my solution?
Thanks in advance,
GRE Tunnel Basic
{difficulty}3{/difficulty}
Scenario:
You are working for Company "BigLabs" and you have heard some colleague network engineers talk about VPN tunnels and how they were unable to send routing protocols across the VPN tunnels. You also heard that a GRE tunnel could possible solve this problem. Let's see what this is all about and lab it up!
Goal:
- Configure all IP addresses as specified in the topology picture.
-
Configure a loopback interface on Router Godzilla and Nessie:
Godzilla: Loopback0: 1.1.1.1 /24
Nessie: Loopback0: 3.3.3.3 /24 - Configure EIGRP AS1 on all 3 routers, only advertise the 192.168.12.0 and 192.168.23.0 network, do not advertise the loopbacks.
- Ensure Router Godzilla and Nessie can ping each other.
- Configure a GRE tunnel between Router Godzilla and Nessie.
-
Configure the 192.168.13.0 /24 network on the GRE tunnel:
Godzilla: 192.168.13.1
Nessie: 192.168.13.3 - Ensure you can ping the IP addresses that you configured on the tunnel interface.
-
Configure another loopback interface on Router Godzilla and Nessie:
Godzilla: Loopback1: 11.11.11.11 /24
Nessie: Loopback1: 33.33.33.33 /24 - Configure OSPF and use network commands to advertise the network on the GRE tunnel.
- Advertise Loopback1 in OSPF on Router Godzilla and Nessie.
- Ensure you establish a OSPF neighbor relationship and that you see the loopback1 interfaces in the routing table.
IOS:
c3640-jk9s-mz.124-16.bin
Topology:
You need to register to be able to download the GNS3 Topology File. (Registration is Free!)

Video Solution:
- Related Articles
Comments (21)
-
usrah 2010-11-11 13:11:11
-
ReneMolenaar 2010-11-26 18:38:44Hi Luis,
Do you still have your configs? drop them here and i'll take a look.
-
ebalmon 2010-12-30 20:42:08Hi Rene, Thanks for the lab and congratulation for the page. Could you check it? If I can see the network 33.33.33.0/24 know by a OSPF update, I guess is work right? Thanks for your time
Godzilla#sh ip route
Gateway of last resort is not set
C 192.168.12.0/24 is directly connected, FastEthernet0/0
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
C 192.168.13.0/24 is directly connected, Tunnel0
33.0.0.0/32 is subnetted, 1 subnets
O 33.33.33.33 [110/11112] via 192.168.13.3, 00
1:10, Tunnel0
D 192.168.23.0/24 [90/30720] via 192.168.12.2, 00:44:47, FastEthernet0/0
11.0.0.0/24 is subnetted, 1 subnets
C 11.11.11.0 is directly connected, Loopback1
-
ReneMolenaar 2011-01-02 11:22:27If you see the OSPF update you can assume it's working correctly. A better idea is to use some show and debug commands to confirm that it's actually working.
-
venomriser 2011-03-06 11:01:10Rene,
i can up the tunnel. My line protocol stays down. any reason?
I used the fe interface as source.
-
venomriser 2011-03-06 11:01:57sorry, i can't bring up the tunnel.
-
xtophe02 2011-05-05 11:58:56***********Godzilla************
host Godzilla
line con 0
logg sy
int f0/0
ip add 192.168.12.1 255.255.255.0
no sh
!
int l0
ip add 1.1.1.1 255.255.255.0
!router eigrp 1
netw 192.168.12.0 0.0.0.255
!
int tun 0
ip add 192.168.13.1 255.255.255.0
tu so f0/0
tu des 192.168.23.3
!
int l1
ip add 11.11.11.11 255.255.255.0
!
router ospf 1
!netw 192.168.12.0 0.0.0.255 are 0
netw 1.1.1.1 0.0.0.255 are 0
netw 11.11.11.11 0.0.0.255 are 0
netw 192.168.13.0 0.0.0.255 are 0
!
***********KingKong************host KingKong
line con 0
logg sy
int f0/0
ip add 192.168.12.2 255.255.255.0
no sh
int f1/0
ip add 192.168.23.2 255.255.255.0
no sh
!
router eigrp 1
netw 192.168.12.0 0.0.0.255
netw 192.168.23.0 0.0.0.255
!***********nessie********
host Nessie
line con 0
logg sy
int f0/0
ip add 192.168.23.3 255.255.255.0
no sh
!
int l0
ip add 3.3.3.3 255.255.255.0
!
router eigrp 1
netw 192.168.23.0 0.0.0.255
!
!
int tun 0
ip add 192.168.13.3 255.255.255.0
tu so f0/0
tu des 192.168.12.1
!
int l1
ip add 33.33.33.33 255.255.255.0
!
router ospf 1
!netw 192.168.23.0 0.0.0.255 are 0
netw 192.168.13.0 0.0.0.255 are 0
netw 3.3.3.3 0.0.0.255 are 0
netw 33.33.33.33 0.0.0.255 are 0
!
-
ReneMolenaar 2011-10-07 11:05:09Glad you like it!
-
ersanka 2011-11-20 14:35:35Thanks for this Lab. Useful abd clear one for solid understanding.

-
ReneMolenaar 2011-11-24 20:55:20Thanks Ersan

-
BS 2011-11-27 04:20:18Hi,
1) We have configured loop back 0 (1.1.1.1 and 3.3.3.3)but never used it in GRE-config. Is this loop back not required for GRE?.
2) On tunnel interfaces, we assigned IPs 192.168.13.1 and 192.168.13.3 but we never used that too so we can assign any random IPs on tunnel interface. Then why we have given that IP?
-
ReneMolenaar 2011-12-09 21:00:04On all the routers EIGRP is configured for basic connectivity. This way we can create a GRE tunnel between the two routers, otherwise they don't know how to reach each others IP address.
We use the IP addresses on the GRE tunnel so we can establish an OSPF adjacency between the two routers, the loopbacks are advertised in OSPF and learned through the GRE tunnel.
-
rjvelazquez 2012-08-12 14:42:14Is GNS3 still having problems loading configs from projects? Every time I load a project from a .net file downloaded from here the startup configs never load with the project, so what I am I doing wrong? Is there a special way to load the .net file with project open to get the configs at the same time?
-
rjvelazquez 2012-08-12 16:07:02Never mind I see that that there is no original configs, you start out with no configs in the routers and config from scratch in the lab, sorry for the confusion.
-
ReneMolenaar 2012-08-24 16:00:27Most of my labs do have startup-configs, seems like i still have to fix this one...
-
ostinlt 2012-09-12 13:50:28Hi. If using IPIP encap instead of GRE in a prod environment(over an MPLS network), do you think it that the tunnel can handle the load if the remote connection is a stub area connection, and bandwidth statement added to the tunnel to raise its priority in OSPF?
I realize that GRE tunnels bw is 9k which makes it undesirable for sites with multiple links.
-
Hopkins 2012-12-23 14:51:40I love your labs man, you're easy to follow and accurate! You really have been helping my skill set ^-^
-
udaya.selvan.a 2013-01-04 10:16:08Rene,
I've been spending quite some time on your site & am really delighted to learn lot of stuff in a simple way. You're just amazing with your tech skills. Please do continue to post...
Building a single GRE tunnel, it worked. Let's say, i've 5 sites & i want to build a static tunnel between all these 5 sites...
Can you please tell me what will be the source & destination IP for each tunnel?
Would you be able to shed some light on this?
-
funnybaai 2013-01-20 00:17:31Cheers. Watched all 4 in this section and labbed them up. Many thanks. I need some more time in the day for all the vids.
-
rwbow2003 2013-05-12 12:18:42great lab, thanks for posting it, it has all the information needed to start off doing tunneling





