Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
51
CHAPTER 6
1. f, 2. g, 3. i, 4. a, 5. e, 6. h, 7. j, 8. b, 9. c, 10. d.
52
1. TCP 2. Both 3. Both 4. Both 5. TCP 6. TCP 7. TCP 8. TCP 9. Both 10. Both
53
REVIEW QUESTIONS
1. In TCP, what does delayed acknowledgment mean? a. A predetermined time interval must pass before the receiving system can acknowledge a data packet. b. Data segments are not acknowledged until the entire sequence has been transmitted. c. The receiving system doesnt have to generate a separate acknowledgment message for every segment. d. A data segment must be acknowledged before the next segment is transmitted.
ANSWER
c.
54
2. What does the Data Offset field in the TCP header specify? a. The length of the TCP header b. The location of the current segment in the sequence c. The length of the Data field d. The checksum value used for error detection
ANSWER
a. 3. What is the combination of an IP address and a port number called? a. A sequence number b. A checksum c. A data offset d. A socket
ANSWER
d. 4. Which of the following TCP/IP systems uses an ephemeral port number? a. The client b. The server c. The system initiating the TCP connection d. The system terminating the TCP connection
ANSWER
a.
55
5. What flag does the first message transmitted in any TCP connection contain? a. ACK b. SYN c. FIN d. PSH
ANSWER
b. 6. What TCP header field provides flow control? a. Window b. Data Offset c. Acknowledgment d. Sequence Number
ANSWER
a. 7. Which of the following services does UDP provide? a. Flow control b. Guaranteed delivery c. Error detection d. None of the above
ANSWER
c.
56
8. Which of the following is not true about the SPX protocol? a. It is connection-oriented. b. It operates at the transport layer only. c. Clients use it to access server files. d. It provides flow control.
ANSWER
c. 9. At which layers of the OSI reference model does NCP provide functions?
ANSWER
The transport, session, presentation, and application layers. 10. Which of the following protocols requires the receiving system to transmit a separate acknowledgment message for each packet received? a. IPX b. SPX c. NCP d. NCPB
ANSWER
c.
57
CASE SCENARIOS
Case Scenario 6-1: Troubleshooting TCP
The manager of your companys Sales department calls the help desk and reports a general slowdown of the Sales network and intermittent failures when users try to access files on the Sales server. As part of your troubleshooting process, you use a protocol analyzer to capture a sample of the networks traffic. While analyzing the traffic sample, you notice the server is transmitting large numbers of TCP packets with the same Sequence Number value. Judging from this information, which of the following statements are true? (Choose all answers that are correct.) 1. The server is failing to receive acknowledgments of its transmissions from clients. 2. The server is failing to receive clients file access requests. 3. Clients are sending multiple file request messages with the same Sequence Number value to the server. 4. Clients are sending multiple acknowledgment messages with the same Acknowledgment Number value to the server.
ANSWER
Answers 1 and 4 are correct. Answer 1 is correct because if the server fails to receive acknowledgments to its transmissions from the clients, it will retransmit the same data repeatedly, resulting in packets with the same Sequence Number value. Answer 4 is correct because if a client continuously receives packets that fail the checksum test, it will send repeated acknowledgment messages back to the server containing the same Acknowledgment Number value, indicating that it has not received any further data that is valid. Answer 2 is incorrect because if the server failed to receive the clients access requests, it would transmit nothing at all. Answer 3 is incorrect because if the server were processing multiple file requests from the clients, it would still respond with messages having different sequence numbers.
58
Answer 2 is correct. To access a Web page using a port number other than the well-known port 80, you follow the IP address or DNS name in the URL with a colon and then the port number, as in http://10.54.3.145:283. There is no need to reconfigure the client program or type the port number in a Web page.