07-06-2018 04:10 PM - edited 03-05-2019 10:44 AM
Hi all, I'm trying to configure ospf over dmvpn. The data doesn't pass through the tunnel. I have attached the topology.
I have configured OSPF on R1, R2 and R3 and R2 is the hub while R3 and R1 are the spokes.
R2 Hub config:
R2#show run | section ospf
ip ospf network broadcast
router ospf 1
router-id 2.2.2.2
network 10.10.20.0 0.0.0.255 area 0
network 192.168.1.0 0.0.0.255 area 0
network 201.1.12.0 0.0.0.255 area 0
network 201.1.13.0 0.0.0.255 area 0
interface Tunnel0
ip address 192.168.1.2 255.255.255.0
no ip redirects
ip nhrp map multicast dynamic
ip nhrp network-id 1
ip ospf network broadcast
tunnel source GigabitEthernet2/0
tunnel mode gre multipoint
R1 config:
R1#show run | section ospf
ip ospf network broadcast
ip ospf priority 0
router ospf 1
router-id 1.1.1.1
network 10.10.10.0 0.0.0.255 area 0
network 192.168.1.0 0.0.0.255 area 0
network 201.1.12.0 0.0.0.255 area 0
interface Tunnel0
ip address 192.168.1.1 255.255.255.0
no ip redirects
ip nhrp map 192.168.1.2 201.1.12.2
ip nhrp map multicast 201.1.12.2
ip nhrp network-id 1
ip nhrp nhs 192.168.1.2
ip ospf network broadcast
ip ospf priority 0
tunnel source GigabitEthernet2/0
tunnel mode gre multipoint
R3 config:
router ospf 1
router-id 3.3.3.3
network 10.10.30.0 0.0.0.255 area 0
network 192.168.1.0 0.0.0.255 area 0
network 201.1.13.0 0.0.0.255 area 0
interface Tunnel0
ip address 192.168.1.3 255.255.255.0
no ip redirects
ip nhrp map 192.168.1.2 201.1.12.2
ip nhrp map multicast 201.1.12.2
ip nhrp network-id 1
ip nhrp nhs 192.168.1.2
ip ospf network broadcast
ip ospf priority 0
tunnel source GigabitEthernet1/0
tunnel mode gre multipoint
Am I doing something wrong?
07-06-2018 07:35 PM
Hi
If you issue show dmvpn do you see your tunnels up?
If you want to have dmvpn with spoke to spoke dynamic tunnel you need to add a router interconnecting these 3 routers R1, R2 and R3 to simulate internet.
Also in your ospf config, you added your public Network 201.x.x.x and you don't need it otherwise adjacency will be built through it and traffic will flow directly without passing through tunnels.
Make these corrections first and let us know your tunnels and dmvpn status.
If you want to take an overview of configs, go on the following Cisco documentation guide:
07-06-2018 08:07 PM
07-07-2018 08:15 PM
07-07-2018 08:18 PM
07-07-2018 08:23 PM
07-08-2018 12:48 AM
Hello,
post the full configurations of your routers not just snippets, so we can lab this...
07-08-2018 05:30 AM
Hello
make the changes below to your routers (changes marked in bold):
R2
router ospf 1
router-id 2.2.2.2
network 10.10.20.0 0.0.0.255 area 1
network 192.168.1.0 0.0.0.255 area 1
area 1 stub no-summary
interface Tunnel0
ip address 192.168.1.2 255.255.255.0
no ip redirects
ip nhrp map multicast dynamic
ip nhrp network-id 1
ip ospf network broadcast
ip opsf priority 255
tunnel source GigabitEthernet2/0
R1
router ospf 1
router-id 1.1.1.1
network 10.10.10.0 0.0.0.255 area 1
network 192.168.1.0 0.0.0.255 area 1
area 1 stub no-summary
interface Tunnel0
ip address 192.168.1.1 255.255.255.0
no ip redirects
ip nhrp map 192.168.1.2 201.1.12.2
ip nhrp map multicast 201.1.12.2
ip nhrp network-id 1
ip nhrp nhs 192.168.1.2
ip ospf network broadcast
ip ospf priority 0
tunnel source GigabitEthernet2/0
tunnel mode gre multipoint
R3
router ospf 1
router-id 3.3.3.3
network 10.10.30.0 0.0.0.255 area 1
network 192.168.1.0 0.0.0.255 area 1
area 1 stub no-summary
interface Tunnel0
ip address 192.168.1.3 255.255.255.0
no ip redirects
ip nhrp map 192.168.1.2 201.1.12.2
ip nhrp map multicast 201.1.12.2
ip nhrp network-id 1
ip nhrp nhs 192.168.1.2
ip ospf network broadcast
ip ospf priority 0
tunnel source GigabitEthernet1/0
tunnel mode gre multipoint
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