DOS 1 ping www abc com 2 ipconfig
DOS指令 1. ping www. abc. com 2. ipconfig /all 3. tracert www. yahoo. com 4. netstat -a 5. route print 6. arp -a 7. systeminfo C: >ipconfig 本電腦IP 路由器IP Windows IP Configuration Ethernet adapter 區域連線: Connection-specific IP Address. . . Subnet Mask. . Default Gateway. . DNS. . . Suffix. . . . : : 192. 168. 1. 99 : 255. 0 : 192. 168. 1. 254 10
C: >ipconfig /all Windows IP Configuration Host Name. . . Primary Dns Suffix Node Type. . . IP Routing Enabled. WINS Proxy Enabled. . . . NIC網絡卡 MAC地址 . . . : : : LENOVO Unknown No No Ethernet adapter 區域連線: Connection-specific DNS Suffix. : Description. . . : Marvell 88 E 8057 Ethernet Controller #2 Physical Address. DHCP Enabled. . . Autoconfiguration IP Address. . Subnet Mask. . . Default Gateway. DHCP Server. . . DNS Servers. . . Enabled. . . . : : : : 00 -01 -6 C-49 -0 A-06 Yes 192. 168. 1. 99 255. 0 192. 168. 1. 254 11
C: >tracert www. ablmcc. edu. hk 追蹤 伺服器 路線 Tracing route to www. ablmcc. edu. hk [152. 101. 132. 228] over a maximum of 30 hops: … 本機 netvigator 1 2 3 4 5 6 7 8 9 1 ms 20 ms 22 ms 18 ms 21 ms 22 ms 20 ms 23 ms 33 ms <1 ms 20 ms 19 ms 20 ms 24 ms 36 ms <1 ms 24 ms 20 ms 21 ms 20 ms 27 ms 192. 168. 1. 1 pcd-olk-rx. netvigator. com [218. 102. 189. 254] n 120026. netvigator. com [219. 76. 120. 26] n 098010. netvigator. com [219. 76. 98. 10] cpcnet 2 -RGE. hkix. net [202. 40. 161. 173] ip 202 -76 -18 -5. ip. hk. net [202. 76. 18. 5] ip 202 -76 -18 -141. ip. hk. net [202. 76. 18. 141] 202. 76. 90. 3 ip 202. noc. cpcnet-hk. com [202. 76. 7. 22] HK Internet e. Xchange 交換中心 12
13
C: >ping localhost Pinging LENOVO [127. 0. 0. 1] with 32 bytes of data: Reply from 127. 0. 0. 1: bytes=32 time<1 ms TTL=128 Ping statistics for 127. 0. 0. 1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0 ms, Maximum = 0 ms, Average = 0 ms C: >ping www. ablmcc. edu. hk Pinging www. ablmcc. edu. hk [152. 101. 132. 228] with 32 bytes of data: Request timed out. Ping statistics for 152. 101. 132. 228: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), 14
C: >tracert www. yahoo. com Tracing route to www-real. wa 1. b. yahoo. com [209. 131. 36. 158] over a maximum of 30 hops: 1 2 3 4 5 6 7 8 9 10 <1 ms 19 ms 21 ms 20 ms 159 ms 189 ms 179 ms 188 ms 178 ms <1 ms 20 ms 19 ms 218 ms 188 ms 199 ms 191 ms 192 ms 179 ms <1 ms 18 ms 19 ms 20 ms 24 ms 189 ms 176 ms 189 ms 175 ms 180 ms 192. 168. 1. 1 pcd-olk-rx. netvigator. com [218. 102. 189. 254] n 219076120090. netvigator. com [219. 76. 120. 90] n 219076107034. netvigator. com [219. 76. 107. 34] tenge 12 -3. hkg 04. pccwbtn. net [63. 218. 3. 165] gblx. ge 5 -12. pccwbtn. net [63. 218. 7. 238] YAHOO. Ten. Gi 3 -4. 1189. ar 1. gblx. net [67. 17. 212. 242] ae 0 -p 140. msr 1. sp 1. yahoo. com [216. 115. 107. 49] te-9 -1. bas-a 1. sp 1. yahoo. com [209. 131. 32. 21] f 1. www. vip. sp 1. yahoo. com [209. 131. 36. 158] Trace complete. 15
TCPIP port http: //www. iana. org/assignments/port-numbers C: >netstat –an Active Proto TCP TCP TCP TCP UDP 本機 Connections Local Address 0. 0: 135 0. 0: 445 127. 0. 0. 1: 1027 127. 0. 0. 1: 1034 127. 0. 0. 1: 1039 127. 0. 0. 1: 5152 127. 0. 0. 1: 5354 127. 0. 0. 1: 27015 192. 168. 1. 199: 139 192. 168. 1. 199: 1538 192. 168. 1. 199: 2152 0. 0: 445. . . 外地 Foreign Address 0. 0: 0 127. 0. 0. 1: 27015 0. 0: 0 127. 0. 0. 1: 2827 0. 0: 0 127. 0. 0. 1: 1034 0. 0: 0 64. 233. 189. 104: 80 211. 78. 38. 195: 80 *: * State LISTENING ESTABLISHED LISTENING CLOSE_WAIT LISTENING ESTABLISHED LISTENING CLOSE_WAIT http: 16
C: >route print Manipulates network routing tables. Network Destination Netmask Gateway Interface Metric 0. 0 127. 0. 0. 0 169. 254. 0. 0 192. 168. 1. 199 192. 168. 1. 255 224. 0. 0. 0 255 0. 0 255. 255 240. 0 255 192. 168. 1. 1 127. 0. 0. 1 192. 168. 1. 199 192. 168. 1. 199 127. 0. 0. 1 192. 168. 1. 199 10 1 20 10 10 1 C: >nbtstat –a 192. 168. 1. 199 Net. BIOS Remote Machine Name Table MAC Address = 00 -01 -6 C-49 -0 A-06 17
C: >arp http: //www. computerhope. com/arphlp. htm Displays and modifies the IP-to-Physical (MAC) address translation tables used by address resolution protocol (ARP). C: >systeminfo 主機名稱: 作業系統版本: 作業系統製造商: LENOVO-BA 310273 Microsoft Windows XP Professional 5. 1. 2600 Service Pack 3 Build 2600 Microsoft Corporation 作業系統設定: 作業系統組建類型: 註冊的擁有者: 登記的公司: 獨立 作站 Multiprocessor Free IBM's User � 品識別碼: 原始安裝日期: 系統存留時間: 76486 -OEM-0011903 -00107 4/8/2009, 11: 50: 22 0 天, 7 小時, 28 分鐘, 53 秒 系統製造商: 系統型號: 系統類型: LENOVO 7705 RS 7 X 86 -based PC 18
- Slides: 19