網(wǎng)絡(luò)工具箱提供了網(wǎng)絡(luò)命令運(yùn)行界面,使得ping , tracert,查看網(wǎng)絡(luò)連接命令方便的運(yùn)行,同時(shí)可將結(jié)果記錄到數(shù)據(jù)庫,可根據(jù)時(shí)間、IP地址、域名或者命令類型進(jìn)行查詢。為網(wǎng)絡(luò)排障提供了便利的條件。
怎樣PING IP
ping 網(wǎng)關(guān) 檢查計(jì)算機(jī)是否連通代理服務(wù)器或者internet
ping ip(自己的) 檢查網(wǎng)卡
ping ip (別人的) 檢查是否連通內(nèi)網(wǎng)或者外網(wǎng)
如果網(wǎng)絡(luò)不通,可以按照以下步驟來診斷網(wǎng)絡(luò)狀況:
1.Ping本機(jī)IP
例如本機(jī)IP地址為:222.31.191.211。則執(zhí)行命令Ping 222.31.191.211。如果網(wǎng)卡安裝配置沒有問題,則應(yīng)有類似下列顯示:
C:\>ping 222.31.191.211
Pinging 222.31.191.211 with 32 bytes of data:
Reply from 222.31.191.211: bytes=32 time<1ms TTL=128
Reply from 222.31.191.211: bytes=32 time<1ms TTL=128
Reply from 222.31.191.211: bytes=32 time<1ms TTL=128
Reply from 222.31.191.211: bytes=32 time<1ms TTL=128
Ping statistics for 222.31.191.211:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
如果在MS-DOS方式下執(zhí)行此命令顯示內(nèi)容為:Request timed out,則表明網(wǎng)卡安裝或配置有問題。將網(wǎng)線斷開再次執(zhí)行此命令,如果顯示正常,則說明本機(jī)使用的IP地址可能與另一臺(tái)正在使用的機(jī)器IP地址重復(fù)了。如果仍然不正常,則表明本機(jī)網(wǎng)卡安裝或配置有問題,需繼續(xù)檢查相關(guān)網(wǎng)絡(luò)配置。
2.Ping網(wǎng)關(guān)IP
假定網(wǎng)關(guān)IP為:222.31.191.110,則執(zhí)行命令“Ping 222.31.191.110”。在MS-DOS方式下執(zhí)行此命令,如果顯示類似以下信息:
Pinging 222.31.191.110 with 32 bytes of data:
Reply from 222.31.191.110: bytes=32 time<1ms TTL=255
Reply from 222.31.191.110: bytes=32 time<1ms TTL=255
Reply from 222.31.191.110: bytes=32 time<1ms TTL=255
Reply from 222.31.191.110: bytes=32 time<1ms TTL=255
Ping statistics for 222.31.191.110:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
則表明局域網(wǎng)中的網(wǎng)關(guān)路由器正在正常運(yùn)行。反之,則說明網(wǎng)關(guān)設(shè)置有問題,請(qǐng)檢查IP,網(wǎng)關(guān)等信息是否設(shè)置正確。
3.Ping遠(yuǎn)程IP
這一命令可以檢測(cè)本機(jī)能否正常訪問Internet。比如林大主頁的IP地址為:202.204.112.68。在MS-DOS方式下執(zhí)行命令:“Ping 202.204.112.68”,如果屏幕顯示:
Pinging 202.204.112.68 with 32 bytes of data:
Reply from 202.204.112.68: bytes=32 time<1ms TTL=63
Reply from 202.204.112.68: bytes=32 time<1ms TTL=63
Reply from 202.204.112.68: bytes=32 time<1ms TTL=63
Reply from 202.204.112.68: bytes=32 time<1ms TTL=63
Ping statistics for 202.204.112.68:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
則表明運(yùn)行正常,能夠正常接入內(nèi)部網(wǎng)。反之,則表明網(wǎng)絡(luò)設(shè)置存在問題或IP綁定不正確。
4.Ping DNS IP
這一命令用于檢查內(nèi)部網(wǎng)的DNS是否工作正常,如果您可以正常聯(lián)網(wǎng),但是輸入域名卻無法解析時(shí)請(qǐng)嘗試該命令“ping 202.204.112.66”,如果顯示
Pinging 202.204.112.66 with 32 bytes of data:
Reply from 202.204.112.66: bytes=32 time<1ms TTL=63
Reply from 202.204.112.66: bytes=32 time<1ms TTL=63
Reply from 202.204.112.66: bytes=32 time<1ms TTL=63
Reply from 202.204.112.66: bytes=32 time<1ms TTL=63
Ping statistics for 202.204.112.66:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
則表明DNS服務(wù)器工作正常,如果顯示“Request timed out.”請(qǐng)馬上聯(lián)系信息中心。