實驗報告常用網(wǎng)絡(luò)測試工具的應(yīng)用_第1頁
實驗報告常用網(wǎng)絡(luò)測試工具的應(yīng)用_第2頁
實驗報告常用網(wǎng)絡(luò)測試工具的應(yīng)用_第3頁
實驗報告常用網(wǎng)絡(luò)測試工具的應(yīng)用_第4頁
實驗報告常用網(wǎng)絡(luò)測試工具的應(yīng)用_第5頁
已閱讀5頁,還剩5頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

1、08高分子1班 梁雅婷 081110110實驗二 常用網(wǎng)絡(luò)測試工具的應(yīng)用一、實驗?zāi)康模?. 了解WIN32操作系統(tǒng)提供的各種網(wǎng)絡(luò)命令的功能。2. 熟悉WIN32操作系統(tǒng)提供的各種網(wǎng)絡(luò)命令的使用方法和輸出格式。二、實驗屬性:驗證性三、實驗儀器設(shè)備及器材僅需計算機(jī)四、實驗要求:驗前認(rèn)真預(yù)習(xí)TCP/IP協(xié)議內(nèi)容,尤其應(yīng)認(rèn)真理解WINDOWS網(wǎng)絡(luò)相關(guān)原理;在進(jìn)行實驗時,應(yīng)注意愛護(hù)機(jī)器,按照試驗指導(dǎo)書的要求的內(nèi)容和步驟完成實驗,尤其應(yīng)注意認(rèn)真觀察試驗結(jié)果,做好記錄;實驗完成后應(yīng)認(rèn)真撰寫實驗報告。五、實驗原理六、實驗步驟1、最常用的網(wǎng)絡(luò)測試工具PING.EXE(1)判斷本地的TCP/IP協(xié)議棧是否已安裝C

2、:Documents and Settingsstudentping Pinging with 32 bytes of data:用32個數(shù)據(jù)字節(jié)驗證本機(jī)與計算機(jī)的連接Reply from : bytes=32 time10ms TTL=128Reply from : bytes=32 time10ms TTL=128Reply from : bytes=32 time10ms TTL=128Reply from : bytes=32 timeping Pingin

3、g with 32 bytes of data:用32個數(shù)據(jù)字節(jié)驗證網(wǎng)關(guān)與計算機(jī)的連接Reply from : bytes=32 time10ms TTL=64返回網(wǎng)關(guān):字節(jié)為32個 時間小于10 毫秒 生存時間為64Reply from : bytes=32 time10ms TTL=64Reply from : bytes=32 time=34ms TTL=64Reply from : bytes=32 timeping Pinging 8 with 32 bytes

4、 of data:用32個數(shù)據(jù)字節(jié)驗證騰訊網(wǎng)與計算機(jī)的連接Reply from 8: bytes=32 time=2ms TTL=57返回騰訊網(wǎng):字節(jié)為32 時間為2毫秒 生存時間為57Reply from 8: bytes=32 time=1ms TTL=57Reply from 8: bytes=32 time=1ms TTL=57Reply from 8: bytes=32 time=1ms TTL=57Ping statistics for 8:統(tǒng)計騰訊網(wǎng)的數(shù)據(jù): Packet

5、s: Sent = 4, Received = 4, Lost = 0 (0% loss), 包數(shù):發(fā)送為4,收回為4,丟失為0(丟失率為0%)Approximate round trip times in milli-seconds:大概循環(huán)時間在毫秒: Minimum = 1ms, Maximum = 2ms, Average = 1ms 最小值為1毫秒,最大值為2毫秒,平均值為1毫秒(4)根據(jù)IP地址獲取域名C:Documents and Settingsstudentping 8Pinging 8 with 32 bytes of data:

6、用32個數(shù)據(jù)字節(jié)驗證網(wǎng)絡(luò)與計算機(jī)的連接Reply from 8: bytes=32 time=1ms TTL=57Reply from 8: bytes=32 time=2ms TTL=57Reply from 8: bytes=32 time=7ms TTL=57Reply from 8: bytes=32 time=2ms TTL=57返回騰訊網(wǎng):字節(jié)為32 時間為2毫秒 生存時間為57Ping statistics for 8:統(tǒng)計網(wǎng)絡(luò)的數(shù)據(jù):Packets: Sent = 4,

7、 Received = 4, Lost = 0 (0% loss),包數(shù):發(fā)送為4,收回為4,丟失為0(丟失率為0%)Approximate round trip times in milli-seconds:大概循環(huán)時間在毫秒: Minimum = 1ms, Maximum = 7ms, Average = 3ms 最小值為1毫秒,最大值為7毫秒,平均值為3毫秒(5)根據(jù)IP地址獲取機(jī)器名C:Documents and Settingsstudentping -a Pinging student14 with 32 bytes of data:用32個數(shù)

8、據(jù)字節(jié)驗證網(wǎng)絡(luò)與計算機(jī)的連接Reply from : bytes=32 time10ms TTL=128Reply from : bytes=32 time10ms TTL=128Reply from : bytes=32 time10ms TTL=128Reply from : bytes=32 timeping -n 30 8Pinging 8 with 32 bytes of data:用32個數(shù)據(jù)字節(jié)驗證網(wǎng)絡(luò)與計算機(jī)的連接Reply from 202.205.10

9、7.58: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply fro

10、m 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=

11、126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 t

12、ime10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8

13、: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 8: bytes=32 time10ms TTL=126Reply from 20

14、8: bytes=32 timeping -l 400 0Pinging 0 with 400 bytes of data:用400個數(shù)據(jù)字節(jié)驗證網(wǎng)絡(luò)與計算機(jī)的連接Reply from 0: bytes=400 time10ms TTL=62Reply from 0: bytes=400 time10ms TTL=62Reply from 0: bytes=400 time10ms TTL=62Reply from 0

15、: bytes=400 timeIpconfig/allWindows IP Configuration Host Name . . . . . . . . . . . . : r5-045 Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Unknown IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : NoEthernet adapter 本地連接: Connection-specific DNS S

16、uffix . : Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethernet NIC Physical Address. . . . . . . . . : 00-E0-4C-4C-A9-DB Dhcp Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 5 Subnet Mask . . . . . . . . . . . : Default Gateway . .

17、 . . . . . . . : 54 DNS Servers . . . . . . . . . . . : 03、網(wǎng)絡(luò)連接統(tǒng)計工具NETSTAT.EXE(1)顯示所有連接C:Documents and SettingsAdministratornetstat -aActive Connections Proto Local Address Foreign Address State TCP r5-045:epmap r5-045:0 LISTENING TCP r5-045:microsoft-ds r5-045:0 LISTENING TCP

18、r5-045:1161 r5-045:0 LISTENING TCP r5-045:8177 r5-045:0 LISTENING TCP r5-045:10019 r5-045:0 LISTENING TCP r5-045:netbios-ssn r5-045:0 LISTENING TCP r5-045:1028 99:10018 ESTABLISHED TCP r5-045:1045 r5-045:10019 ESTABLISHED TCP r5-045:1681 1:http SYN_SENT TCP r5-045:1682 22

19、:7211 SYN_SENT TCP r5-045:10019 r5-045:1027 CLOSE_WAIT TCP r5-045:10019 r5-045:1045 ESTABLISHED TCP r5-045:1031 r5-045:0 LISTENING UDP r5-045:microsoft-ds *:* UDP r5-045:isakmp *:* UDP r5-045:ms-sql-m *:* UDP r5-045:4500 *:* UDP r5-045:5412 *:* UDP r5-045:5999 *:* UDP r5-045:6000 *:* UDP r5-045:6002

20、 *:* UDP r5-045:ntp *:* UDP r5-045:netbios-ns *:* UDP r5-045:netbios-dgm *:* UDP r5-045:1900 *:* UDP r5-045:ntp *:* UDP r5-045:1099 *:* UDP r5-045:1900 *:*(2)顯示所有協(xié)議的統(tǒng)計信息C:Documents and SettingsAdministratornetstat -sIPv4 Statistics Packets Received = 142692 Received Header Errors = 0 Received Addres

21、s Errors = 94 Datagrams Forwarded = 0 Unknown Protocols Received = 0 Received Packets Discarded = 21591 Received Packets Delivered = 121098 Output Requests = 137681 Routing Discards = 0 Discarded Output Packets = 12 Output Packet No Route = 0 Reassembly Required = 0 Reassembly Successful = 0 Reassem

22、bly Failures = 0 Datagrams Successfully Fragmented = 0 Datagrams Failing Fragmentation = 0 Fragments Created = 0ICMPv4 Statistics Received Sent Messages 805 811 Errors 0 0 Destination Unreachable 0 6 Time Exceeded 0 0 Parameter Problems 0 0 Source Quenches 0 0 Redirects 0 0 Echos 758 47 Echo Replies

23、 47 758 Timestamps 0 0 Timestamp Replies 0 0 Address Masks 0 0 Address Mask Replies 0 0TCP Statistics for IPv4 Active Opens = 17741 Passive Opens = 12445 Failed Connection Attempts = 13063 Reset Connections = 171 Current Connections = 4 Segments Received = 110285 Segments Sent = 120741 Segments Retr

24、ansmitted = 9516UDP Statistics for IPv4 Datagrams Received = 10002 No Ports = 59 Receive Errors = 0 Datagrams Sent = 66084、操縱網(wǎng)絡(luò)路由表的工具ROUTE.EXE(1)顯示全部路由信息: C:Documents and SettingsAdministratorroute print=Interface List0x1 . MS TCP Loopback interface0x2 .00 e0 4c 4c a9 db . Realtek RTL8139 Family PCI

25、 Fast Ethernet NIC -數(shù)據(jù)包計劃程序微型端口=Active Routes:Network Destination Netmask Gateway Interface Metric 54 5 20 5 5 20 5 55 20 55 55 5 5 20 127.

26、0.0.0 1 5 5 20 55 55 5 5 1Default Gateway: 54=Persistent Routes: None(2)添加一個路由C:Documents and SettingsAdministratorroute ADD MASK METRIC 3 IF 2Manip

27、ulates network routing tables.ROUTE -f -p command destination MASK netmask gateway METRIC metric IF interface -f Clears the routing tables of all gateway entries. If this is used in conjunction with one of the commands, the tables are cleared prior to running the command. -p When used with the ADD c

28、ommand, makes a route persistent across boots of the system. By default, routes are not preserved when the system is restarted. Ignored for all other commands, which always affect the appropriate persistent routes. This option is not supported in Windows 95. command One of these: PRINT Prints a rout

29、e ADD Adds a route DELETE Deletes a route CHANGE Modifies an existing route destination Specifies the host. MASK Specifies that the next parameter is the netmask value. netmask Specifies a subnet mask value for this route entry. If not specified, it defaults to 55. gateway Specifies gat

30、eway. interface the interface number for the specified route. METRIC specifies the metric, ie. cost for the destination.All symbolic names used for destination are looked up in the network databasefile NETWORKS. The symbolic names for gateway are looked up in the host namedatabase file HOSTS.If the

31、command is PRINT or DELETE. Destination or gateway can be a wildcard,(wildcard is specified as a star *), or the gateway argument may be omitted.If Dest contains a * or ?, it is treated as a shell pattern, and onlymatching destination routes are printed. The * matches any string,and ? matches any on

32、e char. Examples: 157.*.1, 157.*, 127.*, *224*.Diagnostic Notes: Invalid MASK generates an error, that is when (DEST & MASK) != DEST. Example route ADD MASK IF 1 The route addition failed: The specified mask parameter is invalid. (Destination & Mask) != Destination.Ex

33、amples: route PRINT route ADD MASK METRIC 3 IF 2 destination mask gateway metric Interface If IF is not given, it tries to find the best interface for a given gateway. route PRINT route PRINT 157* . Only prints those matching 157* route CHANGE MASK

34、 METRIC 2 IF 2 CHANGE is used to modify gateway and/or metric only. route PRINT route DELETE route PRINT5、地址解析工具ARP.EXE(1)顯示當(dāng)前 ARP 項C:Documents and SettingsAdministratorroute DELETE The route specified was not found.C:Documents and SettingsAdministratorarp -aInterface: 5 - 0x2 Internet Address Physical Address Type 2 00-e0-4c-75-22-3a dyn

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論