【HCIA】GREVPN基础

拓扑图

 

配置过程及原理

  • 进入隧道接口
  • 隧道协议封装为GRE
  • 配置封装的源地址和目的地址
  • 设置隧道接口的逻辑地址
  • 配置以实现去对方私网的路由,可以使用ospf等动态路由或者静态路由

配置命令

interface tunnel0/0/0

 destination 23.1.1.3

 ip address 192.168.13.1 255.255.255.0

 tunnel-protocol gre

 source 12.1.1.1

interface tunnel0/0/0

 destination 12.1.1.1

 ip address 192.168.13.3 255.255.255.0

 tunnel-protocol gre

 source 23.1.1.3

DIS THIS

 

2023/6/3 14:33

猜你喜欢

转载自blog.csdn.net/weixin_45988710/article/details/131024126
今日推荐