configuration for cisco router to use VPN ?

Posted on 2009-05-19
Medium Priority
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                OK (Replay)       OK (Replay)       NO (Request Time out)      NO (Request Time out)      NO (Request Time out)            NO (Request Time out)

But if I connect the PC to the console I can ping                OK (Replay)       OK (Replay)       OK (Replay)      OK (Replay)      OK (Replay)            NO (Request Time out)

all my router model is 2801
Question by:AymanDasa
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
  • 3
  • 3

Expert Comment

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

Author Comment

ID: 24429052
Dear equarando
" crypto " not in my router command ? Im using 2800 cisco router

Expert Comment

ID: 24429078
You prolly are not running a version of the IOS that supports IPSEC VPN's
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 24429820
Dear equarando

I add this Lines in R1

R1(config)#router bgp 65360
Then I connect My PC to Router R1  throw interface F0/1
Then I ping all this IP              OK (Replay)      OK (Replay)      OK (Replay)      OK (Replay)      OK (Replay)              NO (Request Time out)


Accepted Solution

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

Author Comment

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              OK (Replay)      OK (Replay)      OK (Replay)      OK (Replay)      OK (Replay)              OK (Replay)

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


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Secure VPN Connection terminated locally by the Client.  Reason 442: Failed to enable Virtual Adapter. If you receive this error on Windows 8 or Windows 8.1 while trying to connect with the Cisco VPN Client then the solution is a simple registry f…
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Suggested Courses

771 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