Exercises:: Exercise # 1
Exercises:: Exercise # 1
EXERCISES:
Exercise # 1
C:\>ping google.com
Pinging google.com [216.58.210.206] with 32 bytes of data:
Reply from 216.58.210.206: bytes=32 time=134ms TTL=51
Reply from 216.58.210.206: bytes=32 time=150ms TTL=51
Reply from 216.58.210.206: bytes=32 time=137ms TTL=51
Reply from 216.58.210.206: bytes=32 time=135ms TTL=51
Ping statistics for 216.58.210.206:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 134ms, Maximum = 150ms, Average = 139ms
Exercise # 2
C:\>ping ssuet.edu.pk
Pinging ssuet.edu.pk [111.68.108.178] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 111.68.108.178:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Exercise # 3
C:\>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : Samsung
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Peer-Peer
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Centrino(R) Advanced-N 6230
Physical Address. . . . . . . . . : 88-53-2E-91-A5-E1
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Data Communication & Computer Networks SSUET\QR\113
Exercise # 4
C:\>nslookup samsung
Server: UnKnown
Address: 192.168.0.1
Name: samsung.
Exercise # 5
C:\>netstat
Active Connections
Proto Local Address Foreign Address State
TCP 127.0.0.1:49157 anchorfree:49158 ESTABLISHED
TCP 127.0.0.1:49158 anchorfree:49157 ESTABLISHED
TCP 127.0.0.1:49161 anchorfree:49162 ESTABLISHED
TCP 127.0.0.1:49162 anchorfree:49161 ESTABLISHED
TCP 127.0.0.1:49163 anchorfree:49164 ESTABLISHED
TCP 127.0.0.1:49164 anchorfree:49163 ESTABLISHED
TCP 127.0.0.1:49165 anchorfree:49166 ESTABLISHED
TCP 127.0.0.1:49166 anchorfree:49165 ESTABLISHED
TCP 127.0.0.1:49167 anchorfree:49172 ESTABLISHED
TCP 127.0.0.1:49172 anchorfree:49167 ESTABLISHED
TCP 127.0.0.1:49217 anchorfree:53726 ESTABLISHED
TCP 127.0.0.1:53726 anchorfree:49217 ESTABLISHED
TCP 192.168.0.105:52086 msnbot-191-232-139-96:https ESTABLISHED
TCP 192.168.0.105:53740 a23-58-24-111:https ESTABLISHED
TCP 192.168.0.105:53741 a23-58-24-111:https ESTABLISHED
TCP 192.168.0.105:53748 a23-58-24-111:https ESTABLISHED
TCP 192.168.0.105:53749 a23-58-24-111:https ESTABLISHED
TCP 192.168.0.105:53751 a23-58-24-111:https ESTABLISHED
TCP 192.168.0.105:53753 134.170.188.139:https ESTABLISHED
TCP 192.168.0.105:53759 a23-58-24-111:https ESTABLISHED
TCP 192.168.0.105:53777 par03s13-in-f9:https ESTABLISHED
TCP 192.168.0.105:53778 par03s13-in-f9:https TIME_WAIT
TCP 192.168.0.105:53779 mrs04s10-in-f238:https ESTABLISHED
TCP 192.168.0.105:53780 mrs04s10-in-f238:https TIME_WAIT
Data Communication & Computer Networks SSUET\QR\113
Exercise # 6
C:\>tracert ssuet.edu.pk
Tracing route to ssuet.edu.pk [111.68.108.178]
over a maximum of 30 hops:
1 3 ms 1 ms 1 ms 192.168.0.1
2 3 ms 3 ms 2 ms 115.42.74.1
3 4 ms 2 ms 2 ms AlphaUp20-02.connect.net.pk [192.168.20.2]
4 13 ms 14 ms 15 ms CCRouter.connect.net.pk [221.120.249.1]
5 13 ms 13 ms 13 ms 125-209-86-7.multi.net.pk [125.209.86.7]
6 18 ms 16 ms 21 ms tw31-static60.tw1.com [117.20.31.60]
7 16 ms 17 ms 15 ms 110.93.252.167
8 16 ms 15 ms 14 ms tw129-static238.tw1.com [119.63.129.238]
9 * * * Request timed out.
10 20 ms 15 ms 16 ms 111.68.111.246.pern.pk [111.68.111.246]
11 * * * Request timed out.
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
16 * * * Request timed out.
17 * * * Request timed out.
18 * * * Request timed out.
19 * * * Request timed out.
20 * * * Request timed out.
21 * * * Request timed out.
22 * * * Request timed out.
23 * * * Request timed out.
24 * * * Request timed out.
25 * * * Request timed out.
26 * * * Request timed out.
27 * * * Request timed out.
28 * * * Request timed out.
29 * * * Request timed out.
30 * * * Request timed out.
Trace complete.
Data Communication & Computer Networks SSUET\QR\113
Exercise # 7
C:\>tracert -h 10 ssuet.edu.pk
Tracing route to ssuet.edu.pk [111.68.108.178]
over a maximum of 10 hops:
1 3 ms 1 ms 1 ms 192.168.0.1
2 3 ms 3 ms 3 ms 115.42.74.1
3 12 ms 6 ms 4 ms AlphaUp20-02.connect.net.pk [192.168.20.2]
4 13 ms 14 ms 15 ms CCRouter.connect.net.pk [221.120.249.1]
5 11 ms 10 ms 10 ms 125-209-86-7.multi.net.pk [125.209.86.7]
6 18 ms 25 ms 28 ms tw31-static60.tw1.com [117.20.31.60]
7 54 ms 17 ms 13 ms 110.93.252.167
8 13 ms 7 ms 10 ms tw129-static238.tw1.com [119.63.129.238]
9 * * * Request timed out.
10 17 ms * 15 ms 111.68.111.246.pern.pk [111.68.111.246]
Trace complete.
Exercise # 8
C:\>tracert google.com
Tracing route to google.com [216.58.210.238]
over a maximum of 30 hops:
1 5 ms 1 ms 1 ms 192.168.0.1
2 2 ms 2 ms 4 ms 115.42.74.1
3 3 ms 3 ms 5 ms AlphaUp20-02.connect.net.pk [192.168.20.2]
4 3 ms 3 ms 6 ms CCRouter.connect.net.pk [221.120.249.1]
5 8 ms 3 ms 4 ms 125-209-86-7.multi.net.pk [125.209.86.7]
6 6 ms 5 ms 4 ms tw31-static60.tw1.com [117.20.31.60]
7 4 ms 3 ms 13 ms 110.93.253.197
8 109 ms 22 ms 23 ms 72.14.204.14
9 54 ms 73 ms 61 ms 216.239.49.188
10 126 ms 132 ms 139 ms 216.239.40.123
11 128 ms 127 ms 127 ms 66.249.94.47
12 128 ms 126 ms 126 ms mrs04s10-in-f238.1e100.net [216.58.210.238]
Trace complete.