Network Exercises
Network Exercises
3. 2000 bytes.
Link of distance 3,500 km
Propagation speed 1.5*10^8 m/s
Transmission rate 3Mbps
How much time is needed to propagate over the link?
Answer:
3,500 km ----→ 3,500,000 m (it is converted to meter by multiplying it by
1000)
1.5*10^8 m/s = 150,000,000 m/s
Link of distance x/Propagation speed = 3,500,000 m/150,000,000 m/s =
0.023 s.
4. How much is the traffic intensity on Access Link and on Local Area Network
(LAN) if:
L = 100 kb
Request (a) = 15/sec
R = 1.54 Mbps (for Access Link)
R = 1 Gbps (for LAN)
Given:
Internet delay: RTT from institutional router to any origin server is 2 sec
Answer:
Traffic intensity on Access Link:
First of all, we should convert R from Mb to Kb by multiplying it by 1000.
La/R = 100*15/1540
= 0.974 (near to 1)
Traffic intensity on LAN:
First of all, we should convert R from Gb to Kb by multiplying it by 1,000,000.
La/R = 100*15/1,000,000
= 0.0015 sec
Total delay = Internet delay + Access Link delay + LAN delay
= 2 + 0.974 + 0.0015
= 2.9755
So, the total delay is in the range of minutes which is not acceptable.
5. How much is the traffic intensity on Access Link and on Local Area Network
(LAN) if:
L = 100 kb
Request (a) = 15/sec
R = 154 Mbps (for Access Link)
R = 1 Gbps (for LAN)
Given:
Internet delay: RTT from institutional router to any origin server is 2 sec
Answer:
Traffic intensity on Access Link:
La/R = 100*15/154,000
= 0.00974 sec
Answer:
Client – Server:
Dc-s >= max {NF/us, F/dmin}
NF/us = 1000*25*1000/30
= 833,333.333
F/dmin = 25*1000/2
= 12,500
{833,333.333; 12,500}
The maximum is 833,333.333
P2P:
Dp2p >= max {F/us, F/dmin, NF/ (us + summation of ui)}
F/us = 25*1000/30
= 833.333
F/dmin = 25*1000/2
= 12,500
NF/ (us + summation of ui) = 1000*25*1000/30 + 2*1000
= 12,315.270
(2*1000 because ui is 2 Mbps for all the peers and the number of peers is
1000)
{833.333; 12,500; 12,315.270}
The maximum is 12,500.
Conversion:
From greater to smaller multiply
From smallest to largest divide
Gb ----→ Mb (*1000)
Micro is 10^-6
Meter is 10^-3
Kilo is 10^3
Mega is 10^6
Gega is 10^9
Terra is 10^12