Analysis of Cisco L2L VPN
Summary:Cisco free VPN, this type of VPN is often encountered in work, so let me give you an example first. If a friend wants to simulate it, it's best to…
This book is available as an e-book in EPUB format
PayPal sponsors this website for any amount. I will send you an EPUB e-book via email. Please send me an email
Email: shuxueha@outlook.com
PayPal: https://paypal.me/zhipinglei
You can also scan the PayPal QR code below to sponsor
You can also purchase this book on Amazon: click to enter the Amazon official website
Cisco free VPN, this type of VPN is often encountered in work, so let me give you an example first. If a friend wants to simulate it, it's best to choose 7200. I simulated it with 3640 a while ago, and it seems that some commands are not supported. I'm not sure.
1.1.1.1 (l0 port) R1 (s1/0) 12.1.1.1-12.1.1.2 (s1/0) R2 (s1/1) 23.1.1.2-23.1.1.1 (s1/1) R3 (l0 port) 3.3.3.3
The topology is a bit simple, if you look carefully, you will understand. It's just a bit more laborious
R1 and R2 are connected via s1/0 port.. R2 and R3 are connected to port s1/1. R1,R3, Let's all make a loop.
I simulated R2 as the Internet, R1 as a VPN for one company, R3 as a VPN for another company, and the loopback port as an intranet.
R2 only needs to set the IP addresses for two interfaces, no further configuration is required.
The configuration is as follows. If you have any questions, just reply directly. I will try my best to help everyone solve it.
R1
r1#show run
crypto isakmp policy 10
hash md5
authentication pre-share
group 2
crypto isakmp key cisco address 23.1.1.1
!
!
crypto ipsec transform-set cisco esp-des esp-md5-hmac
!
crypto map cisco 10 ipsec-isakmp
set peer 23.1.1.1
set transform-set cisco
match address vpn
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface Serial1/0
ip address 12.1.1.1 255.255.255.0
serial restart-delay 0
crypto map cisco
!
ip classless
ip route 3.3.3.3 255.255.255.255 12.1.1.2
ip route 23.1.1.1 255.255.255.255 12.1.1.2
!
ip access-list extended vpn
permit ip host 1.1.1.1 host 3.3.3.3
!
end
R3:
r3#show run
r3#show running-config
!
crypto isakmp policy 10
hash md5
authentication pre-share
group 2
crypto isakmp key cisco address 12.1.1.1
!
!
crypto ipsec transform-set cisco esp-des esp-md5-hmac
!
crypto map cisco 10 ipsec-isakmp
set peer 12.1.1.1
set transform-set cisco
match address vpn
!
!
!
!
interface Loopback0
ip address 3.3.3.3 255.255.255.0
!
interface Serial1/1
ip address 23.1.1.1 255.255.255.0
serial restart-delay 0
crypto map cisco
ip classless
ip route 1.1.1.1 255.255.255.255 23.1.1.2
ip route 12.1.1.1 255.255.255.255 23.1.1.2
!
ip access-list extended vpn
permit ip host 3.3.3.3 host 1.1.1.1
!
end
r3#
Steps:
1. Static routing
2. Isakmp strategy
3. IPsec Policy
4. Interest Stream
5 crypto map
6. Apply the crypto map to the interface
Test:
1 ping 3.3.3.3 so 1.1.1.1 re 100
2 show crypto isakmp sa
3 show crypto ipsec sa
4 show crypto engine connections active
Perform VPN verification.
| High-speed VPN | Fast VPN | Preferred Accelerator VPN | Reliable VPN |
| High quality VPN | Old fashioned VPN | Stable VPN(Recommend) | Smooth VPN |

