Week 4
Week 4
Thực hành
1. Identify IP address task
Student identify the IP address of computer and write on report.
Question 3(2 point): What is the IP address and TCP port number used by
parties?
The IP address of client: 192.168.4.35
The IP address of server: 202.191.56.66
The port number of client: 49882
The port number of server: 80
Expand the TCP header of messages in initiatation the TCP connection and
determine the value of fields:
Question 4(1 point): Expand the headers of the segment and determine
No.: 40
Source IP address: 192.168.4.35
Destination IP address: 202.191.56.66
Source port number: 49882
Destination port number: 80
Sequence Number: 688
ACK Number: 1
TCP header size: 20 bytes
Payload size: 13140 bytes
What are TCP flags set? ACK
Find the ACK segment for the above segment
Question 5(1 point): Expand the headers of the segment and determine
No.: 41
Source IP address: 202.191.56.66
Destination IP address: 192.168.4.35
Source port number: 80
Destination port number: 49882
Sequence Number: 1
ACK Number: 668
TCP header size: 20 bytes
Payload size: 0 bytes
What are TCP flags set? ACK
Question 6(1 point): What is the sequence number of the next TCP segment
sent from Web browser on your computer?
Ans: the sequence number of the next TCP segment sent from Web browser
is 13828.
Observe the termination of the TCP connnection.
Question 7(2 point): Expand the TCP header of messages in termination of the
TCP connection and determine the value of fields:
Flags Sequence ACK Payload
No. TCP Flags
(binary value) number number size
77 0000 0001 0001 FIN, ACK 783 153009 0
78 0000 0001 0000 ACK 153009 784 0
Question 8(1 point): What is the throughput (bytes transferred per unit time)
for the TCP connection during uploading file? Explain how you calculated this
value.
Ans:
Bytes transferred: 153,009 bytes
First packet sent at: 6.090853s
Last packet at: 6.164812s