01-09-2018 11:21 AM - edited 03-08-2019 01:21 PM
Cisco 4000 series router. All traffic is going over DMVPN tunnels back through our main data center. Would like to route Internet traffic straight out the Internet interface and corporate destined traffic over the tunnels. I lose access to the site with the below configuration. Am I missing something?
interface GigabitEthernet0/0/0.52 (inside interface)
ip address 192.168.52.1 255.255.255.0
ip nat inside
ip virtual-reassembly
interface GigabitEthernet0/0/1 (outside interface)
ip address x.x.x.x (ISP IP)
ip nat outside
ip virtual-reassembly
ip nat pool internet x.x.x.x (ISP IP) x.x.x.x (ISP IP) netmask 255.255.255.252
ip nat inside source list internet pool internet overload
ip route 0.0.0.0 0.0.0.0 x.x.x.x (ISP gateway ip)
ip access-list extended internet
permit ip 192.168.52.0 0.0.0.255 any
permit ip 192.168.53.0 0.0.0.255 any
01-09-2018 01:32 PM
Hello,
you need to exclude the traffic that goes to the other side over the tunnel from your NAT. What is the IP address space of the other side(s) ?
01-09-2018 01:33 PM
10.0.0.0/8
192.168.0.0/16
01-09-2018 02:17 PM
I'm running IOS-XE and apparently you cannot use a NAT POOL for only 1 IP address.
Restrictions section:
01-10-2018 09:35 AM
still not working.. the router doesnt drop.. but its not taking the correct path. traceroute to google still goes over DMVPN tunnel. My config sanitized
interface GigabitEthernet0/0/0.52 (inside)
ip nat inside
ip virtual-reassembly
interface GigabitEthernet0/0/1 (outside)
ip nat outside
ip virtual-reassembly
ip nat inside source list internet pool internet overload
ip access-list extended internet
permit ip 192.168.52.0 0.0.0.255 any
permit ip 192.168.53.0 0.0.0.255 any
ip route 0.0.0.0 0.0.0.0 (ISP IP)
01-10-2018 09:59 AM
I do not see an access list for the DMVPN traffic. Post the full configuration...
01-10-2018 10:47 AM
01-10-2018 11:20 AM
Hello,
config looks ok as far as I can tell. Can you post the output of 'show ip route' ?
01-10-2018 11:59 AM
01-11-2018 12:07 AM
Hello,
as far as I can tell, the problem is with the default route. You have configured:
ip route vrf DMVPN 0.0.0.0 0.0.0.0 x.x.x.x
What is the output of:
ping vrf DMVPN 8.8.8.8
01-11-2018 06:00 AM
cant ping it.. however, we are blocking ping to Internet
01-11-2018 09:19 AM
01-11-2018 12:45 PM
Hello,
the default route you have comes from an external source, I cannot figure out where it is originating. Are you doing some sort of redistribution ?
D*EX 0.0.0.0/0 [170/26880512] via 10.100.251.1, 02:24:55, Tunnel2
Assuming the configuration you posted is from one of the spokes, can you also post the hub configuration ?
01-11-2018 01:02 PM
01-11-2018 01:49 PM
Hello,
great, thanks. I need to lab this, will get back with you...
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