You are on page 1of 2

Tutorial

NET 331
TA. Muneerah Al-Eidi Office 2010 Building 9

Exercises

(From the text book -Data communication and networking- Chapter 23)

23- TCP opens a connection using an initial sequence number (ISN) of 14137. The other party opens the connection with an ISN of 18332. Show the three TCP segments during the connection establishments, data transfer and connection release.

28- The following is a dump of a TCP header in hexadecimal format. 05320017 00000001 00000000 500207FF 00000000 a. What is the source port number? 1330 b. What is the destination port number? 23 c. What the sequence number? 1 d. What is the acknowledgment number? 0 e. What is the length of the header? 5===5*4=20 bytes f. What is the type of the segment? 2===SYN g. What is the window size? 2047 penjelasan:

port sumber adalah 2 byte mengambil 05 32 = 1330 berikutnya 2 byte sebagai alamat tujuan 00 17 == 23 (standar port TCP) berikutnya 4 byte sebagai nomor urut 00 00 00 01 == 1 berikutnya 4 byte sebagai ack 00 00 00 00 == 0 berikutnya 4 bit sebagai HLEN 5 == 5 - ini menunjukkan jumlah set 4 byte yang membuat panjang header = 20bytes .. selanjutnya 6 bit dicadangkan ie0 = 0000and 2 bit dari 0 hex selanjutnya 6 bit bit kontrol = sisa 2 bit dari 0 hex dan 4 bit dari 2 2 byte berikutnya menunjukkan jendela panjang 07 FF == 2047 byte Checksum 2 byte 00 00 = 0 Mendesak pointer 2bytes 00 00 = 0
32- The following is a dump of a UDP header in hexadecimal format. 06 32 00 0D 00 1C E2 17 a. What is the source port number? 1586 b. What is the destination port number? 13 c. What is the total length of the user datagram? 28 bytes d. What is the length of the data? 20 bytes (28 8 byte header) e. Is the packet directed from a client to a server or vice versa? From a client to a server f. What is the client process? Daytime

You might also like