Concept explainers
32222 data bytes are transferred from client to server over a TCP connection over a point-to- point line using Ethernet frames (total overhead = 26 bytes, assume no interframe gap.). The connection parameters are the following: MSS=1280 for both ends, initial sequence number for client is 543 and for server is 99992. The client initiates the disconnection right after finishing data transmission by sending the FIN flag and server replies by sending the FIN flag. Assume the window size is 20000 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 field: Eth header, payload, trailer. Assume padding is used for Ethernet frames with a data length less than 46 bytes.
the answers are data: 1306 bytes, control: 72 bytes. I need clear explanation of every field in ethernet frames and how did you know the size of each field?
Step by stepSolved in 2 steps
- 32222 data bytes are transferred from client to server over a TCP connection over a point-to- point line using Ethernet frames (total overhead = 26 bytes, assume no interframe gap.). The connection parameters are the following: MSS=1280 for both ends, initial sequence number for client is 543 and for server is 99992. The client initiates the disconnection right after finishing data transmission by sending the FIN flag and server replies by sending the FIN flag. Assume the window size is 20000 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 field: Eth header, payload, trailer. Assume padding is used for Ethernet frames with a data length less than 46 bytes. the answers are data: 1306 bytes, control: 72 bytes. Explain the answersarrow_forwardAn HTTP client opens a TCP connection using an initial sequence number (ISN) of 14,534 and the ephemeral port number of 59,100. The server opens the connection with an ISN of 21,732. Show the three TCP segments during the connection establishment if the client defines the rwnd of 4000 and the server defines the rwnd of 5000. Ignore the calculation of the checksum field.arrow_forwardP27. Host A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 126. Suppose Host A then sends two segments to Host B back-to-back. The first and second segments contain 80 and 40 bytes of data, respectively. In the first segment, the sequence number is 127, the source port number is 302, and the destination port number is 80. Host B sends an acknowledgment whenever it receives a segment from Host A. In the second segment sent from Host A to B, what are the sequence number, source port number, and destination port number? If the first segment arrives before the second segment, in the acknowledgment of the first arriving segment, what is the acknowledgment number, the source port number, and the destination port number? If the second segment arrives before the first segment, in the acknowledgment of the first arriving segment, what is the acknowledgment number? Suppose the two segments sent by A arrive in order at B.…arrow_forward
- Host A and B are communicating over a TCP connection. Host B has already received from Host A all bytes up through byte 23. Suppose Host A then sends two segments to Host B back-to-back. The first and the second segments contain 30 and 50 bytes of data, respectively. In the first segment, the sequence number is 24, the source port number is 3000, and the destination port number is 80. Host B sends an acknowledgment whenever it receives a segment from Host A. A. In the second segment sent from Host A to B, what arethe sequence number_________,source port number __________,and destination port number__________?B. If the second segment arrives after the first segment, in the acknowledgment of the second segment, what arethe acknowledgment number___________,the source port number__________,and the destination port number __________?C. If the second segment arrives before the first segment, in the acknowledgment of the first arriving segment,what is the acknowledgment number ___________?D.…arrow_forwardquestion in the image belowarrow_forwardHost A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 126. Suppose Host A then sends two segments to Host B back-to-back. The first and second segments contain 80 and 40 bytes of data, respectively. In the first segment, the sequence number is 127, the source port number is 302, and the destination port number is 80. Host B sends an acknowledgment whenever it receives a segment from Host A. a. In the second segment sent from Host A to B, what are the sequence number, source port number, and destination port number? b. If the first segment arrives before the second segment, in the acknowledgment of the first arriving segment, what is the acknowledgment number, the source port number, and the destination port number? c. If the second segment arrives before the first segment, in the acknowledgment of the first arriving segment, what is the acknowledgment number? d. Suppose the two segments sent by A arrive in order at B. The…arrow_forward
- Suppose Host A sends two consecutive TCP segments to Host B over a TCP connection. The sequence number of the first segment is 748, and the sequence number of the second one is 995. Determine the size of the payload carried by the first segment. Suppose that the first segment is lost but the second segment arrives at host B. What will be the acknowledgment number of the acknowledgment segment that Host B sends to Host A?arrow_forwardTCP sender and receiver communicate over a connection in which the sender->receiver segments may be lost. The TCP sender sends an initial window of 4 segments. Suppose the initial value of the sender->receiver sequence number is 86 and the first 4 segments each contain 145 bytes. The delay between the sender and receiver is 7 time units, and so the first segment arrives at the receiver at t=5. As shown in the figure below, 0 of the 4 segment(s) are lost between the segment and receiver. Give the sequence numbers associated with each of the 4 segments sent by the sender. Format your answer as: x,y,z,... Give the ACK numbers the receiver sends in response to each of the segments. If a segment never arrives use 'x' to denote it, and format your answer as: x,y,z,...arrow_forwardHost A sends the information of size 3000 bytes to Host B using TCP protocol. As long as Host B receives each packet in size 1000 bytes, Host B must acknowledge Host A. We assume the header size in each packet is 40 bytes, the starting sequence number used by Host A is 1000, and the window size of the sender side is 3000 bytes. What is the value of RCV.NXT in Host B when the second packet in Host A is sent out and acknowledged? Question options: 1000 2000 3000 4000arrow_forward
- A router needs to transmit an IPv4 datagram with a total size of S bytes. The link layer of the router’s output port uses ATM AAL5 standard. Find the number of ATM cells that will be transmitted on this port, and the needed padding bytes, if any, for the following cases: For S = 42140, the total number of ATM cells is cells, and the number padding bytes are bytes. For S = 8871, the total number of ATM cells is cells, and the number padding bytes are bytes. For S = 36211, the total number of ATM cells is cells, and the number padding bytes are bytes. For S = 17752, the total number of ATM cells is cells, and the number padding bytes are bytes.arrow_forwardHost A sends the information of size 3000 bytes to Host B using TCP protocol. As long as Host B receives each packet in size 1000 bytes, Host B must acknowledge Host A. We assume the header size in each packet is 40 bytes, the starting sequence number used by Host A is 1000, and the window size of the sender side is 3000 bytes. What is the value of SND.NXT when the second packet is sent out, but only acknowledged for the first 300 bytes of the first packet? Question 7 options: 1000 2000 3000 1300arrow_forwardConsider the figure below in which a TCP sender and receiver communicate over a connection in which the sender->receiver segments may be lost. The TCP sender sends an initial window of 5 segments. Suppose the initial value of the sender->receiver sequence number is 362 and the first 5 segments each contain 638 bytes. The delay between the sender and receiver is 7 time units, and so the first segment arrives at the receiver at t=8. As shown in the figure below, 3 of the 5 segment(s) are lost between the segment and receiver.arrow_forward
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage Learning