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

[求助] 为什么frame-relay中的实验中,路由器表已经可以看得见路由,但是却ping不通

[复制链接]
发表于 2015-9-29 20:56:41 | 显示全部楼层 |阅读模式
如下图:

拓扑图

拓扑图


在一个frame-relay网络中,路由器1和路由器2,路由器1和路由器3之间已经各建立了一条PVC,并可以ping 通,各路由器主要配置如下:

路由器4
interface Serial2/1
no ip address
encapsulation frame-relay
serial restart-delay 0
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 102 interface Serial2/2 201
frame-relay route 103 interface Serial2/3 301
!         
interface Serial2/2
no ip address
encapsulation frame-relay
serial restart-delay 0
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 201 interface Serial2/1 102
!         
interface Serial2/3
no ip address
encapsulation frame-relay
serial restart-delay 0
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 301 interface Serial2/1 103


路由器1
interface Loopback0
ip address 11.1.1.1 255.255.255.0
!         
interface Serial2/1
ip address 123.1.1.1 255.255.255.0
encapsulation frame-relay
no ip split-horizon eigrp 1                      我直接使用物理接口,并取消了水平分割
serial restart-delay 0
!         

router eigrp 1 network 0.0.0.0                                     宣告了所有网络
no auto-summary
!

路由器2
!         
interface Serial2/2
ip address 123.1.1.2 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
!         
router eigrp 1
network 0.0.0.0
auto-summary
!     


路由器3
!         
interface Serial2/3
ip address 123.1.1.3 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
!         
router eigrp 1
network 0.0.0.0
auto-summary
!

路由器1的dlci map也正常
ESW1#show frame-relay map
Serial2/1 (up): ip 123.1.1.2 dlci 102(0x66,0x1860), dynamic,
              broadcast,, status defined, active
Serial2/1 (up): ip 123.1.1.3 dlci 103(0x67,0x1870), dynamic,
              broadcast,, status defined, active      

路由器1ping 路由器2或路由器3的Loop都正常
ESW1#ping 22.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 22.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/28/60 ms
ESW1#ping 33.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/19/20 ms


路由器2的路由表里也已经可以看到路由器3的loopback
ESW2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

D    33.0.0.0/8 [90/2809856] via 123.1.1.1, 00:35:53, Serial2/2
     22.0.0.0/24 is subnetted, 1 subnets
C       22.1.1.0 is directly connected, Loopback0
     11.0.0.0/24 is subnetted, 1 subnets
D       11.1.1.0 [90/2297856] via 123.1.1.1, 00:41:52, Serial2/2
     123.0.0.0/24 is subnetted, 1 subnets
C       123.1.1.0 is directly connected, Serial2/2

当然了,路由器3的路由表也可以看见路由器2的loopback

ESW3#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     33.0.0.0/24 is subnetted, 1 subnets
C       33.1.1.0 is directly connected, Loopback0
     22.0.0.0/24 is subnetted, 1 subnets
D       22.1.1.0 [90/2809856] via 123.1.1.1, 00:00:26, Serial2/3
     11.0.0.0/24 is subnetted, 1 subnets
D       11.1.1.0 [90/2297856] via 123.1.1.1, 00:42:11, Serial2/3
     123.0.0.0/24 is subnetted, 1 subnets
C       123.1.1.0 is directly connected, Serial2/3      



似乎一切都是正常的,但在路由器2上就是ping不通路由器3的loopback,同样路由器3上也ping不通路由器2的loopback

ESW2#ping 33.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.1.1.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
ESW2#ping 123.1.1.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 123.1.1.3, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)


这是为什么呢?为什么路由表里已经看得见,但还是ping不通呢?



发表于 2015-10-14 16:30:23 | 显示全部楼层
问题解决了吗,做loopback和dlci的映射试试看
沙发 2015-10-14 16:30:23 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-10-18 00:26:04 | 显示全部楼层
已解决
路由器2
!         
interface Serial2/2
ip address 123.1.1.2 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
frame-relay map ip 123.1.1.3 201 broadcast
!
路由器3
!         
interface Serial2/3
ip address 123.1.1.3 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
frame-relay map ip 123.1.1.2 301 broadcast
!   
板凳 2015-10-18 00:26:04 回复 收起回复
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-30 14:44 , Processed in 0.073479 second(s), 26 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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