基于GRE隧道的VPN技术,在GRE隧道下调用IPSec保护措施,实现将GRE隧道中的流量进行加密。
GRE隧道

R1interface Tunnel10ip address 172.16.1.1 255.255.255.0tunnel source 10.1.12.1tunnel destination 10.1.12.2endR2interface Tunnel10ip address 172.16.1.2 255.255.255.0tunnel source 10.1.12.2tunnel destination 10.1.12.1end

