Question

Cisco 1720s, VPN doesn't work anymore after setting up NAT pool and CEF

Asked by: nwru

First, I apologize for the long question post.  I want to make sure I include all relevant info.

I have a Cisco 1720 here at HQ, running IOS 12.1(21), and has two T1s on Serial0 and Serial1 and inside network on FastEthernet0.  NAT is set up between FastEthernet0 and Serial0 for Internet.  Also have a Cisco 1720 in branch office, also running 12.2(21), has one T1 on Serial0 and inside network on FastEthernet0.  NAT is set up the same way.  VPN between the two offices using crypto commands.  There are no VPN modules in the routers themselves.  The "LAN addresses" I was given here by my ISP to use for the NAT pool are 167.x.x.201-206.

What I desire is to "bond" both T1s here at HQ to achieve a 3 Mbps throughput.  ISP (Lightpath) says to set up CEF.  After some failed attempts, they note that my NAT is set up screwy, and should be in a NAT pool instead.  So I do what I have to set up NAT pool and CEF and actually get the 3 Mbps, but now the VPN doesn't work.  I can't reach the other office through a 192.168.x.x address anymore and nothing that I do can get it back up.  Anyways, here's the relevant info from the configs:

***** HQ Cisco 1720 (Current, non-"bonded" config) *****

crypto isakmp policy 4
 hash md5
 authentication pre-share
 group 2
crypto isakmp key notrealkey address 24.x.x.106
crypto ipsec transform-set trans1 esp-des esp-md5-hmac
crypto map combined 20 ipsec-isakmp
 set peer 24.x.x.106
 set transform-set trans1
 match address 106
interface Loopback0
 ip address 192.168.16.1 255.255.255.0
interface Serial0
 ip address 167.x.x.230 255.255.255.252
 ip access-group 115 in
 ip nat outside
 ip inspect inetout out
 no ip mroute-cache
 service-module t1 timeslots 1-24
 no cdp enable
 crypto map combined
interface Serial1
 ip address 167.x.x.242 255.255.255.252
 ip access-group 115 in
 ip inspect inetout out
 no ip mroute-cache
 service-module t1 timeslots 1-24
 no cdp enable
 crypto map combined
interface FastEthernet0
 ip address 192.168.10.1 255.255.255.0
 ip nat inside
 ip policy route-map nostatic
 speed auto
 half-duplex
 no cdp enable
ip nat inside source static tcp 192.168.10.160 80 interface Serial0 80
ip nat inside source static tcp 192.168.10.150 25 interface Serial0 25
ip nat inside source route-map NAT interface Serial0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 167.x.x.229
access-list 102 deny   ip 192.168.10.0 0.0.0.255 192.168.20.0 0.0.0.255
access-list 102 permit ip 192.168.10.0 0.0.0.255 any
access-list 103 permit ip host 192.168.10.150 192.168.20.0 0.0.0.255
access-list 103 permit ip host 192.168.10.151 192.168.20.0 0.0.0.255
access-list 106 permit ip 192.168.10.0 0.0.0.255 192.168.20.0 0.0.0.255
access-list 115 permit ip 192.168.20.0 0.0.0.255 192.168.10.0 0.0.0.255
access-list 115 permit udp any any eq isakmp
access-list 115 permit esp any any
access-list 115 permit ahp any any
access-list 115 permit tcp any any eq 443
access-list 115 permit udp any any eq 443
access-list 115 permit tcp any host 167.x.x.230 eq www
access-list 115 permit tcp any host 167.x.x.230 eq telnet
access-list 115 permit tcp any host 167.x.x.230 eq smtp
access-list 115 permit icmp 192.168.10.0 0.0.0.255 any
access-list 115 permit icmp any any echo-reply
no cdp run
route-map nostatic permit 10
 match ip address 103
 set ip next-hop 192.168.16.2
route-map NAT permit 10
 match ip address 102

***** END HQ Cisco 1720 (Current, non-"bonded" config) *****


Here are the changes that I made to get the 3 Mbps and non-working VPN:

***** HQ Cisco 1720 ("bonded" config) *****

ip cef
crypto isakmp policy 4
 hash md5
 authentication pre-share
 group 2
crypto isakmp key notrealkey address 24.x.x.106
crypto ipsec transform-set trans1 esp-des esp-md5-hmac
crypto map combined 20 ipsec-isakmp
 set peer 24.x.x.106
 set transform-set trans1
 match address 106
interface Loopback0
 ip address 192.168.16.1 255.255.255.0
interface Serial0
 ip address 167.x.x.230 255.255.255.252
 ip access-group 115 in
 ip nat outside
 ip inspect inetout out
 ip load-sharing per-packet
 service-module t1 timeslots 1-24
 no cdp enable
 crypto map combined
interface Serial1
 ip address 167.x.x.242 255.255.255.252
 ip access-group 115 in
 ip nat outside
 ip inspect inetout out
 ip load-sharing per-packet
 service-module t1 timeslots 1-24
 no cdp enable
 crypto map combined
interface FastEthernet0
 ip address 192.168.10.1 255.255.255.0
 ip nat inside
 ip policy route-map nostatic
 speed auto
 half-duplex
 no cdp enable
ip nat pool natpool1 167.x.x.201 167.x.x.206 netmask 255.255.255.248
ip nat inside source list 1 pool natpool1 overload
ip nat inside source static tcp 192.168.10.160 80 interface Serial0 80
ip nat inside source static tcp 192.168.10.150 25 interface Serial0 25
ip classless
ip route 0.0.0.0 0.0.0.0 167.x.x.229
access-list 1 permit 192.168.10.0 0.0.0.255
access-list 1 permit 192.168.20.0 0.0.0.255
access-list 102 deny   ip 192.168.10.0 0.0.0.255 192.168.20.0 0.0.0.255
access-list 102 permit ip 192.168.10.0 0.0.0.255 any
access-list 103 permit ip host 192.168.10.150 192.168.20.0 0.0.0.255
access-list 103 permit ip host 192.168.10.151 192.168.20.0 0.0.0.255
access-list 106 permit ip 192.168.10.0 0.0.0.255 192.168.20.0 0.0.0.255
access-list 115 permit ip 192.168.20.0 0.0.0.255 192.168.10.0 0.0.0.255
access-list 115 permit udp any any eq isakmp
access-list 115 permit esp any any
access-list 115 permit ahp any any
access-list 115 permit tcp any any eq 443
access-list 115 permit udp any any eq 443
access-list 115 permit tcp any host 167.x.x.230 eq www
access-list 115 permit tcp any host 167.x.x.230 eq telnet
access-list 115 permit tcp any host 167.x.x.230 eq smtp
access-list 115 permit icmp 192.168.10.0 0.0.0.255 any
access-list 115 permit icmp any any echo-reply
no cdp run
route-map nostatic permit 10
 match ip address 103
 set ip next-hop 192.168.16.2
route-map NAT permit 10
 match ip address 102

***** END HQ Cisco 1720 ("bonded" config) *****



***** Branch office Cisco 1720 (Current config)*****

crypto isakmp policy 4
 hash md5
 authentication pre-share
 group 2
crypto isakmp key notrealkey address 167.x.x.230
crypto ipsec transform-set trans1 esp-des esp-md5-hmac
crypto map combined 20 ipsec-isakmp
 set peer 167.x.x.230
 set transform-set trans1
 match address 106
interface Loopback0
 ip address 192.168.16.1 255.255.255.0
interface FastEthernet0
 ip address 192.168.20.1 255.255.255.0
 ip nat inside
 no ip route-cache
 no ip mroute-cache
 speed auto
 half-duplex
 no cdp enable
interface Serial0
 ip address 24.x.x.106 255.255.255.252
 ip access-group 115 in
 ip nat outside
 ip inspect inetout out
 encapsulation ppp
 no ip route-cache
 no ip mroute-cache
 crypto map combined
ip nat inside source route-map NAT interface Serial0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 24.x.x.105
access-list 102 deny   ip 192.168.20.0 0.0.0.255 192.168.10.0 0.0.0.255
access-list 102 permit ip 192.168.20.0 0.0.0.255 any
access-list 103 permit ip host 192.168.10.150 192.168.10.0 0.0.0.255
access-list 106 permit ip 192.168.20.0 0.0.0.255 192.168.10.0 0.0.0.255
access-list 115 permit tcp any host 24.x.x.106 eq telnet
access-list 115 permit tcp any any eq 443
access-list 115 permit ip 192.168.10.0 0.0.0.255 192.168.20.0 0.0.0.255
access-list 115 permit udp any any eq isakmp
access-list 115 permit esp any any
access-list 115 permit ahp any any
access-list 115 permit icmp host any any
access-list 151 permit ip 192.168.10.0 0.0.0.255 192.168.20.0 0.0.0.255
route-map nostatic permit 10
 match ip address 103
 set ip next-hop 192.168.16.2
route-map NAT permit 10
 match ip address 102

***** END Branch office Cisco 1720 (Current config)*****


For the updated branch office config, I just changed the following lines:
crypto isakmp key notrealkey address 167.x.x.201
 set peer 167.x.x.201

So again, when I change the configs as stated above, the NAT pool seems to work fine, and I get 3 Mbps, but the VPN won't work at all, whether the branch has the changed settings or not.  I've spent a good week googling and reading docs to no avail.  There seems to be a million different ways to go wrong here, so any pointers would be a plus.  If there is any more information desired, let me know.  Thanks in advance.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-01-21 at 13:37:29ID20858361
Tags

1720

,

cisco

,

bond

,

cef

Topic

Network Routers

Participating Experts
2
Points
500
Comments
8

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. IPSEC validate_transform_proposal peer address not found
    Help! Can anyone tell me what the error in the title represents? and or where I can look to correct it. Phase one completes fine but fails on phase 2 pixfirewall(config)# IPSEC(key_engine): got a queue event... IPSEC(spi_response): getting spi 0x50a192c2(1352766146) for SA ...
  2. Cisco PIX 515 IPSec VPN Tunnel and NAT
    I have a Cisco PIX 515 with multiple IPSec VPN tunnels. Everything is fine and working. Here is my question. A new client I have that will be connecting to my PIX through an IPSec VPN has the same network address space on his network, as I do mine. (Basically, my internal...
  3. PPTP Vpn to IPSEC Vpn?
    Hi Guys, Im hoping you can help me with a project Im trying to complete, at the moment we have a simple PPTP VPN up and running, Ive been set the task to upgrade this to IPSEC to increase the security. Ive been looking around at posts/guides etc, this is what Ive cobb...
  4. IPSec VPN
    Trying to setup new ASA box for IPSec VPN. I receive this error message in ASDM when a VPN client tries to connect. Group = DefaultRAGroup, IP = x.x.x.x, Error: Unable to remove PeerTblEntry Group = DefaultRAGroup, IP = x.x.x.x, Removing peer from peer table failed, no ma...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: epylkoPosted on 2004-01-21 at 14:13:25ID: 10169288

You'll need to have 2 VPN tunnels established and you need to make sure one goes to each public interface you have. Otherwise, your receiving side is going to get encrypted packets from 2 sources but only be expecting them from 1 source.

I would create a GRE tunnel between the 2 boxes and encrypt GRE traffic. That way you won't have to worry about which way the GRE packet goes.

The other option might be to have 2 VPN connections, one on each interface. You would want to switch back to per destination load balancing though. This will give you a max of 1.5Mbps per session but you could have 2x1.5Mbps sessions going at any given time.

-Eric

 

by: nwruPosted on 2004-01-22 at 12:36:06ID: 10177568

Any advice on how to set up this GRE tunnel?  I read up on it and it seems a bit tough.  I don't have too much experience with Cisco stuff and I'm trying to learn as I go.  These routers and the VPN weren't set up by me and here I am trying to change it all around, so clues and/or answers would be very helpful. :)

 

by: lrmoorePosted on 2004-01-22 at 15:31:37ID: 10179741

Eric,
Why not assign an IP address from the available nat pool to the loopback interface and use that IP address as the peer for the remote site?

nwru,
You still have to use the route-map for the NAT statement. Use it with the pool:

Change this:
>ip nat inside source list 1 pool natpool1 overload

To this:
ip nat inside source route-map NAT pool natpool1 overload

 

by: nwruPosted on 2004-01-23 at 06:21:56ID: 10183979

Cool, I hope to try that this weekend, Thanks.

 

by: epylkoPosted on 2004-01-23 at 12:13:07ID: 10187363

You're right. I wasn't thinking properly. Also, it looks like the remote VPN site only has a single T1, so it's really a question of load balancing outbound traffic and not so much load balancing the encrypted traffic.

-Eric

 

by: nwruPosted on 2004-01-29 at 14:03:04ID: 10230073

Well, I finally got it.  The only things I did differently is:

1) I left the "ip mroute-cache" command on each of the serial interfaces.  Not sure if this mattered at all though.

2) Used the "ip nat inside source route-map NAT pool natpool1 overload" as stated above by lrmoore.  Now I know that I've used this exact command in my trial-and-error and by recommendation of a smart friend, and I have the logs to prove it, but it didn't work.  Must have been something else messing it up at the time.

3) Have 2 static routes, one for each of my interfaces, i.e.:
    ip route 0.0.0.0 0.0.0.0 167.x.x.229
    ip route 0.0.0.0 0.0.0.0 167.x.x.241

4) On the remote router, I needed to supply two "crypto isakmp key" commands and two "set peer" commands, i.e.:
    crypto isakmp key notrealkey address 167.x.x.230
    crypto isakmp key notrealkey address 167.x.x.242
    crypto map combined 20 ipsec-isakmp
      set peer 167.x.x.230
      set peer 167.x.x.242
      set transform-set trans1
      match address 106


Everything else I left the same.  I just kept messing with it and it suddenly worked.  Those "LAN addresses" were only used for the "ip nat pool" command and no where else.

Thanks for the help everyone. :)

 

by: epylkoPosted on 2004-01-29 at 15:24:43ID: 10230742

So my comment "you need 2 vpn tunnels" (your #4) doesn't get points, while lrmoore's suggestion that didn't work gets the points? Weird.

-Eric

 

by: nwruPosted on 2004-01-30 at 06:51:25ID: 10235492

Eric,

Fair enough.  I compensated you here: http://www.experts-exchange.com/Hardware/Routers/Q_20868024.html .

I didn't understand that doing my number #3 and #4 was effectively creating 2 VPN tunnels.  I didn't emphasize that this is all pretty new to me.  So the GRE tunnel talk threw me off a bit.  Not sure what you were talking about, I dismissed your comment and wound up figuring the routes and the crypto commands by myself.

lrmoore's suggestion to use that exact "ip nat inside" command still did help moreso because it helped point me in the right direction and I probably wouldn't have fixed the problem without that command.

I gave you some points because you did actually supply me with help, even if I didn't understand it, and I don't like to rip people off. :)

Thanks.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...