Solved

configuration for cisco router to use VPN ?

Posted on 2009-05-19
6
231 Views
Last Modified: 2012-05-07
I have only one problem; still I cannot use My VPN

I connect My PC to Router R1  throw interface F0/1
Then I ping all this IP
172.15.5.1                OK (Replay)
172.31.106.206       OK (Replay)
172.31.106.205       NO (Request Time out)
172.31.106.129      NO (Request Time out)
172.31.106.130      NO (Request Time out)
172.28.1.1            NO (Request Time out)

But if I connect the PC to the console I can ping

172.15.5.1                OK (Replay)
172.31.106.206       OK (Replay)
172.31.106.205       OK (Replay)
172.31.106.129      OK (Replay)
172.31.106.130      OK (Replay)
172.28.1.1            NO (Request Time out)


all my router model is 2801
R1.txt
R2.txt
VPN.bmp
0
Comment
Question by:AymanDasa
  • 3
  • 3
6 Comments
 
LVL 1

Expert Comment

by:equarando
ID: 24428940
I didnt see any VPN configuration on either of the Routers.

I am going to list the steps to set one up. just repeat the process on the other router, just switching IP's

1.) R1(config)# crypto isakmp enable

2.) R1(config)# crypto isakmp policy 10
R1(config-isakmp)# authentication pre-share
R1(config-isakmp)# encryption aes 256
R1(config-isakmp)# hash sha
R1(config-isakmp)# group 5
R1(config-isakmp)# lifetime 3600

3.) R1(config)# crypto isakmp key PASSWORD address (IP of other router)

4.) R1(config)# crypto ipsec transform-set 50 esp-aes 256 esp-sha-hmac ah-sha-hmac

5.) R1(config)# access-list 101 permit ip (LOCAL LAN) (REMOTE LAN)

6.) R1(config)# crypto map NAME 10 ipsec-isakmp

7.) R1(config-crypto-map)# match address 101

8.) R1(config-crypto-map)# set peer (IP OF R2)
R1(config-crypto-map)# set pfs group5
R1(config-crypto-map)# set transform-set 50

9.)on the outside interface apply the crypto map
   R1(config-if)# crypto map NAME
 
0
 

Author Comment

by:AymanDasa
ID: 24429052
Dear equarando
" crypto " not in my router command ? Im using 2800 cisco router
0
 
LVL 1

Expert Comment

by:equarando
ID: 24429078
You prolly are not running a version of the IOS that supports IPSEC VPN's
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:AymanDasa
ID: 24429820
Dear equarando

I add this Lines in R1




R1(config)#router bgp 65360
R1(config-router)#network 172.15.0.0 255.255.0.0
!
Then I connect My PC to Router R1  throw interface F0/1
Then I ping all this IP
172.15.5.1              OK (Replay)
172.31.106.206      OK (Replay)
172.31.106.205      OK (Replay)
172.31.106.129      OK (Replay)
172.31.106.130      OK (Replay)
172.28.1.1              NO (Request Time out)


0
 
LVL 1

Accepted Solution

by:
equarando earned 500 total points
ID: 24436602
Yes, but that has nothing to do with not being able to connect with a VPN
0
 

Author Comment

by:AymanDasa
ID: 24458123
now I add another line

R1(config)#router bgp 65360
R1(config-router)#red con

and the result is

Then I connect My PC to Router R1  throw interface F0/1
Then I ping all this IP
172.15.5.1              OK (Replay)
172.31.106.206      OK (Replay)
172.31.106.205      OK (Replay)
172.31.106.129      OK (Replay)
172.31.106.130      OK (Replay)
172.28.1.1              OK (Replay)

Mr. equarando
I will give you the point not for sol but for helping to me


0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
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…
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…

810 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