GRE配置

GRE配置

黑客软件访客2021-10-12 9:33:007611A+A-

  

    先将R1,R2,R3互相ping通。

  GRE配置如下:

  R1:

  R1(config)#interface tunnel 0

  R1(config-if)#tunnel mode gre ip

  R1(config-if)#ip address 172.16.0.1 255.255.255.0

  R1(config-if)#tunnel source 192.168.1.1

  R1(config-if)#tunnel destination 192.168.2.2

  R1(config-if)#exit

  R1(config)#ip route 0.0.0.0 0.0.0.0 172.16.0.2

  R3:

  R3(config)#interface tunnel 0

  R3(config-if)#tunnel mode gre ip

  R3(config-if)#ip address 172.16.0.2 255.255.255.0

  R3(config-if)#tunnel source 192.168.2.2

  R3(config-if)#tunnel destination 192.168.1.1

  R3(config-if)#exit

  R3(config)#ip route 0.0.0.0 0.0.0.0 172.16.0.1

  GRE检验

  1、ping通GRE隧道对端

  

  2、端口信息

 

     文章来源:http://ljclee.blog.51cto.com/9538192/1607141

点击这里复制本文地址 以上内容由黑资讯整理呈现,请务必在转载分享时注明本文地址!如对内容有疑问,请联系我们,谢谢!
  • 1条评论
  • 痛言辞取2022-05-28 04:41:17
  •       先将R1,R2,R3互相ping通。  GRE配置如下:  R1:  R1(config)#interface tunnel 0  R1(config-if)#tunnel mode gre ip  R1(config-

支持Ctrl+Enter提交

黑资讯 © All Rights Reserved.  
Copyright Copyright 2015-2020 黑资讯
滇ICP备19002590号-1
Powered by 黑客资讯 Themes by 如有不合适之处联系我们
网站地图| 发展历程| 留言建议| 网站管理