IP lab 4 TCP , UDP - ananthan05/Networking-Fundamentals-IP- GitHub Wiki

1 TCP

a. IP address is 192.168.1.102, TPC port number is 1161

image

image

b. Port number is 80. IP address is 192.168.1.102

image

c. TCP SYN segment is 0 he segment as a SYN segmen in flag is set to 1

image

image

d. TCP SYN segment is 0 The acknowledgement field in the SYNACK segment is 1.

image

image

e. The segment No.4 contains the HTTP POST command, the sequence number of this segment is 1.

image

f. Round Trip Time Graph

image

g. First six packet with post along with length

image

image

h. NO retransmitted segments, For checking the retransmission status we check the iRTT Feild since they there is no change in the iRTT feild of any packet so we can say that there no packet retransmission.

image

image

i. [Throughput= Time Duration/Total Bytes Transferred] ​ image

  1. UDP

j. 1. source port; 2. destination port; 3. length; 4. checksum

image

k. The UDP header has a fixed length of 8 bytes. Each of these 4 header fields is 2 bytes long

image

l. The length field specifies the number of bytes in the UDP segment (header plus data).

image

m. The ip protocol number for UDP is 11 in hex and 17 in decimal value.

image

n. The source port of the UDP packet sent by the host is the same as the destination port of the reply packet, and conversely the destination port of the UDP packet sent by the host is the same as the source port of the reply packet.

image

image