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

[已解决] 策略路由实验中有路由却ping不通的问题

[复制链接]
发表于 2012-12-22 23:24:27 | 显示全部楼层 |阅读模式
今天做了个策略路由的综合实验,用gns3做得,我把r3的serial口down了之后,我查看各个路由器上的路由表,确认都有去往172.16.65.1(r5上的loopback接口)的路由,并且有返回的路由,为什么我就是ping不通呢???
先来个拓扑图


配置在这里
R1
!
interface Loopback1
ip address 172.16.1.1 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.12.1 255.255.255.0
duplex auto
speed auto
!
router eigrp 100
network 172.16.0.0
network 192.168.12.0
no auto-summary
!

R2
!
interface Serial0/0
ip address 192.168.23.2 255.255.255.0
serial restart-delay 0
!
interface Serial0/1
ip address 192.168.24.2 255.255.255.0
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
interface FastEthernet1/0
ip address 192.168.12.2 255.255.255.0
duplex auto
speed auto
!
router eigrp 100
redistribute rip metric 2000 100 255 1 1500
redistribute ospf 1 metric 2000 100 255 1 1500
network 192.168.12.0
no auto-summary
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
redistribute eigrp 100 subnets
network 192.168.24.2 0.0.0.0 area 0
!
router rip
version 2
redistribute eigrp 100 metric 1
network 192.168.23.0
no auto-summary


R3
!
interface Serial0/0
ip address 192.168.23.3 255.255.255.0
shutdown
serial restart-delay 0
!
interface Serial0/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
interface FastEthernet1/0
ip address 192.168.100.3 255.255.255.0
duplex auto
speed auto
!
router rip
version 2
passive-interface FastEthernet1/0
network 192.168.23.0
network 192.168.100.0
neighbor 192.168.100.5
no auto-summary
!

R4
!
interface Loopback1
ip address 172.16.4.1 255.255.255.0
!
interface Serial0/0
ip address 192.168.24.4 255.255.255.0
serial restart-delay 0
!
interface Serial0/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
interface FastEthernet1/0
ip address 192.168.100.4 255.255.255.0
duplex auto
speed auto
!
router ospf 1
router-id 4.4.4.4
log-adjacency-changes
redistribute static subnets
network 192.168.24.4 0.0.0.0 area 0
!
no ip http server
no ip http secure-server
!
ip forward-protocol nd
ip route 172.16.64.0 255.255.252.0 192.168.100.5


R5
!
interface Loopback1
ip address 172.16.65.1 255.255.255.0
!
interface Loopback2
ip address 172.16.66.1 255.255.255.0
!
interface Loopback3
ip address 172.16.67.1 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.100.5 255.255.255.0
duplex auto
speed auto
!
router rip
version 2
redistribute connected metric 1
passive-interface default
network 192.168.100.0
neighbor 192.168.100.3
no auto-summary
!
no ip http server
no ip http secure-server
!
ip forward-protocol nd
ip route 172.16.1.0 255.255.255.0 192.168.100.4 130
!
!

附上拓扑和配置的gns3导出文件    策略路由.zip (3.75 KB, 下载次数: 0)



发表于 2012-12-24 12:01:47 | 显示全部楼层
你的拓扑没有显示出来,这个问题是这样,你down掉接口后,拓扑发生变化,这是路由表中的条目还没有发生改变(收敛完成),但是你去ping是不通的,经过一定时间它的路由条目就会变成metric为16 ,所以你好好看一下路由表。等待收敛完成后再去看看。。。
沙发 2012-12-24 12:01:47 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-1-9 17:31:31 | 显示全部楼层
板凳 2013-1-9 17:31:31 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-1-9 17:31:43 | 显示全部楼层
地板 2013-1-9 17:31:43 回复 收起回复
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-26 01:02 , Processed in 0.074789 second(s), 22 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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