【教學】PING這個指令其中的意義 - PCZONE 討論區

返回   PCZONE 討論區 > ▲ ADSL_CABLE_FTTH 寬 頻 上 網 討 論 > -- 網 路 技 術 版


PCZONE 討論區



通知

-- 網 路 技 術 版 較深入的網路方面技術問題,請來此這版討論

會員
【教學】PING這個指令其中的意義
請問一下:

我對Ping有點疑問,請教一下



C:\Documents and Settings\adminstrator>PING WWW.HINET.NET



Pinging www.hinet.net [203.66.88.89] with 32 bytes of data:



Reply from 203.66.88.89: bytes=32 time=7ms TTL=247

Reply from 203.66.88.89: bytes=32 time=4ms TTL=247

Reply from 203.66.88.89: bytes=32 time=4ms TTL=247

Reply from 203.66.88.89: bytes=32 time=3ms TTL=247



Ping statistics for 203.66.88.89:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 3ms, Maximum = 7ms, Average = 4ms



問題一:

Reply from 203.66.88.89: bytes=32 time=7ms TTL=247

其中的time和TTL是什麼意思呢?

我知TTL(封包存活時間),那TIME和TTL的時間長短範圍要多少才是合理範圍呢?

也就是代表你的網路是比較通暢呢?



問題二:

Approximate round trip times in milli-seconds:

Minimum = 3ms, Maximum = 7ms, Average = 4ms

這個是代表來回需要的時間最小、大、平均值,那個有代表什麼涵意呢?



謝謝再一次熱心的回覆

回覆
無女友的人生34年

[1]time 就是封包回應的時間, 單位是毫秒(千分之一秒)時間是越短越好,
在區網內通常小於10ms, 若用 ADSL 正常範圍應小於100-200ms
若此值太高, 代表網路擁塞或網路設備可能有問題.

[2]表示ping 以後的統計結果, ping 4次內取最短及最長的時間,
以及四次的平均值.
回覆
會員

引用:
作者: ellery
[1]time 就是封包回應的時間, 單位是毫秒(千分之一秒)時間是越短越好,在區網內通常小於10ms, 若用 ADSL 正常範圍應小於100-200ms若此值太高, 代表網路擁塞或網路設備可能有問題.

[2]表示ping 以後的統計結果, ping 4次內取最短及最長的時間,
以及四次的平均值.
謝謝你的熱心回覆
用 ADSL 正常範圍應小於100-200ms若此值太高 這個是什麼意思呢?
那TTL值要多少才是範圍呢

謝謝
回覆
明誠科技小峰

TTL通常經過一台ROUTER會扣ㄧ,不太需要去管他.想知道經過幾個節點,WINDOWS平台可以用TRACERT,UNIX LIKE的作業系統可用traceroute來追蹤.

比方說我ping tw.yahoo.com

G:\Documents and Settings\Administrator>ping tw.yahoo.com

Pinging vip1.tw.tpe.yahoo.com [202.43.195.52] with 32 bytes of data:

Reply from 202.43.195.52: bytes=32 time=18ms TTL=57
Reply from 202.43.195.52: bytes=32 time=18ms TTL=57
Reply from 202.43.195.52: bytes=32 time=18ms TTL=57
Reply from 202.43.195.52: bytes=32 time=18ms TTL=57

Ping statistics for 202.43.195.52:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 18ms, Maximum = 18ms, Average = 18ms

這樣看來反應才18ms,似乎蠻不錯的.因為我用Hinet的12M/1M,到台灣YAHOO的反應有快一些,因為它放在HINET機房代管.如果我到其他地方的PING AVERAGE過高的話,通常表示我到這些地方網路有點塞,通常大於200ms就會覺得慢一些了.

比方說

G:\Documents and Settings\Administrator>ping www.ipbb.com

Pinging www.ipbb.com [66.150.161.140] with 32 bytes of data:

Reply from 66.150.161.140: bytes=32 time=165ms TTL=239
Reply from 66.150.161.140: bytes=32 time=165ms TTL=239
Reply from 66.150.161.140: bytes=32 time=165ms TTL=239
Reply from 66.150.161.140: bytes=32 time=165ms TTL=239

Ping statistics for 66.150.161.140:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 165ms, Maximum = 165ms, Average = 165ms

回覆







 XML   RSS 2.0   RSS 
本站使用 vBulletin 合法版權程式
站務信箱 : [email protected]

本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。