锘??xml version="1.0" encoding="utf-8" standalone="yes"?> Windows緗戠粶鍛戒護琛岀▼搴? 浣跨敤 ipconfig /all 鏌ョ湅閰嶇疆 娉ㄦ剰
瀵逛簬 Windows 95 鍜?Windows 98 鐨勫鎴鋒満錛岃浣跨敤 winipcfg 鍛戒護鑰屼笉鏄?ipconfi 渚嬪錛屽鏋滆綆楁満閰嶇疆鐨?IP 鍦板潃涓庣幇鏈夌殑 IP 鍦板潃閲嶅錛屽垯瀛愮綉鎺╃爜鏄劇ず涓?0.0.0 涓嬮潰鐨勮寖渚嬫槸 ipconfig /all 鍛戒護杈撳嚭錛岃璁$畻鏈洪厤緗垚浣跨敤 DHCP 鏈嶅姟鍣ㄥ姩鎬侀厤緗? Windows 2000 IP Configuration
Node Type.. . . . . . . . : Hybrid Ethernet adapter Local Area Connection:
Host Name.. . . . . . . . : corp1.microsoft.com 浣跨敤 ipconfig /renew 鍒鋒柊閰嶇疆 浣跨敤 ipconfig /renew 鏃訛紝浣跨敤 DHCP 鐨勮綆楁満涓婄殑鎵鏈夌綉鍗★紙闄や簡閭d簺鎵嬪姩閰嶇疆鐨? 涔熷彲浠ヤ嬌鐢ㄥ甫 /release 閫夐」鐨?ipconfig 鍛戒護绔嬪嵆閲婃斁涓繪満鐨勫綋鍓?DHCP 閰嶇疆銆傛湁 娉ㄦ剰
瀵逛簬鍚敤 DHCP 鐨?Windows 95 鍜?Windows 98 瀹㈡埛錛岃浣跨敤 winipcfg 鍛戒護鐨?rel 鏄劇ず鎴栭噸緗?DNS 緙撳瓨銆? 鍒鋒柊宸叉敞鍐岀殑 DNS 鍚嶇О銆? 鏄劇ず閫傞厤鍣ㄧ殑 DHCP 綾誨埆 ID銆? 璁劇疆閫傞厤鍣ㄧ殑 DHCP 綾誨埆 ID銆? 浣跨敤 Ping 嫻嬭瘯榪炴帴 閫氬父鏈濂藉厛鐢?Ping 鍛戒護楠岃瘉鏈湴璁$畻鏈哄拰緗戠粶涓繪満涔嬮棿鐨勮礬鐢辨槸鍚﹀瓨鍦紝浠ュ強瑕佽繛 ping IP_address
浣跨敤 Ping 鏃跺簲璇ユ墽琛屼互涓嬫楠わ細
Ping 鐜洖鍦板潃楠岃瘉鏄惁鍦ㄦ湰鍦拌綆楁満涓婂畨瑁?TCP/IP 浠ュ強閰嶇疆鏄惁姝g‘銆? Ping 鏈湴璁$畻鏈虹殑 IP 鍦板潃楠岃瘉鏄惁姝g‘鍦版坊鍔犲埌緗戠粶銆? Ping 榛樿緗戝叧鐨?IP 鍦板潃楠岃瘉榛樿緗戝叧鏄惁榪愯浠ュ強鑳藉惁涓庢湰鍦扮綉緇滀笂鐨勬湰鍦頒富鏈洪? Ping 榪滅▼涓繪満鐨?IP 鍦板潃楠岃瘉鑳藉惁閫氳繃璺敱鍣ㄩ氳銆? Ping 鍛戒護鐢?Windows 濂楁帴瀛楁牱寮忕殑鍚嶇О瑙f瀽灝嗚綆楁満鍚嶈В鏋愭垚 IP 鍦板潃錛屾墍浠ュ鏋? 濡傛灉鍦ㄤ換浣曠偣涓婇兘鏃犳硶鎴愬姛鍦頒嬌鐢?Ping錛岃紜錛?
瀹夎鍜岄厤緗?TCP/IP 涔嬪悗閲嶆柊鍚姩璁$畻鏈恒? 涓嬩緥璇存槑濡備綍鍚?IP 鍦板潃 172.16.48.10 鍙戦佷袱涓?Ping錛屾瘡涓兘鏄?1,450 瀛楄妭錛?
C:\>ping -n 2 -l 1450 172.16.48.10 Reply from 172.16.48.10:bytes=1450 time<10ms TTL=32 Ping statistics for 157.59.8.1: 浣跨敤 Arp 瑙e喅紜歡鍦板潃闂 鍙互浣跨敤 arp 鍛戒護鏌ョ湅鍜屼慨鏀規(guī)湰鍦拌綆楁満涓婄殑 ARP 琛ㄩ」銆俛rp 鍛戒護瀵逛簬鏌ョ湅 ARP 緙? 璇︾粏淇℃伅錛岃鍙傞槄鏌ョ湅“鍦板潃瑙f瀽鍗忚 (ARP)”緙撳瓨鍜屾坊鍔犻潤鎬?ARP 緙撳瓨欏圭洰銆?
浣跨敤 nbtstat 瑙e喅 NetBIOS 鍚嶇О闂 Nbtstat 鏄В鍐?NetBIOS 鍚嶇О瑙f瀽闂鐨勬湁鐢ㄥ伐鍏楓傚彲浠ヤ嬌鐢?nbtstat 鍛戒護鍒犻櫎鎴? nbtstat -n 鏄劇ず鐢辨湇鍔″櫒鎴栭噸瀹氬悜鍣ㄤ箣綾葷殑紼嬪簭鍦ㄧ郴緇熶笂鏈湴娉ㄥ唽鐨勫悕縐般? Local name State In/out Remote Host Input Output C:\>netstat -e Received Sent C:\>netstat -a
Active Connections
Proto Local Address Foreign Address State C:\>netstat -s Packets Received = 5378528 ICMP Statistics TCP Statistics
Active Opens = 597 UDP Statistics
Datagrams Received = 4157136 浣跨敤 tracert 璺熻釜緗戠粶榪炴帴 Tracert 宸ヤ綔鍘熺悊 Tracert 鍏堝彂閫?TTL 涓?1 鐨勫洖搴旀暟鎹寘錛屽茍鍦ㄩ殢鍚庣殑姣忔鍙戦佽繃紼嬪皢 TTL 閫掑 1錛? Tracert 鍛戒護鎸夐『搴忔墦鍗板嚭榪斿洖“ICMP 宸茶秴鏃?#8221;娑堟伅鐨勮礬寰勪腑鐨勮繎绔礬鐢卞櫒鎺ュ彛鍒楄〃 鍦ㄤ笅渚嬩腑錛屾暟鎹寘蹇呴』閫氳繃涓や釜璺敱鍣紙10.0.0.1 鍜?192.168.0.1錛夋墠鑳藉埌杈句富鏈? C:\>tracert 172.16.0.99 -d C:\>tracert 192.168.10.99
Tracing route to 192.168.10.99 over a maximum of 30 hops
1 10.0.0.1 reports:Destination net unreachable.
Trace complete.
Tracert 瀹炵敤紼嬪簭瀵逛簬瑙e喅澶х綉緇滈棶棰橀潪甯告湁鐢紝姝ゆ椂鍙互閲囧彇鍑犳潯璺緞鍒拌揪鍚屼竴涓? Tracert 鍛戒護琛岄夐」 tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name
閫夐」 鎻忚堪 璇︾粏淇℃伅錛岃鍙傞槄浣跨敤 tracert 鍛戒護璺熻釜璺緞銆?
浣跨敤 pathping 嫻嬭瘯璺敱鍣? 閫夐」 鍚嶇О 鍔熻兘 榛樿鐨勮穬鐐規(guī)暟鏄?30錛屽茍涓旇秴鏃跺墠鐨勯粯璁ょ瓑寰呮椂闂存槸 3 縐掋傞粯璁ゆ椂闂存槸 250 姣錛屽茍 浠ヤ笅鏄吀鍨嬬殑 pathping 鎶ュ憡銆傝穬鐐瑰垪琛ㄥ悗鎵緙栬緫鐨勭粺璁′俊鎭〃鏄庡湪姣忎釜鐙珛璺敱鍣? Tracing route to msw [7.54.1.196] Computing statistics for 125 seconds... Trace complete.
褰撹繍琛?pathping 鏃訛紝鍦ㄦ祴璇曢棶棰樻椂棣栧厛鏌ョ湅璺敱鐨勭粨鏋溿傛璺緞涓?tracert 鍛戒護鎵 鏈鍙寵竟鐨勪袱鏍?This Node/Link Lost/Sent=Pct 鍜?Address 鍖呭惈鐨勪俊鎭渶鏈夌敤銆?72 瀵歸摼鎺ユ樉紺虹殑涓㈠け鐜囷紙鍦ㄦ渶鍙寵竟鐨勬爮涓爣璁頒負 |錛夎〃鏄庢部璺緞杞彂涓㈠け鐨勬暟鎹寘銆傝
榪欓儴鍒嗗寘鎷細
浣跨敤 ipconfig /renew 鍒鋒柊閰嶇疆
浣跨敤 ipconfig 綆$悊 DNS 鍜?DHCP 綾誨埆 ID
浣跨敤 Ping 嫻嬭瘯榪炴帴
浣跨敤 Arp 瑙e喅紜歡鍦板潃闂
浣跨敤 nbtstat 瑙e喅 NetBIOS 鍚嶇О闂
浣跨敤 netstat 鏄劇ず榪炴帴緇熻
浣跨敤 tracert 璺熻釜緗戠粶榪炴帴
浣跨敤 pathping 嫻嬭瘯璺敱鍣?
浣跨敤 ipconfig /all 鏌ョ湅閰嶇疆
鍙戠幇鍜岃В鍐?TCP/IP 緗戠粶闂鏃訛紝鍏堟鏌ュ嚭鐜伴棶棰樼殑璁$畻鏈轟笂鐨?TCP/IP 閰嶇疆銆傚彲浠?
浣跨敤 ipconfig 鍛戒護鑾峰緱涓繪満閰嶇疆淇℃伅錛屽寘鎷?IP 鍦板潃銆佸瓙緗戞帺鐮佸拰榛樿緗戝叧銆?
g 鍛戒護銆?
浣跨敤甯?/all 閫夐」鐨?ipconfig 鍛戒護鏃訛紝灝嗙粰鍑烘墍鏈夋帴鍙g殑璇︾粏閰嶇疆鎶ュ憡錛屽寘鎷換浣?
宸查厤緗殑涓茶绔彛銆備嬌鐢?ipconfig /all錛屽彲浠ュ皢鍛戒護杈撳嚭閲嶅畾鍚戝埌鏌愪釜鏂囦歡錛屽茍灝?
杈撳嚭綺樿創(chuàng)鍒板叾浠栨枃妗d腑銆備篃鍙互鐢ㄨ杈撳嚭紜緗戠粶涓婃瘡鍙拌綆楁満鐨?TCP/IP 閰嶇疆錛屾垨
鑰呰繘涓姝ヨ皟鏌?TCP/IP 緗戠粶闂銆?
.0銆?
TCP/IP錛屽茍浣跨敤 WINS 鍜?DNS 鏈嶅姟鍣ㄨВ鏋愬悕縐般?
IP Routing Enabled.. . . . : No
WINS Proxy Enabled.. . . . : No
DNS Servers . . . . . . . : 10.1.0.200
Description. . . . . . . : 3Com 3C90x Ethernet Adapter
Physical Address. . . . . : 00-60-08-3E-46-07
DHCP Enabled.. . . . . . . : Yes
Autoconfiguration Enabled.: Yes
IP Address. . . . . . . . . : 192.168.0.112
Subnet Mask. . . . . . . . : 255.255.0.0
Default Gateway. . . . . . : 192.168.0.1
DHCP Server. . . . . . . . : 10.1.0.50
Primary WINS Server. . . . : 10.1.0.101
Secondary WINS Server. . . : 10.1.0.102
Lease Obtained.. . . . . . : Wednesday, September 02, 1998 10:32:13 AM
Lease Expires.. . . . . . : Friday, September 18, 1998 10:32:13 AM
濡傛灉 TCP/IP 閰嶇疆娌℃湁闂錛屼笅涓姝ユ祴璇曡兘澶熻繛鎺ュ埌 TCP/IP 緗戠粶涓婄殑鍏朵粬涓繪満銆?
瑙e喅 TCP/IP 緗戠粶闂鏃訛紝鍏堟鏌ラ亣鍒伴棶棰樼殑璁$畻鏈轟笂鐨?TCP/IP 閰嶇疆銆傚鏋滆綆楁満
鍚敤 DHCP 騫朵嬌鐢?DHCP 鏈嶅姟鍣ㄨ幏寰楅厤緗紝璇蜂嬌鐢?ipconfig /renew 鍛戒護寮濮嬪埛鏂扮
綰︺?
閫傞厤鍣級閮藉敖閲忚繛鎺ュ埌 DHCP 鏈嶅姟鍣紝鏇存柊鐜版湁閰嶇疆鎴栬呰幏寰楁柊閰嶇疆銆?
鍏?DHCP 鍜岀鐢ㄨ繃紼嬬殑璇︾粏淇℃伅錛岃鍙傞槄瀹㈡埛鏈哄浣曡幏寰楅厤緗?
ease 鍜?renew 閫夐」錛岃屼笉鏄?ipconfig /release 鍜?ipconfig /renew 鍛戒護錛屾墜鍔?
閲婃斁鎴栨洿鏂板鎴風殑 IP 閰嶇疆縐熺害銆?
浣跨敤 ipconfig 綆$悊 DNS 鍜?DHCP 綾誨埆 ID
涔熷彲浠ヤ嬌鐢?ipconfig 鍛戒護錛?
璇︾粏淇℃伅錛岃鍙傞槄浣跨敤 ipconfig 鏌ョ湅鎴栭噸緗鎴瘋В鏋愮▼搴忕紦瀛樸?
璇︾粏淇℃伅錛岃鍙傞槄浣跨敤 ipconfig 鏇存柊 DNS 瀹㈡埛娉ㄥ唽銆?
璇︾粏淇℃伅錛岃鍙傞槄鏄劇ず瀹㈡埛鏈轟笂鐨?DHCP 綾誨埆 ID 淇℃伅銆?
璇︾粏淇℃伅錛岃鍙傞槄璁劇疆瀹㈡埛鏈轟笂鐨?DHCP 綾誨埆 ID 淇℃伅銆?
Ping 鍛戒護鏈夊姪浜庨獙璇?IP 綰х殑榪為氭с傚彂鐜板拰瑙e喅闂鏃訛紝鍙互浣跨敤 Ping 鍚戠洰鏍囦富
鏈哄悕鎴?IP 鍦板潃鍙戦?ICMP 鍥炲簲璇鋒眰銆傞渶瑕侀獙璇佷富鏈鴻兘鍚﹁繛鎺ュ埌 TCP/IP 緗戠粶鍜岀綉緇?
璧勬簮鏃訛紝璇蜂嬌鐢?Ping銆備篃鍙互浣跨敤 Ping 闅旂緗戠粶紜歡闂鍜屼笉鍏煎閰嶇疆銆?
鎺ョ殑緗戠粶涓繪満鐨?IP 鍦板潃銆侾ing 鐩爣涓繪満鐨?IP 鍦板潃鐪嬪畠鏄惁鍝嶅簲錛屽涓嬶細
ping 127.0.0.1
ping IP_address_of_local_host
璁?
ping IP_address_of_default_gateway
ping IP_address_of_remote_host
鐢ㄥ湴鍧鎴愬姛錛屼絾鏄敤鍚嶇О Ping 澶辮觸錛屽垯闂鍑哄湪鍦板潃鎴栧悕縐拌В鏋愪笂錛岃屼笉鏄綉緇滆繛
閫氭х殑闂銆傝緇嗕俊鎭紝璇峰弬闃呬嬌鐢?Arp 瑙e喅紜歡鍦板潃闂銆?
“Internet 鍗忚 (TCP/IP) 灞炴?#8221;瀵硅瘽妗?#8220;甯歌”閫夐」鍗′笂鐨勬湰鍦拌綆楁満鐨?IP 鍦板潃
鏈夋晥鑰屼笖姝g‘銆?
鍚敤 IP 璺敱錛屽茍涓旇礬鐢卞櫒涔嬮棿鐨勯摼璺槸鍙敤鐨勩?
鎮(zhèn)ㄥ彲浠ヤ嬌鐢?Ping 鍛戒護鐨勪笉鍚岄夐」鏉ユ寚瀹氳浣跨敤鐨勬暟鎹寘澶у皬銆佽鍙戦佸灝戞暟鎹寘銆?
鏄惁璁板綍鐢ㄨ繃鐨勮礬鐢便佽浣跨敤鐨勭敓瀛樻椂闂?(TTL) 鍊間互鍙婃槸鍚﹁緗?#8220;涓嶅垎孌?#8221;鏍囧織銆傚彲
浠ラ敭鍏?ping -? 鏌ョ湅榪欎簺閫夐」銆?
Pinging 172.16.48.10 with 1450 bytes of data:
Reply from 172.16.48.10:bytes=1450 time<10ms TTL=32
Packets:Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate roundtrip times in milli-seconds:
Minimum = 0ms, Maximum = 10ms, Average = 2ms
榛樿鎯呭喌涓嬶紝鍦ㄦ樉紺?#8220;璇鋒眰瓚呮椂”涔嬪墠錛孭ing 絳夊緟 1,000 姣錛? 縐掞級鐨勬椂闂磋姣?
涓搷搴旇繑鍥炪傚鏋滈氳繃 Ping 鎺㈡祴鐨勮繙紼嬬郴緇熺粡榪囬暱鏃墮棿寤惰繜鐨勯摼璺紝濡傚崼鏄熼摼璺紝
鍒欏搷搴斿彲鑳戒細鑺辨洿闀跨殑鏃墮棿鎵嶈兘榪斿洖銆傚彲浠ヤ嬌鐢?-w 錛堢瓑寰咃級閫夐」鎸囧畾鏇撮暱鏃墮棿鐨勮秴
鏃躲?
“鍦板潃瑙f瀽鍗忚 (ARP)”鍏佽涓繪満鏌ユ壘鍚屼竴鐗╃悊緗戠粶涓婄殑涓繪満鐨勫獟浣撹闂帶鍒跺湴鍧錛?
濡傛灉緇欏嚭鍚庤呯殑 IP 鍦板潃銆備負浣?ARP 鏇村姞鏈夋晥錛屾瘡涓綆楁満緙撳瓨 IP 鍒板獟浣撹闂帶鍒?
鍦板潃鏄犲皠娑堥櫎閲嶅鐨?ARP 騫挎挱璇鋒眰銆?
瀛樺拰瑙e喅鍦板潃瑙f瀽闂闈炲父鏈夌敤銆?
TCP/IP 涓婄殑 NetBIOS (NetBT) 灝?NetBIOS 鍚嶇О瑙f瀽鎴?IP 鍦板潃銆俆CP/IP 涓?NetBI
OS 鍚嶇О瑙f瀽鎻愪緵浜嗗緢澶氶夐」錛屽寘鎷湰鍦扮紦瀛樻悳绱€乄INS 鏈嶅姟鍣ㄦ煡璇€佸箍鎾丏NS 鏈?
鍔″櫒鏌ヨ浠ュ強 Lmhosts 鍜屼富鏈烘枃浠舵悳绱€?
鏇存棰勫姞杞界殑欏圭洰錛?
nbtstat -c 鏄劇ず NetBIOS 鍚嶇О緙撳瓨錛屽寘鍚叾浠栬綆楁満鐨勫悕縐板鍦板潃鏄犲皠銆?
nbtstat -R 娓呴櫎鍚嶇О緙撳瓨錛岀劧鍚庝粠 Lmhosts 鏂囦歡閲嶆柊鍔犺澆銆?
nbtstat -RR 閲婃斁鍦?WINS 鏈嶅姟鍣ㄤ笂娉ㄥ唽鐨?NetBIOS 鍚嶇О錛岀劧鍚庡埛鏂板畠浠殑娉ㄥ唽銆?
nbtstat -a name 瀵?name 鎸囧畾鐨勮綆楁満鎵ц NetBIOS 閫傞厤鍣ㄧ姸鎬佸懡浠ゃ傞傞厤鍣ㄧ姸鎬?
鍛戒護灝嗚繑鍥炶綆楁満鐨勬湰鍦?NetBIOS 鍚嶇О琛紝浠ュ強閫傞厤鍣ㄧ殑濯掍綋璁塊棶鎺у埗鍦板潃銆?
nbtstat -S 鍒楀嚭褰撳墠鐨?NetBIOS 浼氳瘽鍙婂叾鐘舵侊紙鍖呮嫭緇熻錛夛紝濡備笅渚嬫墍紺猴細
NetBIOS connection table
------------------------------------------------------------------
CORP1 <00> Connected Out CORPSUP1<20> 6MB 5MB
CORP1 <00> Connected Out CORPPRINT<20> 108KB 116KB
CORP1 <00> Connected Out CORPSRC1<20> 299KB 19KB
CORP1 <00> Connected Out CORPEMAIL1<20> 324KB 19KB
CORP1 <03> Listening
浣跨敤 netstat 鏄劇ず榪炴帴緇熻
鍙互浣跨敤 netstat 鍛戒護鏄劇ず鍗忚緇熻淇℃伅鍜屽綋鍓嶇殑 TCP/IP 榪炴帴銆俷etstat -a 鍛戒護
灝嗘樉紺烘墍鏈夎繛鎺ワ紝鑰?netstat -r 鏄劇ず璺敱琛ㄥ拰媧誨姩榪炴帴銆俷etstat -e 鍛戒護灝嗘樉紺?
Ethernet 緇熻淇℃伅錛岃?netstat -s 鏄劇ず姣忎釜鍗忚鐨勭粺璁′俊鎭傚鏋滀嬌鐢?netstat
-n錛屽垯涓嶈兘灝嗗湴鍧鍜岀鍙e彿杞崲鎴愬悕縐般備笅闈㈡槸 netstat 鐨勮緭鍑虹ず渚嬶細
Interface Statistics
Bytes 3995837940 47224622
Unicast packets 120099 131015
Non-unicast packets 7579544 3823
Discards 0 0
Errors 0 0
Unknown protocols 363054211
TCP CORP1:1572 172.16.48.10:nbsession ESTABLISHED
TCP CORP1:1589 172.16.48.10:nbsession ESTABLISHED
TCP CORP1:1606 172.16.105.245:nbsession ESTABLISHED
TCP CORP1:1632 172.16.48.213:nbsession ESTABLISHED
TCP CORP1:1659 172.16.48.169:nbsession ESTABLISHED
TCP CORP1:1714 172.16.48.203:nbsession ESTABLISHED
TCP CORP1:1719 172.16.48.36:nbsession ESTABLISHED
TCP CORP1:1241 172.16.48.101:nbsession ESTABLISHED
UDP CORP1:1025 *:*
UDP CORP1:snmp *:*
UDP CORP1:nbname *:*
UDP CORP1:nbdatagram *:*
UDP CORP1:nbname *:*
UDP CORP1:nbdatagram *:*
IP Statistics
Received Header Errors = 738854
Received Address Errors = 23150
Datagrams Forwarded = 0
Unknown Protocols Received = 0
Received Packets Discarded = 0
Received Packets Delivered = 4616524
Output Requests = 132702
Routing Discards = 157
Discarded Output Packets = 0
Output Packet No Route = 0
Reassembly Required = 0
Reassembly Successful = 0
Reassembly Failures =
Datagrams Successfully Fragmented = 0
Datagrams Failing Fragmentation = 0
Fragments Created = 0
Received Sent
Messages 693 4
Errors 0 0
Destination Unreachable 685 0
Time Exceeded 0 0
Parameter Problems 0 0
Source Quenches 0 0
Redirects 0 0
Echoes 4 0
Echo Replies 0 4
Timestamps 0 0
Timestamp Replies 0 0
Address Masks 0 0
Address Mask Replies 0 0
Passive Opens = 135
Failed Connection Attempts = 107
Reset Connections = 91
Current Connections = 8
Segments Received = 106770
Segments Sent = 118431
Segments Retransmitted = 461
No Ports = 351928
Receive Errors = 2
Datagrams Sent = 13809
Tracert錛堣窡韙礬鐢憋級鏄礬鐢辮窡韙疄鐢ㄧ▼搴忥紝鐢ㄤ簬紜畾 IP 鏁版嵁鎶ヨ闂洰鏍囨墍閲囧彇鐨勮礬
寰勩俆racert 鍛戒護鐢?IP 鐢熷瓨鏃墮棿 (TTL) 瀛楁鍜?ICMP 閿欒娑堟伅鏉ョ‘瀹氫粠涓涓富鏈哄埌
緗戠粶涓婂叾浠栦富鏈虹殑璺敱銆?
閫氳繃鍚戠洰鏍囧彂閫佷笉鍚?IP 鐢熷瓨鏃墮棿 (TTL) 鍊肩殑“Internet 鎺у埗娑堟伅鍗忚 (ICMP)”鍥?
搴旀暟鎹寘錛孴racert 璇婃柇紼嬪簭紜畾鍒扮洰鏍囨墍閲囧彇鐨勮礬鐢便傝姹傝礬寰勪笂鐨勬瘡涓礬鐢卞櫒鍦?
杞彂鏁版嵁鍖呬箣鍓嶈嚦灝戝皢鏁版嵁鍖呬笂鐨?TTL 閫掑噺 1銆傛暟鎹寘涓婄殑 TTL 鍑忎負 0 鏃訛紝璺敱鍣?
搴旇灝?#8220;ICMP 宸茶秴鏃?#8221;鐨勬秷鎭彂鍥炴簮緋葷粺銆?
鐩村埌鐩爣鍝嶅簲鎴?TTL 杈懼埌鏈澶у鹼紝浠庤岀‘瀹氳礬鐢便傞氳繃媯鏌ヤ腑闂磋礬鐢卞櫒鍙戝洖鐨?#8220;ICM
P 宸茶秴鏃?#8221;鐨勬秷鎭‘瀹氳礬鐢便傛煇浜涜礬鐢卞櫒涓嶇粡璇㈤棶鐩存帴涓㈠純 TTL 榪囨湡鐨勬暟鎹寘錛岃繖鍦?
Tracert 瀹炵敤紼嬪簭涓湅涓嶅埌銆?
銆傚鏋滀嬌鐢?-d 閫夐」錛屽垯 Tracert 瀹炵敤紼嬪簭涓嶅湪姣忎釜 IP 鍦板潃涓婃煡璇?DNS銆?
172.16.0.99銆備富鏈虹殑榛樿緗戝叧鏄?10.0.0.1錛?92.168.0.0 緗戠粶涓婄殑璺敱鍣ㄧ殑 IP 鍦?
鍧鏄?192.168.0.1銆?
Tracing route to 172.16.0.99 over a maximum of 30 hops
1 2s 3s 2s 10,0.0,1
2 75 ms 83 ms 88 ms 192.168.0.1
3 73 ms 79 ms 93 ms 172.16.0.99
Trace complete.
鐢?tracert 瑙e喅闂
鍙互浣跨敤 tracert 鍛戒護紜畾鏁版嵁鍖呭湪緗戠粶涓婄殑鍋滄浣嶇疆銆備笅渚嬩腑錛岄粯璁ょ綉鍏崇‘瀹?19
2.168.10.99 涓繪満娌℃湁鏈夋晥璺緞銆傝繖鍙兘鏄礬鐢卞櫒閰嶇疆鐨勯棶棰橈紝鎴栬呮槸 192.168.10.
0 緗戠粶涓嶅瓨鍦紙閿欒鐨?IP 鍦板潃錛夈?
鐐廣?
Tracert 鍛戒護鏀寔澶氱閫夐」錛屽涓嬭〃鎵紺恒?
-d 鎸囧畾涓嶅皢 IP 鍦板潃瑙f瀽鍒頒富鏈哄悕縐般?
-h maximum_hops 鎸囧畾璺冪偣鏁頒互璺熻釜鍒扮О涓?target_name 鐨勪富鏈虹殑璺敱銆?
-j host-list 鎸囧畾 Tracert 瀹炵敤紼嬪簭鏁版嵁鍖呮墍閲囩敤璺緞涓殑璺敱鍣ㄦ帴鍙e垪琛ㄣ?
-w timeout 絳夊緟 timeout 涓烘瘡嬈″洖澶嶆墍鎸囧畾鐨勬縐掓暟銆?
target_name 鐩爣涓繪満鐨勫悕縐版垨 IP 鍦板潃銆?
pathping 鍛戒護鏄竴涓礬鐢辮窡韙伐鍏鳳紝瀹冨皢 ping 鍜?tracert 鍛戒護鐨勫姛鑳藉拰榪欎袱涓伐
鍏鋒墍涓嶆彁渚涚殑鍏朵粬淇℃伅緇撳悎璧鋒潵銆俻athping 鍛戒護鍦ㄤ竴孌墊椂闂村唴灝嗘暟鎹寘鍙戦佸埌鍒拌揪鏈
緇堢洰鏍囩殑璺緞涓婄殑姣忎釜璺敱鍣紝鐒跺悗鍩轟簬鏁版嵁鍖呯殑璁$畻鏈虹粨鏋滀粠姣忎釜璺冪偣榪斿洖銆傜敱浜?
鍛戒護鏄劇ず鏁版嵁鍖呭湪浠諱綍緇欏畾璺敱鍣ㄦ垨閾炬帴涓婁涪澶辯殑紼嬪害錛屽洜姝ゅ彲浠ュ緢瀹規(guī)槗鍦扮‘瀹氬彲鑳?
瀵艱嚧緗戠粶闂鐨勮礬鐢卞櫒鎴栭摼鎺ャ傛煇浜涢夐」鏄彲鐢ㄧ殑錛屽涓嬭〃鎵紺恒?
-n Hostnames 涓嶅皢鍦板潃瑙f瀽鎴愪富鏈哄悕銆?
-h Maximum hops 鎼滅儲鐩爣鐨勬渶澶ц穬鐐規(guī)暟銆?
-g Host-list 娌跨潃璺敱鍒楄〃閲婃斁婧愯礬鐢便?
-p Period 鍦?ping 涔嬮棿絳夊緟鐨勬縐掓暟銆?
-q Num_queries 姣忎釜璺冪偣鐨勬煡璇㈡暟銆?
-w Time-out 涓烘瘡嬈″洖澶嶆墍絳夊緟鐨勬縐掓暟銆?
-T Layer 2 tag 灝嗙 2 灞備紭鍏堢駭鏍囪錛堜緥濡傦紝瀵逛簬 IEEE 802.1p錛夎繛鎺ュ埌鏁版嵁鍖呭茍
灝嗗畠鍙戦佸埌璺緞涓殑姣忎釜緗戠粶璁懼銆傝繖鏈夊姪浜庢爣璇嗘病鏈夋紜厤緗 2 灞備紭鍏堢駭鐨勭綉緇?
璁懼銆?T 寮鍏崇敤浜庢祴璇曟湇鍔¤川閲?(QoS) 榪為氭с?
-R RSVP test Che媯鏌ヤ互紜畾璺緞涓殑姣忎釜璺敱鍣ㄦ槸鍚︽敮鎸?#8220;璧勬簮淇濈暀鍗忚 (RSVP)”
錛屾鍗忚鍏佽涓繪満涓烘暟鎹祦淇濈暀涓瀹氶噺鐨勫甫瀹姐?-R 寮鍏崇敤浜庢祴璇曟湇鍔¤川閲?(QoS) 榪?
閫氭с?
涓旀部鐫璺緞瀵規(guī)瘡涓礬鐢卞櫒榪涜鏌ヨ鐨勬鏁版槸 100銆?
涓婃暟鎹寘涓㈠け鐨勬儏鍐點?
D:\>pathping -n msw
over a maximum of 30 hops:
0 172.16.87.35
1 172.16.87.218
2 192.68.52.1
3 192.68.80.1
4 7.54.247.14
5 7.54.1.196
Source to Here This Node/Link
Hop RTT Lost/Sent = Pct Lost/Sent = Pct Address
0 172.16.87.35
0/ 100 = 0% |
1 41ms 0/ 100 = 0% 0/ 100 = 0% 172.16.87.218
13/ 100 = 13% |
2 22ms 16/ 100 = 16% 3/ 100 = 3% 192.68.52.1
0/ 100 = 0% |
3 24ms 13/ 100 = 13% 0/ 100 = 0% 192.68.80.1
0/ 100 = 0% |
4 21ms 14/ 100 = 14% 1/ 100 = 1% 10.54.247.14
0/ 100 = 0% |
5 24ms 13/ 100 = 13% 0/ 100 = 0% 10.54.1.196
鏄劇ず鐨勮礬寰勭浉鍚屻傜劧鍚?pathping 鍛戒護瀵逛笅涓涓?125 姣鏄劇ず蹇欐秷鎭紙姝ゆ椂闂存牴鎹穬
鐐硅鏁板彉鍖栵級銆傚湪姝ゆ湡闂達紝pathping 浠庝互鍓嶅垪鍑虹殑鎵鏈夎礬鐢卞櫒鍜屽畠浠箣闂寸殑閾炬帴涔嬮棿
鏀墮泦淇℃伅銆傚湪姝ゆ湡闂寸粨鏉熸椂錛屽畠鏄劇ず嫻嬭瘯緇撴灉銆?
.16.87.218錛堣穬鐐?1錛夊拰 192.68.52.1錛堣穬鐐?2錛変涪澶?13% 鐨勬暟鎹寘銆?鎵鏈夊叾浠栭摼
鎺ュ伐浣滄甯搞傚湪璺冪偣 2 鍜?4 涓殑璺敱鍣ㄤ篃涓㈠け瀵誨潃鍒板畠浠殑鏁版嵁鍖咃紙濡?This Node
/Link 鏍忎腑鎵紺猴級錛屼絾鏄涓㈠け涓嶄細褰卞搷杞彂鐨勮礬寰勩?
涓㈠け琛ㄦ槑閾炬帴闃誨銆傚璺敱鍣ㄦ樉紺虹殑涓㈠け鐜囷紙閫氳繃鏈鍙寵竟鏍忎腑鐨?IP 鍦板潃鏄劇ず錛夎〃鏄?
榪欎簺璺敱鍣ㄧ殑 CPU 鍙兘瓚呰礋鑽瘋繍琛屻傝繖浜涢樆濉炵殑璺敱鍣ㄥ彲鑳戒篃鏄瀵圭闂鐨勪竴涓洜
绱狅紝灝ゅ叾鏄湪杞歡璺敱鍣ㄨ漿鍙戞暟鎹寘鏃躲?/p>
A. TRACERT
B. ROUTE
C. NBTSTAT
D. IPCONFIG
The TRACERT utility is Microsoft's own, used to trace a packet from its source ( your computer ) to a destination host ( a remote computer ).
Question 2. If you wanted to display all entries in the ARP cache, which of the following utilities would you use?
A . ARP - G
B. ARP - E
C. ARP - D
D. ARP - S
To display all entries in the ARP ( Address Resolution Protocol ) cache, you would use the ARP utility with the -G or - A switch. They are the same thing. To get the answer type "arp /?" at the command prompt.
ARP ( Address Resolution Protocol ) is used to obtain hardware ( MAC = Media Access Control ) addresses for communications with a destination host.
Question 3. You notice that the subnet mask is 0.0.0.0 on your Windows NT computer while using the IPCONFIG utility at the command prompt to check for IP address configuration. What does it mean when the IPCONFIG utility displays a subnet mask of 0.0.0.0?
A. The default gateway on your computer does not match the default gateway of the network.
B. Your computer has the same subnet mask as another computer on the network.
C. Your computer does not have the correct IP address class specified for it.
D. Your computer has the same IP address as another computer on the network.
The most likely cause in this scenario is that your computer has the same IP address as another computer in the network. When this happens, running IPCONFIG will yield an IP address of 0.0.0.0.
Question 4. If you want to copy files from one Windows NT computer to another, what TCP / IP utility would you use?
A . RCP
B. REXEC
C. TELNET
D. TRACERT
The RCP ( Remote Copy ) is Microsoft's own TCP / IP utility. It is used to copy files from a source Windows NT computer to a destination ( remote ) Windows NT computer, or vice-versa. Type "rcp /?" at the command prompt to get the command's full syntax.
銆
Question 5. Use the following diagram to answer this question :
You are working on your Windows NT workstation, SMALLNT, and you would like to communicate with another Windows NT computer, BIGNT. If both computers are on the same local subnet , where does SMALLNT look for the hardware address of the destination host? ( BIGNT in this case )
A. In its own ARP cache.
B. In the ARP cache of the destination host, BIGNT in this case.
C. If there is a DHCP server present , then in the ARP cache of the DHCP server.
D. In the LMHOSTS or HOSTS file of the source computer.
The ARP protocol ( and NOT the ARP command ) is used to map IP addresses to hardware addresses ( MAC addresses ). Anytime you communicate with a destination host that is on the same subnet ( locally ), then the hardware address of the destination host is obtained from the source host's LOCAL ARP cache. In this scenario, BIGNT's hardware address is obtained from SMALLNT's own ARP cache since both computers are on the same network.
Question 6. You have a print device connected to a server running the LPD service. From your Windows NT computer, you would like to obtain the status of the print device. What utility would you use to achieve the task?
A. LPD
B. NET USE
C. LPQ
D. GETDAEMON
The LPD ( Line Printer Daemon ) is a TCP / IP printing service. A print server that has a TCP / IP print device connected to it must have the LPD service installed on it. However, to obtain the status of a TCP / IP print device ( or print queue as it is often called in the TCP / IP circle ), you would use the LPQ command.
Type "lpq /?" at the command prompt to get the proper syntax. Pay close attention to the "-S" and "-P" switches. For the "-S" switch, you can specify the NAME or IP address of the print server running the LPD service.
Question : Under Windows NT Server 4.0, how do you install the LPD service?
Answer : Under Windows NT, the LPD service is known as "Microsoft TCP / IP Printing" ===> right-click Network Neighborhood | Properties | Services tab | Add... | "Microsoft TCP / IP Printing" service.
銆
Question 7. Let's say that you want to run a process on a remote host that is using the REXEC service, what Microsoft TCP / IP utility would you use?
A. RCP
B. REXEC
C. TELNET
D. FTP
The REXEC ( Remote Execute ) command is Microsoft's home-grown utility used to run processes on a remote computer that is also running the REXEC service. Type "rexec /?" at the command prompt to get the full syntax.
Question 8. If you want to retrieve system information from a remote host running the Finger service, what TCP / IP utility would you use?
A. REXEC
B. PING
C. RCP
D. FINGER
The FINGER utility is used to obtain system information from a remote host that is using the Finger service. To get the proper syntax, type "finger" at the command prompt.
銆
Question 9. Let's say that you want a DHCP client to give up its lease with a DHCP server, what command would you use to accomplish the task?
A. ipconfig / endlease
B. ipconfig / release
C. route / release
D. route / endlease
The IPCONFIG / RELEASE command is used to send a DHCPRELEASE message from a DHCP client to a DHCP server. The DHCPRELEASE message specifies that a client wishes to give up its current lease with the DHCP server. Type, "ipconfig /?" at the command prompt to display all the switches of the utility.
Question 10. You would like to see a list of NetBIOS computer names that have been resolved into IP addresses on your Windows NT computer. Which of the following utilities would you use?
A. ARP
B. NetBIOS
C. NETSTAT
D. NBTSTAT
You can use the "nbtstat" utitliy to view all NetBIOS computer names that have been resolved into IP addresses. To see the NetBIOS local name table of your workstation, use "nbtstat -n."