有哪位學電腦的高手看的董測試結果

1.ping

用途:是用來測試您的電腦是否有正常與網路連線

示範:

[user@localhost ~]$ ping www.kimo.com.tw

PING rc.tpe.yahoo.com (202.43.195.13) 56(84) bytes of data.

64 bytes from rc.tpe.yahoo.com (202.43.195.13): icmp_seq=0 ttl=55 time=4.19 ms

64 bytes from rc.tpe.yahoo.com (202.43.195.13): icmp_seq=1 ttl=55 time=3.88 ms

64 bytes from rc.tpe.yahoo.com (202.43.195.13): icmp_seq=2 ttl=55 time=3.81 ms

64 bytes from rc.tpe.yahoo.com (202.43.195.13): icmp_seq=3 ttl=55 time=4.11 ms

64 bytes from rc.tpe.yahoo.com (202.43.195.13): icmp_seq=4 ttl=55 time=4.05 ms

--- rc.tpe.yahoo.com ping statistics ---

10 packets transmitted, 10 received, 0% packet loss, time 9018ms

rtt min/avg/max/mdev = 3.795/4.014/4.253/0.161 ms, pipe 2

[user@localhost ~]$

(在這個指令中,告訴我可以正常連線)

********************

2.ifconfig

用途:是用來了解這部Linux系統的設備網路的設定

示範:

[user@localhost ~]$ /sbin/ifconfig

eth0 Link encap:Ethernet HWaddr 00:0D:61:68:93:1A

inet addr:192.168.1.110 Bcast:192.168.1.255 Mask:255.255.255.0

inet6 addr: fe80::20d:61ff:fe68:931a/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:6400 errors:0 dropped:0 overruns:0 frame:0

TX packets:5248 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:4471381 (4.2 MiB) TX bytes:767177 (749.1 KiB)

Interrupt:11 Base address:0xe000

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:96 errors:0 dropped:0 overruns:0 frame:0

TX packets:96 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:9060 (8.8 KiB) TX bytes:9060 (8.8 KiB)

[user@localhost ~]$

[user@localhost ~]$

(但是要在super user的身份才能執行此指令)

已更新項目:

3.traceroute

用途:此指令是在檢查網路節點是否有異常

示範:

[user@localhost ~]$ traceroute -I www.kimo.com.tw

traceroute to rc.tpe.yahoo.com (202.43.195.13), 30 hops max, 38 byte packets

1 192.168.1.254 (192.168.1.254) 0.457 ms 0.423 ms 0.430 ms

2 個已更新項目:

2 203.68.245.253 (203.68.245.253) 1.691 ms 0.983 ms 0.961 ms

3 tyai-ncu-T1-gateway.tyai.tyc.edu.tw (203.68.244.254) 1.014 ms 0.931 ms 0.951 ms

4 203.71.2.65 (203.71.2.65) 2.013 ms 1.895 ms 2.182 ms

5 * * *

3 個已更新項目:

6 211.22.39.250 (211.22.39.250) 4.595 ms 3.635 ms 3.611 ms

7 220-128-1-226.HINET-IP.hinet.net (220.128.1.226) 5.745 ms 6.551 ms 5.509 ms

8 220-128-1-225.HINET-IP.hinet.net (220.128.1.225) 4.074 ms 4.152 ms 3.759 ms

4 個已更新項目:

9 211.22.41.41 (211.22.41.41) 3.899 ms 4.511 ms 4.124 ms

10 rc.tpe.yahoo.com (202.43.195.13) 4.830 ms 3.989 ms 5.401 ms

[user@localhost ~]$

(在這個指令中,告訴我網路節點是否正常)

5 個已更新項目:

他說「測試結果說明不清 請修改重交」

學校用的是Linux的作業系統

他出的作業是

網路狀態查詢

注意事項:

1. 請介紹下列各指令的用途及其範例

2. 指令包括: ping, ifconfig(ipconfig for Win), traceroute(tracert for Win)

(請注意有些指令需加路徑,如 /sbin/ifconfig)

3. 每一指令應有(1)用途說明; (2)範例說明

4. 範例說明應說明指令執行的結果,數值所代表的意義

5. Linux查詢為指令前加man,Windows查詢為指令後加/?

1 個解答

評分
還有問題?馬上發問,尋求解答。