This Homework Is Due By 11:59 PM on April 6, 2014

  1. Explain sliding windows as used by TCP. What advantage does the use of sliding windows provide over a simple Positive Acknowledgement with Retransmission (PAR) protocol?

  2. A lost TCP acknowledgement does not necessarily force retransmission. Explain why.

  3. Given that a frame is formatted as follows:

    Destination Hardware Address Source Hardware Address Frame Type Frame Data
    6 Bytes 6 Bytes 2 Bytes 46 - 1500 Bytes

    And given that an IP datagram is formatted as follows:

    Byte 0 1 2 3
    bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
    0 Version Header Length Type Of Service Total Length
    4 Identification Flags Fragment Offset
    8 TTL Type Header Checksum
    12 Source IP Address
    16 Destination IP Address
    IP Options (May Be Omitted) Padding
    20 IP Payload Data

    And given that a TCP segment is formatted as follows:

    Byte 0 1 2 3
    bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
    0 TCP Source Port TCP Destination Port
    4 Sequence Number
    8 Acknowledgment Number (If ACK is set)
    12 Data Offset Reserved NS CWR ECE URG ACK PSH RST SYN FIN Window Size
    16 Checksum Urgent Pointer (If URG is set)
    TCP Options (May Be Omitted) Padding
    20 TCP Payload Data

    And given the following frame with an encapsulated IP datagram and TCP Segment:

    	28	33	9B	21	2F	26	7E	A8	20	85	F6	6E	08	00	45	39
    	00	72	02	FA	64	8E	5C	58	58	55	D4	2C	45	DB	30	CF
    	A1	35	9A	0C	79	C2	8A	C8	42	F1	DE	63	D0	29	8A	39
    	3A	26	09	38	10	E3	5A	BD	62	04	97	15	E9	10	46	91
    	99	77	7F	07	71	81	89	64	DA	69	61	35	2C	44	38	70
    	87	DA	CC	9D	AF	36	6F	71	03	ED	4B	CF	1B	86	A4	1A
    	38	34	22	32	7B	EB	04	41	DB	E7	13	85	F1	EF	F7	C6
    	0F	8B	DC	46	6D	C5	AC	1A	19	C5	FF	B3	AE	4E	0D	4A
          
    1. What is the TCP source port?
    2. What is the TCP destination port?
    3. What is the Sequence Number?
    4. What is the Acknowledgment Number?
    5. What flags are set?
    6. What is the Window Size?
    7. What is the checksum?
    8. What is the urgent pointer?
    9. If the TCP header and the IP header include no options or padding, what are the first five bytes of the TCP segment data?

Please submit the completed assignment on Blackboard as a Microsoft Word file or a PDF file. No other forms of submission will be accepted.