Assignment 1 Solution: Data Communication & Computer Networks
Assignment 1 Solution: Data Communication & Computer Networks
Assignment 1
Solution
BEE5 D&E
Solution to R6 (2)
Ethernet can run over twisted pair copper wire, coaxial cable and fiber optic. Currently, Ethernet is
widely deployed over twisted pair copper wire and fiber optics.
Similiarities Dissimilarities
All technologies support servicing multiple users WiFi and WiMAX support higher data rate to end
users compared to GPRS
All technologies are packet switched WiFi provides very less coverage area compared to
other technologies
WiFi, EDGE and GPRS provide multiple access WiFi is based on TDD whereas EDGE and GPRS is
based on TDMA based on FDD
Problems:
Solution to P5: (7)
a) Ddrop= m/s seconds
b) Dtrans= L/R seconds
c) Dend-to-end= (m/s + L/R) seconds
d) The last bit would just be leaving host A.
e) The first bit is in link and has not reached host B.
f) The first bit has reached host B.
g) As m=(L/R)*S=(100/28000)*250000000=893 km.
Traceroute to www.seecs.nust.edu.pk:
Attempt 1:
C:\Users\FARAN>tracert www.seecs.nust.edu.pk
1 1 ms 3 ms 2 ms 10.99.12.2
2 5 ms 3 ms 1 ms 10.1.100.1
3 2 ms 5 ms 2 ms 111.68.97.1.nust.edu.pk [111.68.97.1]
4 2 ms 6 ms 2 ms 172.31.252.25
5 7 ms 6 ms 9 ms 172.31.240.10
6 12 ms 2 ms 2 ms 172.31.240.9
7 25 ms 29 ms 25 ms 221.120.197.153
8 26 ms 26 ms 26 ms rwp44.pie.net.pk [221.120.251.21]
9 50 ms 53 ms 50 ms rwp44.pie.net.pk [221.120.254.5]
10 51 ms 50 ms 49 ms rwp44.pie.net.pk [221.120.253.10]
11 84 ms 50 ms 54 ms rwp44.pie.net.pk [221.120.237.102]
12 51 ms 54 ms 48 ms 58-65-175-206.nayatel.pk [58.65.175.206]
13 49 ms 49 ms 49 ms 115-186-128-178.nayatel.pk [115.186.128.178]
14 48 ms 52 ms 50 ms 115-186-131-71.nayatel.pk [115.186.131.71]
Trace complete.
Attempt 2:
C:\Users\FARAN>tracert www.seecs.nust.edu.pk
1 2 ms 1 ms 4 ms 10.99.12.2
2 1 ms 5 ms 4 ms 10.1.100.1
3 1 ms 5 ms 2 ms 111.68.97.1.nust.edu.pk [111.68.97.1]
4 2 ms 5 ms 14 ms 172.31.252.25
5 7 ms 10 ms 12 ms 172.31.240.10
6 3 ms 6 ms 5 ms 172.31.240.9
7 25 ms 28 ms 25 ms 221.120.197.153
8 26 ms 25 ms 29 ms rwp44.pie.net.pk [221.120.251.21]
9 52 ms 49 ms 52 ms rwp44.pie.net.pk [221.120.254.5]
10 54 ms 51 ms 50 ms rwp44.pie.net.pk [221.120.253.10]
11 96 ms 52 ms 50 ms rwp44.pie.net.pk [221.120.237.102]
12 48 ms 50 ms 49 ms 58-65-175-206.nayatel.pk [58.65.175.206]
13 53 ms 49 ms 54 ms 115-186-128-178.nayatel.pk [115.186.128.178]
14 * 52 ms 53 ms 115-186-131-71.nayatel.pk [115.186.131.71]
Trace complete.
Attempt 3:
C:\Users\FARAN>tracert www.seecs.nust.edu.pk
1 2 ms 1 ms 4 ms 10.99.12.2
2 2 ms 2 ms 1 ms 10.1.100.1
3 6 ms 4 ms 6 ms 111.68.97.1.nust.edu.pk [111.68.97.1]
4 4 ms 5 ms 6 ms 172.31.252.25
5 9 ms 8 ms 14 ms 172.31.240.10
6 29 ms 6 ms 5 ms 172.31.240.9
7 26 ms 25 ms 28 ms 221.120.197.153
8 26 ms 28 ms 25 ms rwp44.pie.net.pk [221.120.251.21]
9 51 ms 50 ms 49 ms rwp44.pie.net.pk [221.120.254.5]
10 54 ms 51 ms 51 ms rwp44.pie.net.pk [221.120.253.10]
12 49 ms 52 ms 54 ms 58-65-175-206.nayatel.pk [58.65.175.206]
13 52 ms 49 ms 57 ms 115-186-128-178.nayatel.pk [115.186.128.178]
14 50 ms 48 ms 48 ms 115-186-131-71.nayatel.pk [115.186.131.71]
Trace complete.
a) The packet traverses through 14 routers in each attempt. The packet takes same path in all
three attempts.
b) In first attempt, the average round trip delay is (48 + 52 + 50)/3 = 50ms.
Standard deviation is: sqrt{[(48-50)2+(52-50)2+(50-50)2]/3} = 1.63ms
In second attempt, the average round trip delay is ( 52 + 53)/2 = 52.5ms.
Standard deviation is: sqrt{[(52-52.5)2+(53-52.5)2]/2} =0.5ms
In third attempt, the average round trip delay is (50 + 48 + 48)/3 = 49.3ms.
Standard deviation is: sqrt{[(50-49.3)2+(48-49.3)2+(48-49.3)2]/3} = 1.13ms
c) The packet traverses through three different ISPs. Starting from NUST’s network to PTCL’s PIE
(Pakistan Internet Exchange) to Nayatel’s network. Delays increase when packets move from
one network to the other as from NUST’s network to PTCL’s PIE network.
d) We perform tracert for www.google.com. The output is shown below.
C:\Users\FARAN>tracert www.google.com
1 2 ms 3 ms 26 ms 10.99.12.2
2 4 ms 3 ms 5 ms 10.1.100.1
3 4 ms 10 ms 5 ms 111.68.97.1.nust.edu.pk [111.68.97.1]
4 4 ms 5 ms 6 ms 172.31.252.25
5 134 ms 130 ms 193 ms tw23-static233.tw1.com [117.20.23.233]
6 124 ms 124 ms 123 ms tw255-static29.tw1.com [110.93.255.29]
7 122 ms 122 ms 133 ms tw31-static45.tw1.com [117.20.31.45]
8 124 ms 118 ms 119 ms 72.14.218.33
9 119 ms 118 ms 116 ms 209.85.249.72
10 121 ms 127 ms 115 ms 72.14.232.202
11 117 ms 128 ms 118 ms 72.14.232.100
12 121 ms 120 ms 112 ms 66.249.94.74
13 177 ms 189 ms 175 ms 209.85.254.155
14 290 ms 275 ms 287 ms 209.85.249.36
15 273 ms 306 ms 281 ms 209.85.248.221
16 304 ms 294 ms 290 ms 216.239.43.81
17 297 ms 294 ms 304 ms 209.85.242.209
18 342 ms 292 ms 295 ms 216.239.43.91
19 308 ms 297 ms 299 ms 72.14.233.105
20 314 ms 314 ms 316 ms 72.14.236.250
21 315 ms 316 ms 314 ms 209.85.248.47
22 320 ms 320 ms 326 ms 72.14.232.217
23 312 ms 313 ms 319 ms hb-in-f99.1e100.net [74.125.87.99]
Trace complete.
The round trip delay for intercontinental delay is much larger for intra continental transmission.