免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 10134 | 回复: 11
打印 上一主题 下一主题

大侠们救命,路由器内部端口ping不通 [复制链接]

论坛徽章:
1
天蝎座
日期:2014-02-28 16:08:53
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-04-12 17:28 |只看该作者 |倒序浏览
我在ge 1/1上ping 不通ge1/3是怎么回事
  1. #show ip route

  2. Gateway of last resort is 10.1.3.182 to network 0.0.0.0

  3. C    192.168.251.0/24 is directly connected, GigabitEthernet1/3
  4. C    192.168.252.0/24 is directly connected, GigabitEthernet1/3
  5. S*   0.0.0.0/0 [1/0] via 10.1.3.182
  6. #ping 192.168.251.254

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



  11. #show interfaces gigabitEthernet 1/3
  12. GigabitEthernet1/3 is up, line protocol is up (connected)
  13.   Hardware is C6k 1000Mb 802.3, address is 0023.33c6.7440 (bia 0023.33c6.7440)
  14.   Internet address is 192.168.251.254/24
  15.   MTU 1500 bytes, BW 100000 Kbit, DLY 10 usec,
  16.      reliability 255/255, txload 1/255, rxload 1/255
  17.   Encapsulation ARPA, loopback not set
  18.   Keepalive set (10 sec)
  19.   Full-duplex, 100Mb/s
  20.   input flow-control is off, output flow-control is off
  21.   Clock mode is auto
  22.   ARP type: ARPA, ARP Timeout 04:00:00
  23.   Last input 00:00:00, output 00:00:06, output hang never
  24.   Last clearing of "show interface" counters never
  25.   Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  26.   Queueing strategy: fifo
  27.   Output queue: 0/40 (size/max)
  28.   5 minute input rate 1000 bits/sec, 2 packets/sec
  29.   5 minute output rate 258000 bits/sec, 15 packets/sec
  30.   L2 Switched: ucast: 3896 pkt, 260990 bytes - mcast: 385303 pkt, 32159126 bytes
  31.   L3 in Switched: ucast: 888287 pkt, 203583393 bytes - mcast: 0 pkt, 0 bytes mcast
  32.   L3 out Switched: ucast: 1264427 pkt, 1125140247 bytes mcast: 0 pkt, 0 bytes
  33.      2346896 packets input, 386455158 bytes, 0 no buffer
  34.      Received 573021 broadcasts (0 IP multicasts)
  35.      0 runts, 0 giants, 0 throttles
  36.      0 input errors, 0 CRC, 1 frame, 0 overrun, 0 ignored
  37.      0 watchdog, 0 multicast, 0 pause input
  38.      0 input packets with dribble condition detected
  39.      1434331 packets output, 1140897596 bytes, 0 underruns
  40.      0 output errors, 0 collisions, 2 interface resets
  41.      0 babbles, 0 late collision, 0 deferred
  42.      0 lost carrier, 0 no carrier, 0 PAUSE output
  43.      0 output buffer failures, 0 output buffers swapped out
复制代码

论坛徽章:
0
2 [报告]
发表于 2011-04-12 20:49 |只看该作者
ip routing 打开了没

sh run贴出来看看

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
3 [报告]
发表于 2011-04-13 08:25 |只看该作者
详细的说说你的环境还有配置信息上来看看,单纯的看接口状态还不能确定问题。

论坛徽章:
1
天蝎座
日期:2014-02-28 16:08:53
4 [报告]
发表于 2011-04-13 09:24 |只看该作者
回复 2# aplah


  1. !

  2. !
  3. !
  4. redundancy
  5. mode sso
  6. main-cpu
  7.   auto-sync running-config
  8. spanning-tree mode pvst
  9. spanning-tree extend system-id
  10. diagnostic cns publish cisco.cns.device.diag_results
  11. diagnostic cns subscribe cisco.cns.device.diag_commands
  12. fabric timer 15
  13. !
  14. vlan internal allocation policy ascending
  15. vlan access-log ratelimit 2000
  16. !
  17. !
  18. !
  19. --More--         !
  20. --More--         interface GigabitEthernet1/1
  21. --More--          description internal port
  22. --More--          ip address 10.72.222.254 255.255.255.192 secondary
  23. --More--          ip address 10.72.222.190 255.255.255.192
  24. --More--          ip access-group 105 in
  25. --More--          no ip redirects
  26. --More--         !
  27. --More--         interface GigabitEthernet1/2
  28. --More--          description external port
  29. --More--          ip address 10.1.3.181 255.255.255.252
  30. --More--          ip access-group 106 in
  31. --More--         !
  32. --More--         interface GigabitEthernet1/3
  33. --More--          ip address 192.168.252.254 255.255.255.0 secondary
  34. --More--          ip address 192.168.253.254 255.255.255.0 secondary
  35. --More--          ip address 192.168.251.254 255.255.255.0
  36. --More--          ip access-group 109 in
  37. --More--          no ip redirects
  38. --More--          ip route-cache flow
  39. --More--         !

  40. --More--         interface GigabitEthernet1/45
  41. --More--          ip address 28.82.17.10 255.255.255.252
  42. --More--         !
  43. --More--         interface GigabitEthernet1/46
  44. --More--          ip address 28.82.17.6 255.255.255.252
  45. --More--         !


  46. --More--         router ospf 100
  47. --More--          log-adjacency-changes
  48. --More--          redistribute connected subnets
  49. --More--          redistribute static subnets
  50. --More--          network 10.1.3.180 0.0.0.3 area 0
  51. --More--          network 10.72.222.128 0.0.0.63 area 1
  52. --More--          network 10.72.222.192 0.0.0.63 area 1
  53. --More--          network 192.168.251.0 0.0.0.255 area 1
  54. --More--          network 192.168.252.0 0.0.0.255 area 1
  55. --More--          network 192.168.253.0 0.0.0.255 area 1
  56. --More--         !
  57. --More--         ip classless
  58. --More--         ip route 0.0.0.0 0.0.0.0 10.1.3.182
  59. --More--         !
  60. --More--         no ip http server
  61. --More--         !
  62. --More--         access-list 105 deny   tcp any any eq 135
  63. --More--         access-list 105 deny   udp any any eq 135
  64. --More--         access-list 105 deny   udp any any eq 1434
  65. --More--         access-list 105 deny   tcp any any eq 139
  66. --More--         access-list 105 deny   udp any any eq netbios-ss
  67. --More--         access-list 105 deny   tcp any any eq 445
  68. --More--         access-list 105 deny   udp any any eq 445
  69. --More--         access-list 105 deny   tcp any any eq 593
  70. --More--         access-list 105 deny   udp any any eq 593
  71. --More--         access-list 105 deny   tcp any any eq 5554
  72. --More--         access-list 105 deny   tcp any any eq 9996
  73. --More--         access-list 105 permit ip any any
  74. --More--         access-list 106 deny   tcp any any eq 135
  75. --More--         access-list 106 deny   udp any any eq 135
  76. --More--         access-list 106 deny   udp any any eq 1434
  77. --More--         access-list 106 deny   tcp any any eq 139
  78. --More--         access-list 106 deny   udp any any eq netbios-ss
  79. --More--         access-list 106 deny   tcp any any eq 445
  80. --More--         access-list 106 deny   udp any any eq 445
  81. --More--         access-list 106 deny   tcp any any eq 593
  82. --More--         access-list 106 deny   udp any any eq 593
  83. --More--         access-list 106 deny   tcp any any eq 5554
  84. --More--         access-list 106 deny   tcp any any eq 9996
  85. --More--         access-list 106 permit ip any any
  86. --More--         access-list 108 deny   tcp any any eq 135
  87. --More--         access-list 108 deny   udp any any eq 135
  88. --More--         access-list 108 deny   udp any any eq 1434
  89. --More--         access-list 108 deny   tcp any any eq 139
  90. --More--         access-list 108 deny   udp any any eq netbios-ss
  91. --More--         access-list 108 deny   tcp any any eq 445
  92. --More--         access-list 108 deny   udp any any eq 445
  93. --More--         access-list 108 deny   tcp any any eq 593
  94. --More--         access-list 108 deny   udp any any eq 593
  95. --More--         access-list 108 deny   tcp any any eq 5554
  96. --More--         access-list 108 deny   tcp any any eq 9996
  97. --More--         access-list 108 permit ip 192.168.251.0 0.0.0.224 host 28.82.17.5
  98. --More--         access-list 108 permit ip host 192.168.252.79 host 28.82.17.5
  99. --More--         access-list 108 permit ip host 192.168.252.125 host 28.82.17.5
  100. --More--         access-list 108 deny   ip any host 28.82.17.5
  101. --More--         access-list 108 permit ip any any
  102. --More--         access-list 109 deny   tcp any any eq 135
  103. --More--         access-list 109 deny   udp any any eq 135
  104. --More--         access-list 109 deny   udp any any eq 1434
  105. --More--         access-list 109 deny   tcp any any eq 139
  106. --More--         access-list 109 deny   udp any any eq netbios-ss
  107. --More--         access-list 109 deny   tcp any any eq 445
  108. --More--         access-list 109 deny   udp any any eq 445
  109. --More--         access-list 109 deny   tcp any any eq 593
  110. --More--         access-list 109 deny   udp any any eq 593
  111. --More--         access-list 109 deny   tcp any any eq 5554
  112. --More--         access-list 109 deny   tcp any any eq 9996
  113. --More--         access-list 109 permit ip any 10.0.0.0 0.0.0.255
  114. --More--         access-list 109 permit ip any 192.0.0.0 0.0.0.255
  115. --More--         access-list 109 permit ip any 172.0.0.0 0.0.0.255
  116. --More--         access-list 109 permit ip any host 28.82.17.5
  117. --More--         access-list 109 permit ip any host 28.82.17.9
  118. --More--         !

  119. --More--         
复制代码
还有,我在10.72.这个网段,本机能够ping通192.168.251.254这个口,但是在路由器上是ping不通,192.168这个网段能访问28.82这个网段,但是不能访问10.72这个

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
5 [报告]
发表于 2011-04-13 09:42 |只看该作者
1、10.72的网关对吗?
2、109那个ACL对吗?

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
6 [报告]
发表于 2011-04-13 09:43 |只看该作者
你可以先去掉虽有ACL试试。
如果去掉ACL还不通,给我pc机的ipconfig /all route print 还有tracert的结果。

论坛徽章:
1
天蝎座
日期:2014-02-28 16:08:53
7 [报告]
发表于 2011-04-13 09:43 |只看该作者
回复 3# ssffzz1


  1.     C    192.168.251.0/24 is directly connected, GigabitEthernet1/3
  2.      10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
  3. C       10.72.222.128/26 is directly connected, GigabitEthernet1/1
  4. C       10.72.222.192/26 is directly connected, GigabitEthernet1/1
  5. C       10.1.3.180/30 is directly connected, GigabitEthernet1/2
  6.      28.0.0.0/30 is subnetted, 2 subnets
  7. C       28.82.17.8 is directly connected, GigabitEthernet1/45
  8. C       28.82.17.4 is directly connected, GigabitEthernet1/46
  9. C    192.168.253.0/24 is directly connected, GigabitEthernet1/3
  10. C    192.168.252.0/24 is directly connected, GigabitEthernet1/3
复制代码

论坛徽章:
1
天蝎座
日期:2014-02-28 16:08:53
8 [报告]
发表于 2011-04-13 10:06 |只看该作者
回复 6# ssffzz1


    但是我是在路由器上(10.72.远程登陆)执行的ping 操作,ping路由上的端口,没有道理不通啊,

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
9 [报告]
发表于 2011-04-13 12:33 |只看该作者
我又糊涂了。

还是没搞明白你是如何测试的。你再详细说说。

论坛徽章:
1
天蝎座
日期:2014-02-28 16:08:53
10 [报告]
发表于 2011-04-13 13:16 |只看该作者
pc上(10.72.222.251)能ping路由器端口A(192.168.251.254),但是A端口下的机器不能与10.72这个网段机器通信。路由器中也不能ping通端口A.但是端口A下的机器能与路由器的端口B28.82.17.网段相通信。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP