策略路由中有路由却ping不通的问题
今天做了耿叔的策略路由的综合实验,用gns3做得,我把r3的serial口down了之后,我查看各个路由器上的路由表,确认都有去往172.16.65.1的路由,并且有返回的路由,为什么我就是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导出文件
哪位大神帮我看一下问题在哪吧,困惑了我好久了,拜谢了 你在R1上,如果使用扩展ping,以R1的loopback口为源即可ping通172.16.65.1
当你直接在R1上ping 172.16.65.1时,ICMP包源地址是172.16.12.1, 而R5上并没有172.16.12.0的路由,
因此肯定是ping不通的、 tea 发表于 2012-12-23 01:13 static/image/common/back.gif
你在R1上,如果使用扩展ping,以R1的loopback口为源即可ping通172.16.65.1
当你直接在R1上ping 172.16.65. ...
谢谢耿叔,果然是这样啊
页:
[1]