拓扑图
配置过程及原理
- 进入隧道接口
- 隧道协议封装为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