欢迎来到ChAn的博客

光終會灑在小陳身上,小陳也會燦爛一場
扩大
缩小

HCIP---简单的GRE

R1 与R3之间做简单的VPN
实验拓扑:
在这里插入图片描述
各个接口上配置IP:
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
R1 和R3写一个缺省指向R2,R2 作为一个isp路由器 ,公网区域;

ip route-static 0.0.0.0 0.0.0.0 12.1.1.2
ip route-static 0.0.0.0 0.0.0.0 23.1.1.1

R1和R3上做GRE:

interface Tunnel0/0/0
 ip address 192.168.3.1 255.255.255.0 
 tunnel-protocol gre
 source 12.1.1.1
 destination 23.1.1.2


interface Tunnel0/0/0
 ip address 192.168.3.2 255.255.255.0 
 tunnel-protocol gre
 source 23.1.1.2
 destination 12.1.1.1

测试:

在这里插入图片描述
在这里插入图片描述

posted on 2022-03-30 12:04  ChAnAn  阅读(6)  评论(0编辑  收藏  举报

导航