Question
Suppose 12780 bytes of data is to be transferred from server to client over a TCP connection over a point-to-point line using Ethernet frames (total
Suppose 12780 bytes of data is to be transferred from server to client over a TCP connection over a point-to-point line using Ethernet frames (total overhead = 34 bytes, including an 8-byte interframe gap). The line bit rate is 1 Gbps, distance is 6 km with vp = 2.5 108 m/s. The connection parameters are the following: MSS=1420 for both ends, initial sequence number for client is 332 and for server is 1856. The server initiates the disconnection right after nishing data transmission by sending the FIN ag and client replies by sending the FIN ag. Assume the window size is 2840 bytes on both sides and no options in IP and TCP headers. Also assume one ACK segment is sent for each data segment. (a) Show a diagram of a data frame and a control frame (ACK, SYN, etc). Show how many bytes in each eld: Eth header, payload, trailer. Assume padding is used for Ethernet frames with a data length less than 46 bytes. (b) Calculate the time to transmit each type of frame and the delay in the line. (c) Draw a diagram showing connection setup. Indicate ACK, SYN, FIN ag values, SEQ and ACK numbers. (d) Draw a diagram showing the disconnection exchange. Indicate ACK, SYN, FIN ag values, SEQ and ACK numbers. (e) How many data frames are sent from server to client? How many data frames are sent from client to server? (f) What is the time elapsed until the connection is closed?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started