温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

VTI知识点回顾(第二次修改)

发布时间:2020-07-24 20:28:03 来源:网络 阅读:657 作者:天蝎小飞猪 栏目:安全技术

VTI =Virtual Tunnel Interface

优势:
支持IP组播、动态路由协议。
VTI比GRE OVER IPSEC节省了GRE头部的4个字节,能承载更多的数据。

限制:
只支持IP单播、组播。而GRE支持更多协议。
不支持IPsec Stateful failover。可通过动态路由协议实现冗余。

VTI是IPSEC隧道技术,因此它的transform set需要调整为tunnel。(在测试中,发现尽管仍使用transport,它仍能自动调整为tunnel)

两种类型的VTI:
Static = SVTI 特点:
点对点,
与GRE类似但移除了GRE的头部。
static route-map

Dynamic = DVTI 特点:
使用static virtual-template 、
dynamic crypto-map。
基于模板的预配置,自动创建virtual access interface配置。

简单配置:

VTI知识点回顾(第二次修改)

不需要使用ACL抓感兴趣流量,不需要在接口调用crypto map,也不用设置对等体。
直接做一个profile,然后在tunnel里设置protection即可,其他全自动。

show crypto isakmp default policy 查看默认的isakmp policy
show crypto ipsec transform-set 查看默认transform-set

===========R1=============

crypto isakmp key cisco address 0.0.0.0 0.0.0.0
!
!
crypto ipsec transform-set T1 esp-des esp-md5-hmac
!
crypto ipsec profile PRO
set transform-set T1

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 PRO
!
!
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
 
==============R3================

crypto isakmp key cisco address 0.0.0.0 0.0.0.0
!
!
crypto ipsec transform-set T1 esp-des esp-md5-hmac
!
crypto ipsec profile PRO
set transform-set T1

!
!
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 Tunnel1
ip unnumbered Loopback0
tunnel source GigabitEthernet0/0
tunnel mode ipsec ipv4
tunnel destination 100.12.0.1
tunnel protection ipsec profile PRO
!
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

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI