Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Case Learning: using VTI to solve the problem of dynamic IP Interconnection between Branch offices and headquarters

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Requirements: the branch office (R1) has only ADSL lines and needs to exchange LAN visits with the headquarters (R3).

= R3murHQ =

Crypto keyring PSK

Pre-shared-key address 0.0.0.0 0.0.0.0 key cisco

Crypto ipsec transform-set TS esp-3des esp-sha-hmac

!

Crypto ipsec profile VTI

Set transform-set TS

Crypto isakmp profile DVTI

Keyring PSK

Match identity address 0.0.0.0

Virtual-template 1

Interface Virtual-Template1 type tunnel

Ip unnumbered Loopback0

Tunnel mode ipsec ipv4

Tunnel protection ipsec profile VTI

Interface Loopback0

Ip address 192.168.1.3 255.255.255.0

!

!

Interface Loopback100

Ip address 10.23.0.3 255.255.255.0

!

Interface GigabitEthernet0/0

Ip address 100.23.0.3 255.255.255.0

!

!

Router ospf 1

Network 10.23.0.0 0.0.0.255 area 0

Network 192.168.1.0 0.0.0.255 area 0

Ip route 0.0.0.0 0.0.0.0 100.23.0.2

= R1murBranch =

Crypto keyring PSK

Pre-shared-key address 0.0.0.0 0.0.0.0 key cisco

!

!

Crypto ipsec transform-set TS esp-3des esp-sha-hmac

!

Crypto ipsec profile VTI

Set transform-set TS

!

Interface Loopback0

Ip address 192.168.1.1 255.255.255.0

!

!

Interface Loopback100

Ip address 10.12.0.1 255.255.255.0

!

!

Interface Tunnel1

Ip unnumbered Loopback0

Tunnel source GigabitEthernet0/0

Tunnel mode ipsec ipv4

Tunnel destination 100.23.0.3

Tunnel protection ipsec profile VTI

!

Interface GigabitEthernet0/0

Ip address 100.12.0.1 255.255.255.0

!

Router ospf 1

Network 10.12.0.0 0.0.0.255 area 0

Network 192.168.1.0 0.0.0.255 area 0

!

Ip route 0.0.0.0 0.0.0.0 100.12.0.2

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report