06-09-2017 08:50 AM - edited 03-05-2019 08:41 AM
I am trying to set up DMVPN between two routers. When the Hub router is connected directly to the internet and receives my external Static IP the configuration works perfectly. The issue is when I Instead connect my ASA 5505 to the internet, and the Hub sits behind it, taking a private IP, the configuration no longer works. I do have 4 other static IPs available, but I am not sure if I can somehow utilize one of those to get this working. Attached are the configs and a debug from the spoke. Any guidance would be appreciated. Thanks
-JC
Solved! Go to Solution.
06-09-2017 11:35 AM
Hello,
You may need to statically NAT the DMVPN Hub at the ASA and then use that IP in our Spoke configuration. Right now I see you're using the external IP of the ASA of 92.92.92.146 as your NHRP mappings.
I also see object SRSROUTER1 within your access-lists but I don't see object SRSROUTER1 defined anywhere in the config.
Anyways, from my understanding, you should have the following:
If above does not work, I would suggest to take a step back and try to establish basic network connectivity to the DMVPN Hub first. Once that is established, you can then begin adding in the DMVPN Tunnels and authentication.
Edit: EIGRP configs may need some modifications as well but my EIGRP isn't that strong. We'll see.
06-09-2017 11:35 AM
Hello,
You may need to statically NAT the DMVPN Hub at the ASA and then use that IP in our Spoke configuration. Right now I see you're using the external IP of the ASA of 92.92.92.146 as your NHRP mappings.
I also see object SRSROUTER1 within your access-lists but I don't see object SRSROUTER1 defined anywhere in the config.
Anyways, from my understanding, you should have the following:
If above does not work, I would suggest to take a step back and try to establish basic network connectivity to the DMVPN Hub first. Once that is established, you can then begin adding in the DMVPN Tunnels and authentication.
Edit: EIGRP configs may need some modifications as well but my EIGRP isn't that strong. We'll see.
06-09-2017 01:03 PM
Firstly, sorry for the bad editing. SRSROUTER1 and HUBROUTER1 are the same device. this was just poor config editing when posting to the web.
Secondly, thank you so much for the reply. Now..
this is where i get confused. I have public ips 92.92.92.145 - 150 as usable IP addresses.
My ASA is plugged directly into my internet modem, and is using the 146 address. i am not using any other IP or have any other devices plugged into my internet modem. so when i try to do what you suggested (which i tried before and got stopped at the same spot) this happened
added
object network PUBLIC_IP
host 92.92.92.146
object network HUBROUTER1
nat (inside,outside) static PUBLIC_IP
SRSASA1(config)# object network HUBROUTER1
SRSASA1(config-network-object)# nat (inside,outside) static PUBLIC_IP
ERROR: Address 92.92.92.146 overlaps with outside interface address.
ERROR: NAT Policy is not downloaded
So maybe I am supposed to dedicate one of my other public IPs to only DMVPN, but I am not sure how to accomplish this. If that is what I am supposed to do, then to what interface do i apply this public IP? or maybe i am totally off base. regardless, please point me in the right direction. Again, thanks a lot for the response.
I added an updated config, hopefully it is edited a bit better.
06-09-2017 01:46 PM
Hello,
You are already using 92.92.92.146 for your Outside interface. Could you try using an IP within that subnet that is not being used, maybe .147?
06-09-2017 10:09 PM
Ok here goes...
• Create network object with external DMVPN Hub IP address
object network PUBLIC_IP
host 92.92.92.147
• Create network object with private DMVPN Hub IP address
object network HUBROUTER1
host 10.99.99.2
• Configure static NATs for DMVPN Hub
object network HUBROUTER1
nat (inside,outside) static PUBLIC_IP
• Configure INBOUND ACL to permit any source to inside network via port UDP / 4500
access-list INBOUND extended permit udp any any eq 4500
• Configure INBOUND ACL to permit any source to inside network via port UDP/ isakmp
access-list INBOUND extended permit gre any4 object SRSROUTER1
• Configure INBOUND ACL to permit any source to inside network via port esp
access-list INBOUND extended permit udp any any eq isakmp
• Configure NHRP mapping on spoke router to use the external DMVPN Hub IP address
ip nhrp map 172.16.0.1 92.92.92.147
ip nhrp map multicast 92.92.92.147
Still not working. it connects, but flaps on and off. I am intermittently able to ping from one end of the tunnel to the other, but its only for like 5 seconds tops, then it flaps off, and then on. I can see the EIGRP partnerships failing, and then coming back up. Very annoying.
For grins i actually tried to hook the hub, and a couple of spokes up all on different ports on my cable modem. i assigned each spoke a different Public IP address from my range of 5, and for whatever reason that works like a charm, even with the Hub behind the ASA 5505. I was actually rather excited and thought i had it working, but when i moved it the location where it needs to go, the results are the same. Flapping. Also have a spoke set up at my home for testing. that one is flapping as well. But any device hooked up to the cable modem using a static from my 92.92.92.145 255.255.255.248 range works. Super frustrating.
Without the firewall everything is fine. i configured with and without ipsec and both worked with no firewall involved. I am not sure what i need to do on this ASA to get this stuff working.....
Thank you for your help. Any other ideas?
06-12-2017 09:55 AM
Hello,
Sorry for late reply. I don't really check these forums on the weekends. Your testing with the other spokes is interesting.
Can we try the following:
If above still does not work, can we try the following:
Let's try to get this down step by step to better isolate the issue. Also some additional questions I had:
1. What is IP 92.92.92.150? I see default routes on both the ASA and Spoke RTR for this IP. Is this the ISP? If so, why does you're Spoke router also have this default route? Where is your Spoke router in this topology?
2. Is there any reason why you used SRSROUTER1 in the GRE ACL instead of the object you just created, HUBROUTER1?
06-12-2017 09:59 AM
I also found this forum: https://supportforums.cisco.com/discussion/12350161/dmvpn-hub-router-behind-nat
Maybe this might help in further troubleshooting.
06-12-2017 01:28 PM
EIGRP was the issue. Removing the 172.16.0.1 subnet from the ASA's EIGRP configuration fixed the issue. Thanks for your help! I marked your previous answer as correct.
06-12-2017 01:27 PM
EIGRP was the issue. Removing the 172.16.0.1 subnet from the ASA's EIGRP configuration fixed the issue. Thanks for your help!
06-12-2017 03:12 PM
Ah! Glad to hear. I felt EIGRP may have been an issue but my EIGRP too weak :(.
Good that everything works now. Take care!
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