Beruflich Dokumente
Kultur Dokumente
Home work 3
Name : Ahmed osman abd el_ majeed
Index : 064005
1. Consider the following plot of TCP window size as a function of time.
Assuming TCP Reno is the protocol experiencing the behavior shown above, answer the
following questions. In all cases, you should provide a short discussion justifying your
answer.
Datagram= data+TCP over head +IP overhead =40 byte+(32/8)*5 byte +(32/8)*5 byte=
40+20+20= 80byte
Data percentage = 40byte/80byte =50%
Answer:
R/2 because of the fairly property of TCP protocol so both connections should have the same rate
4. Consider the following timing diagram, where two packets are sent from a
TCP sender to a receiver at times t=0ms and t=300ms respectively. The
TCP receiver applies the “delayed ACK” algorithm: a host that is receiving
a stream of TCP data segments can increase efficiency by sending fewer
than one ACK segment per data segment received. The diagram shows
the TCP receiver sends back to the source one single acknowledgement
packet indicating byte number 120 as the next expected byte, and
assume that this ACK is received by the sender at time t=660ms.
DevRTT=200ms
5. Consider sending a 1460 byte IP datagram into a link that has an MTU of
420 bytes. Determine the values of the length field and the offset field in
each fragment.
Data size = 1460-20=1440byte
Fragment can contain 420-20=400 byte
So we need 4 fragments
Fragment 1:-
Length= 400+20=420 bytes offset=0
Fragment 2:-
Length= 400+20=420 bytes offset= 400
Fragment 3:-
Length= 400+20=420 bytes offset=800
Fragment 4:-
Length= 240+20=260 bytes offset=1200