2 GRE tunnels on the same route?

matis25

Reputable
Apr 22, 2015
2
0
4,510
I have this topology (look at the picture please): I linked the topology picture in my google-drive
https://drive.google.com/file/d/0B0qQIXRmdXIYSE80Yzh3dHliNjg/view?usp=sharing
view


when I configure the second GRE tunnel to reach the loopbacks it dosen't work.
My configuration is this:
setp 1) I configured the physical interfaces, eigrp among routers but I didn't configure the loopbacks because they will be propagated with ospf using the GRE tunnels.
everything works properly. I'm able to ping the serials.
R3:
router eigrp 1
network 172.16.0.0 0.0.0.3
R2:
router eigrp 1
network 172.16.0.0 0.0.0.3
network 172.16.0.4 0.0.0.3
R1:
router eigrp 1
network 172.16.0.4 0.0.0.3

step 2) I configured GRE Tunnel between R3 -- R1 end then I configured ospf to propagate the loopbacks inside routing table of R3 and R1, everything works properly. I'm able to ping the loopbacks and the serials.
R3:
interface tunnel 1
tunnel mode gre ip
ip address 192.168.1.1 255.255.255.252
tunnel source s0/0/0
tunnel destination 172.16.0.5
router ospf 1
network 10.0.0.0 0.0.1.255 area 20
network 192.168.1.0 0.0.0.3 area 20

R1:
interface tunnel 1
tunnel mode gre ip
ip address 192.168.1.2 255.255.255.252
tunnel source s0/0/1
tunnel destination 172.16.0.1
router ospf 1
network 192.168.1.0 0.0.0.3 area 20
network 10.0.4.0 0.0.0.31 area 20

step 3) When I configure the second tunnel between router R1 -- R2 and ospf I'm not able to ping the loopbacks among routers. my configuration is:
R1:
interface tunnel 2
tunnel mode gre ip
ip address 192.168.1.5 255.255.255.252
tunnel source s0/0/1
tunnel destination 172.16.0.6
router ospf 2
network 192.168.1.4 0.0.0.3 area 0
network 10.0.4.0 0.0.0.31 area 20

R2:
interface tunnel 2
tunnel mode gre ip
ip address 192.168.1.6 255.255.255.252
tunnel source s0/0/1
tunnel destination 172.16.0.5
router ospf 2
network 192.168.1.4 0.0.0.3 area 0
network 10.0.2.0 0.0.0.255 area 0
network 10.0.3.0 0.0.0.255 area 0

where do I make an error? I am not able to ping among the loopbacks configured on each router...

Best regards and thanks in advance
Matteo
 
Solution
Without going back and digging to learn the restrictions I am going to bet it is because you have the loopback network defined in 2 different OSPF processes in router 1.

It is very unusual configuration to use multiple OSPF process on a single router. It will likely work if you just add 192.168.1.4 network to ospf process 1 on router 1.

If you really are using multiple processes for a reason then there are a bunch of strange restrictions.
Without going back and digging to learn the restrictions I am going to bet it is because you have the loopback network defined in 2 different OSPF processes in router 1.

It is very unusual configuration to use multiple OSPF process on a single router. It will likely work if you just add 192.168.1.4 network to ospf process 1 on router 1.

If you really are using multiple processes for a reason then there are a bunch of strange restrictions.
 
Solution


thanks, I am wrong to configure ospf process id, I have to configure the same process id on each ospf.
this topology is not real, it is an exercise for educational purposes, I have studied for three months my ccna certification.