Solved

Cisco Pix 501 to Netopia 3340 IPSec Configuration Problem

Posted on 2008-10-25
8
616 Views
Last Modified: 2011-10-19
I am trying to configure a gateway-to-gateway IPSec VPN between a Netopia 3340 broadband router and a Cisco Pix 501 firewall (ver 6.3) using pre-shared keys. I have made what I think are the necessary configuration changes on both ends but cannot get the tunnel to set up. The Netopia setup is very simple and I am fairly certain it is correct. I believe the problem is on the Cisco side. I suspect this because when I ping from the local (cisco) network (192.168.16.X) to the remote (netopia) network, (192.168.1.X), the ISP gateway router returns "destination host unreachable". Performing the same ping test from the netopia side (192.168.1.X) to the cisco side (192.168.60.x), I get "request timed out" responses. It seems to me if the tunnel was up, the non-routable addresses going from the cisco to the netopia would pass through correctly and I would not get the unreachable error.
I have attached a file with both configurations. for the Pix 501, I have highlighted the changes I made to the existing configuration file.  Local public IPs are shown as XXX.XXX.XXX.XXX. Remote peer public IP is shown as YYY.YYY.YYY.192. Thanks for your help.
Pix-501-config.doc
0
Comment
Question by:pharostech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 79

Expert Comment

by:arnold
ID: 22804168
In your question above you have two location with three different LANs: which two LANs do you have? 192.168.1.0, 192.168.16.0 192.168.60.0?

Here is a question:
The LOCAL LAN on the CISCO is 192.168.60.x.
What is the local LAN on the Netopia Side?  is it 192.168.1.x or is it 192.168.16.x?
The cisco access list reflects 192.168.16.0 as the IP in the nat0 rule.

Check the cisco and the netopia logs dealing with the VPN connection attempts.

run on the cisco
show crypto ipsec sa
show crypto iskamp sa.
0
 

Author Comment

by:pharostech
ID: 22804290
Thank you for the extra set of eyes. My apologies. I had overlooked the 192.168.16.0 error! There is no such subnet.  These are the correct subnets.
    Local LAN (cisco) = 192.168.60.0
    Peer LAN (netopia) = 192.168.1.0

I have updated the two ACLs to reflect the correct subnet of 192.168.60.0.  They now look like this:
    access-list inside_nat0_outbound permit ip 192.168.16.0 255.255.255.0 testvpn 255.255.255.0
    access-list outside_cryptomap_20 permit ip 192.168.16.0 255.255.255.0 testvpn 255.255.255.0

However, there must be another problem as I am getting the exact same "destination host unreachable" error. Thanks.
0
 

Author Comment

by:pharostech
ID: 22804305
Disregard the previous response. Trying to cut and paste and making mistakes. It should have been:
-------------------------------
Thank you for the extra set of eyes. My apologies. I had overlooked the 192.168.16.0 error! There is no such subnet.  These are the correct subnets.
    Local LAN (cisco) = 192.168.60.0
    Peer LAN (netopia) = 192.168.1.0

I have updated the two ACLs to reflect the correct subnet of 192.168.60.0.  They now look like this:
    access-list inside_nat0_outbound permit ip 192.168.60.0 255.255.255.0 testvpn 255.255.255.0
    access-list outside_cryptomap_20 permit ip 192.168.60.0 255.255.255.0 testvpn 255.255.255.0

However, there must be another problem as I am getting the exact same "destination host unreachable" error. Thanks.
0
IoT Devices - Fast, Cheap or Secure…Pick Two

The IoT market is growing at a rapid pace and manufacturers are under pressure to quickly provide new products. Can you be sure that your devices do what they're supposed to do, while still being secure?

 
LVL 79

Expert Comment

by:arnold
ID: 22804758
Does a VPN connection get established?
Please run on the cisco the following commands and post the results:
show crypto ipsec sa
show crypto iskamp sa

0
 
LVL 79

Expert Comment

by:lrmoore
ID: 22805039
Also add this to the pix:

  isakmp identity address

0
 

Author Comment

by:pharostech
ID: 22805703
Here is output from the two commands you requested:
--------------------
CH-PIX# show crypto ipsec sa

interface: outside
    Crypto map tag: outside_map, local addr. XXX.XXX.XXX.106

CH-PIX# show crypto isakmp sa
Total     : 0
Embryonic : 0
        dst               src        state     pending     created
CH-PIX#
--------------
I also added "isakmp identity address" to the configuration.

Also, I turned on debug (debug crypto ipsec) and pinged the remote peer from the cisco. Here is the output:
CH-PIX# IPSEC(sa_initiate): ACL = deny; no sa created
IPSEC(sa_initiate): ACL = deny; no sa created
IPSEC(sa_initiate): ACL = deny; no sa created
IPSEC(sa_initiate): ACL = deny; no sa created
IPSEC(sa_initiate): ACL = deny; no sa created
IPSEC(sa_initiate): ACL = deny; no sa created
IPSEC(sa_initiate): ACL = deny; no sa created
IPSEC(sa_initiate): ACL = deny; no sa created

FYI...I am no longer getting "destination host unreachable" messages, only "request timed out" messages when I ping the peer from the cisco side.

I am attaching the latest config file as a word doc. Thanks for your help in solving this. Once I get this working, it will be implemented at 13 locations.
Pix501-2.doc
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 250 total points
ID: 22805951
The configs look OK.
Try debug crypto isakmp
Try re-setting the shared key on both sides
Is there another page of config on the Netopia? I don't see where you put the peer ip address....
0
 

Author Closing Comment

by:pharostech
ID: 31509963
The problem is resolved. It was related to the Public IP address of the cisco pix. The interface has four IPs assigned., XXX.XXX.XXX.205 - XXX.XXX.XXX.208. The one we forward to our mail server is XXX.XXX.XXX.207 and that is the one I was using. For some reason, the IPSec config wanted XXX.XXX.XXX.206. Once I changed it on the Netopia side, everything worked.

Thanks immensely for your help and the quick responses.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
On Feb. 28, Amazon’s Simple Storage Service (S3) went down after an employee issued the wrong command during a debugging exercise. Among those affected were big names like Netflix, Spotify and Expedia.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
Suggested Courses
Course of the Month10 days, 14 hours left to enroll

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question