设为首页收藏本站language 语言切换
查看: 1817|回复: 1
收起左侧

[分享] 求大神看看这个配置到底哪里出问题了!

[复制链接]
发表于 2016-7-8 09:51:43 | 显示全部楼层 |阅读模式
求大神们帮忙看下到底是什么问题,这是要配置gre隧道的拓扑,首先我在2个内网的边界路由器已经做好nat映射,而公网路由器我仅仅只是配了IP地址,然后接着配置interface-Tunnel口的IP地址,配置好协议是GRE、源IP、目标IP2边对称源IP目标IP,但是2interface-tunnel口的数据链路层就是up不起来,一直是down,下面是我做nat配置和gre的配置详情:
拓补.jpg
下面是公网路由器上的IP表

公网IP表

公网IP表
R1NAT配置
[R1-GigabitEthernet0/0/0]ip add 10.1.1.254 24
[R1-Serial1/0/0]ipadd 61.0.0.2 30
[R1]acl 2000
[R1-acl-basic-2000]rule permit source10.1.1.0 0.0.0.255
[R1]int s1/0/0
[R1-Serial1/0/0]natoutbound 2000
[R1]ip route-static0.0.0.0 0 61.0.0.1
R3NAT配置
[R3-GigabitEthernet0/0/0]ip add 10.2.2.254 24
[R3-Serial1/0/0]ip add 202.96.134.2 30
[R3]acl 2000
[R3-acl-basic-2000]rule permit source10.2.2.0 0.0.0.255
[R3-Serial1/0/0]natoutbound 2000
[R3]ip route-static0.0.0.0 0 202.96.134.1
Nat我就是这样配置的,接着配置tunnel口就出问题了
R1的配置
[R1-Tunnel0/0/0]ipaddress 10.13.13.1 24
[R1-Tunnel0/0/0]tunnel-protocolgre
[R1-Tunnel0/0/0]source61.0.0.2
[R1-Tunnel0/0/0]description202.96.134.2
[R1]ip route-static 10.2.2.0 24 Tunnel 0/0/0
R2的配置
[R3-Tunnel0/0/1]ip address 10.13.13.2 24
[R3-Tunnel0/0/1]tunnel-protocolgre
[R3-Tunnel0/0/1]source202.96.134.2
[R3-Tunnel0/0/1]description61.0.0.2
[R3]ip route-static 10.1.1.0 24 Tunnel 0/0/1
[R1]disp interface Tunnel 0/0/0
Tunnel0/0/0 current state : UP
Line protocol currentstate : DOWN

这边数据链路层一直都是down 求教哪里错了

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-10 22:58 , Processed in 0.052664 second(s), 13 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表