一级日韩免费大片,亚洲一区二区三区高清,性欧美乱妇高清come,久久婷婷国产麻豆91天堂,亚洲av无码a片在线观看

通過(guò)Ping排除路由器故障的方法

時(shí)間:2024-11-14 23:04:31 網(wǎng)絡(luò )診斷 我要投稿
  • 相關(guān)推薦

通過(guò)Ping排除路由器故障的方法

  在路由器的故障分析中,Ping命令是一個(gè)常見(jiàn)而實(shí)用的網(wǎng)絡(luò )管理工具,用這種工具可以測試端到端的連通性,即檢查源端到目的端網(wǎng)絡(luò )是否通暢。下面是YJBYS小編整理的通過(guò)Ping排除路由器故障的相關(guān)知識,希望對你有幫助!

  在路由器上Ping返回符號的含義如下表所示:

  符號 描述

  ! 收到一個(gè)響應。

  .  在等待時(shí),網(wǎng)絡(luò )服務(wù)器超時(shí)。

  U 目標無(wú)法到達,受到錯誤的PDU。

  Q 源消失(目標設備太忙)。

  M 數據無(wú)法分割。

  ? 包類(lèi)型未知。

  & 報的有效期過(guò)了。

  在路由器上無(wú)法Ping通一個(gè)地址的原因有很多種,譬如線(xiàn)路故障,對方路由器的接口沒(méi)有起來(lái),路由器的路由表中沒(méi)有該地址的路由信息等等都會(huì )造成網(wǎng)絡(luò )無(wú)法Ping通。

  實(shí)例:

  網(wǎng)絡(luò )結構如(圖1)示。

 
 
Router1#Ping 34.0.0.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 34.0.0.4, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
在Router1上無(wú)法Ping通Router4的接口,通過(guò)使用DEBUG命令來(lái)獲得更多的信息,便于進(jìn)一步的分析:
Router1#debug ip packet
IP packet debugging is on
Router1#Ping 34.0.0.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 34.0.0.4, timeout is 2 seconds:
5d21h: IP: s=12.0.0.1 (local), d=34.0.0.4, Len 100, unroutable.
5d21h: IP: s=12.0.0.1 (local), d=34.0.0.4, Len 100, unroutable.
……
Success rate is 0 percent (0/5)
我們看到 “unroutable”的消息,表明在Router1的路由表中不存在該地址的路由信息,Router1不知道該地址向何處轉發(fā),現增加一條缺省路由到Router1中:
Router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#ip route 0.0.0.0 0.0.0.0 Serial0/0
然后,再在Router1上使用Ping:
Router1#Ping 34.0.0.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 34.0.0.4, timeout is 2 seconds:
U.U.U
Success rate is 0 percent (0/5)
6d03h: IP: s=12.0.0.1 (local), d=34.0.0.4 (Serial0/0), Len 100, sending
6d03h: ICMP type=8, code=0
6d03h: IP: s=12.0.0.2 (Serial0/0), d=12.0.0.1 (Serial0/0), Len 56, rcvd 3
6d03h: ICMP type=3, code=1
…… 
再看看在Router2上收到了什么信息:
Router2#
21:56:04: IP: s=12.0.0.1 (Serial1), d=34.0.0.4, Len 100, unroutable
21:56:04: ICMP type=8, code=0
21:56:04: IP: s=12.0.0.2 (local), d=12.0.0.1 (Serial1), Len 56, sending
21:56:04: ICMP type=3, code=1
……   
從上面的信息可以看出Router1已經(jīng)能正確地發(fā)送包到Router2,但好象Router2并不知道如何轉發(fā)地址34.0.0.4,所以Router2發(fā)送了“unreachable”的消息給Router1。因此分別給Router2和Router3加上動(dòng)態(tài)路由協(xié)議RIP:
Router2#
router rip
network 12.0.0.0
network 23.0.0.0
Router3#
router rip
network 23.0.0.0
network 34.0.0.0
然后,在Router1上Ping Router4的接口:
Router1#Ping 34.0.0.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 34.0.0.4, timeout is 2 seconds:
5d21h: IP: s=12.0.0.1 (local), d=34.0.0.4 (Serial0/0), Len 100, sending.
5d21h: IP: s=12.0.0.1 (local), d=34.0.0.4 (Serial0/0), Len 100, sending.
……
Success rate is 0 percent (0/5)   
現在情況看起來(lái)好點(diǎn),Router1能發(fā)包到Router4,只是收不到任何從Router4返回的信息?磥(lái)Router4上也有問(wèn)題:
Router4#
6d23h: IP: s=12.0.0.1 (Serial0/0), d=34.0.0.4 (Serial0/0), Len 100, rcvd 3
6d23h: IP: s=34.0.0.4 (local), d=12.0.0.1, Len 100, unroutable
……
Router4收到了ICMP的包,但由于沒(méi)有到12.0.0.1的路由信息,因此無(wú)法響應12.0.0.1所發(fā)過(guò)來(lái)的包。在Router4上增加一條缺省路由:

  Router4(config)#ip route 0.0.0.0 0.0.0.0 Serial0/0

【通過(guò)Ping排除路由器故障的方法】相關(guān)文章:

電腦故障排除方法11-05

電腦故障排除的方法08-02

硬盤(pán)故障排除方法09-12

內存故障排除方法09-24

常見(jiàn)電腦故障的排除方法06-26

硬件故障排除的主要方法08-14

電腦光驅故障的排除方法07-16

路由器網(wǎng)絡(luò )診斷故障排除技巧06-20

ping命令檢測網(wǎng)絡(luò )故障的方法09-25

路由器網(wǎng)絡(luò )診斷步驟及故障排除技巧10-15

一级日韩免费大片,亚洲一区二区三区高清,性欧美乱妇高清come,久久婷婷国产麻豆91天堂,亚洲av无码a片在线观看