Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

P27:

1Gbps= 1000 Mbps

a. The bandwidth-delay product:

= R*m/s= =

b. The maximum number of bits that will be in the link at any given time:
=
c. The width of a bit in the link = d/ = = 0.25 m
P28:

a. dprop = 20000 * 1000/(2.5 * 108) = 2/25

Total delay = [dtrans]+[ dprop ]= [800000 / (2*106)] + [2/25]  =400 msec + 80 msec = 480
msec.

b. Total delay for 1 packet =


transmission time of packet at sender (40000 / (2*10 ) sec) + 6

propagation time of packet from sender to receiver (2/25 sec) +


transmission time of Acknowledgement at receiver (0 sec) +
propagation time of Acknowledgement from receiver to sender (2/25 sec)
=  (dtrans + 2 dprop) = (20 msec + 80 msec).
For 20 packets total delay = 20 *[Total delay for 1 packet]= 20 * [(d trans + 2 dprop)]
= 20*[(20 msec + 80 msec)] = 2 sec.
c. Breaking up a file takes longer to transmit because each data packet and its
corresponding acknowledgement packet add their own propagation delays.

P29:    
 Assuming the distance between geostationary satellite and base station is 36000 KM.

a. dprop = 36000 *1000 / 2.4 * 108 =36/240 = 3/20 =0.15 sec = 150 msec 
b. R*dprop = 10*106*0.15 = 1500000 bits
c. It generates a photo every 60 sec.
That is before generating new photo, the previous photo should be transmitted
completely.
That is the photo should be transmitted within 60 sec.             
 => dtrans = 60 = x/10*106 => x = 600000000 bits 

P30: Let’s suppose the passenger and his/her bags correspond to the data unit arriving to the top
of the protocol stack (application layer). 
 When the passenger checks in, his/her bags are checked, and a tag containing
personal and travel information of its owner is attached to the bags and ticket. 
 This is additional information added in the Baggage layer to implement the service or
separating the passengers and baggage on the sending side, and then reuniting them
on the destination side. 
 When a passenger then passes through security check, additional stamp is often
added to his/her ticket, indicating that the passenger has passed through a security
check. 
 This information is used to ensure (e.g., by later checks for the security information)
secure transfer of people.

P31:

a. Time to send message from source to first switch =8*10 6 / 2*106=4 sec Total time to
move message from source to destination = transmission time at source + at 1st
switch + at 2nd switch = 3[8*106 / 2*106]=12 sec
b. Time to send 1st packet from source host to first packet switch =10000/2*10 6=5 msec.
Time at which 2nd packet is received at the first switch = 2*5msec =10 msec (as it is
transmitted when 1st packet starts transmitting at first switch, so delay = [transmission
time of 1st at source + that of 2nd packet at source time at which 1 st packet is received at
the second switch])
c. Time at which 1st packet is received at the destination host = 5 msec * 3 hops = 15
msec.. After this, every 5 msec (transmission time of a packet) one packet will be
received at destination, thus time at which last (800th) packet is received = 15 msec +
799 * 5 msec = 4.01 sec. It can be seen that delay in using message segmentation is
significantly less (almost 1/3rd).
d.   
i. Without message segmentation, if bit errors are not tolerated, if there is a
single bit error, the whole message has to be re-transmitted (rather than a
single packet).
ii. Without message segmentation, huge packets (containing HD videos, for
example) are sent into the network. Routers have to accommodate these
huge packets. Smaller packets have to queue behind enormous packets
and suffer unfair delays.
e.   
i. Packets have to be put in sequence at the destination.
ii. Message segmentation results in many smaller packets. Since header size
is usually the same for all packets regardless of their size, with message
segmentation the total amount of header bytes is more.

P33:
A ———Switch1 ——— Switch2 ———– B
Number of packets = F/S. Packet size (S) =80 bits.
Time at which the last packet is received at the Switch1=[(S+80)/R]*[F/S] sec.
At this time, the first F/S-2 packets are at the destination, and the F/S-1 packet is at the Switch2.
The last packet must then be transmitted by the Switch1 and the Switch2, with each transmission taking
(S+80)/R sec.
Thus delay in sending the whole file is [(S+80)/R]*[(F/S) + 2] sec
To calculate the value of S which leads to the minimum delay, = differentiate and equate to zero.
=> d/dS  (delay) = 0 => S = sqrt(40F)
P34:

In this system Gateways are responsible for conversion message of message between voice
signal and voice packets.

 The circuit-switched telephone networks and the Internet are connected together at
“gateways”.
 When a Skype user (connected to the Internet) calls an ordinary telephone, a circuit is
established between a gateway and the telephone user over the circuit switched
network.
 The skype user’s voice is sent in packets over the Internet to the gateway.
 At the gateway, the voice signal is reconstructed and then sent over the circuit.
 In the other direction, the voice signal is sent over the circuit switched network to the
gateway.
 The gateway packetizes the voice signal and sends the voice packets to the Skype
user. 

You might also like