cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1341
Views
0
Helpful
1
Replies

OSPF over a DMVPN

Hey everyone,

In this lab I'm trying to run OSPF over a DMVPN tunnel but the routers won't become neighbours.

 

R1#sh ip ospf  neighbor 

Neighbor ID     Pri   State           Dead Time   Address         Interface
2.2.2.2           0   INIT/  -        00:00:32    172.16.0.2      Tunnel0

R1#sh crypto isakmp sa 
IPv4 Crypto ISAKMP SA
dst             src             state          conn-id status
192.168.0.2     192.168.0.6     QM_IDLE           1018 ACTIVE
192.168.0.2     192.168.0.6     MM_NO_STATE       1017 ACTIVE (deleted)


*Jun 15 23:39:00.867: OSPF-1 PAK  : Tu0: OUT: 172.16.0.1->224.0.0.5: ver:2 type:1 len:48 rid:1.1.1.1 area:0.0.0.0 chksum:E694 auth:0
R1#
*Jun 15 23:39:06.768: OSPF-1 PAK  : Tu0:  IN: 172.16.0.2->224.0.0.5: ver:2 type:1 len:44 rid:2.2.2.2 area:0.0.0.0 chksum:E89A auth:0

 


zR2#sh ip ospf neighbor R2# R2#sh crypto isakmp sa IPv4 Crypto ISAKMP SA dst src state conn-id status 192.168.0.2 192.168.0.6 QM_IDLE 1018 ACTIVE *Jun 15 23:46:05.472: OSPF-1 PAK : Tu0: OUT: 172.16.0.2->224.0.0.5: ver:2 type:1 len:44 rid:2.2.2.2 area:0.0.0.0 chksum:E89A auth:0 R2# *Jun 15 23:46:15.515: OSPF-1 PAK : Tu0: OUT: 172.16.0.2->224.0.0.5: ver:2 type:1 len:44 rid:2.2.2.2 area:0.0.0.0 chksum:E89A auth:0 R2# *Jun 15 23:46:24.868: OSPF-1 PAK : Tu0: OUT: 172.16.0.2->224.0.0.5: ver:2 type:1 len:44 rid:2.2.2.2 area:0.0.0.0 chksum:E89A auth:0

 

Anyone can tell me what I'm doing wrong?

Here is the confirmation on R1 and R2.

 

!--- R1 Config ---
interface Loopback0
 ip address 1.1.1.1 255.255.255.0
!
interface Tunnel0
 ip address 172.16.0.1 255.255.255.0
 no ip redirects
 ip nhrp authentication cisco
 ip nhrp map multicast dynamic
 ip nhrp network-id 1
 ip nhrp holdtime 300
 tunnel source Ethernet0/0
 tunnel mode gre multipoint
 tunnel key 100000
 tunnel protection ipsec profile offices
!
interface Ethernet0/0
 description ISP
 ip address 192.168.0.2 255.255.255.252
!
router ospf 1
 network 1.1.1.0 0.0.0.255 area 0
 network 172.16.0.0 0.0.0.255 area 0
!

 

!--- R2 Config ---
interface Loopback0
 ip address 2.2.2.2 255.255.255.0
!
interface Tunnel0
 ip address 172.16.0.2 255.255.255.0
 no ip redirects
 ip nhrp authentication cisco
 ip nhrp map multicast 192.168.0.2
 ip nhrp map 172.16.0.1 192.168.0.2
 ip nhrp network-id 1
 ip nhrp holdtime 300
 ip nhrp nhs 192.16.0.1
 tunnel source Ethernet0/0
 tunnel mode gre multipoint
 tunnel key 100000
 tunnel protection ipsec profile offices
!
interface Ethernet0/0
 ip address 192.168.0.6 255.255.255.252
!
router ospf 1
 network 2.2.2.0 0.0.0.255 area 0
 network 172.16.0.0 0.0.0.255 area 0
!

Thank you!

 

 

1 Accepted Solution

Accepted Solutions

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

May I know,  why R2 configured with "ip nhrp nhs 192.16.0.1"?

 

Also, the OSPF area type makes it broadcast under all tunnel interfaces.

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

View solution in original post

1 Reply 1

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

May I know,  why R2 configured with "ip nhrp nhs 192.16.0.1"?

 

Also, the OSPF area type makes it broadcast under all tunnel interfaces.

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!