You are on page 1of 8

NETWORK+ CERTIFICATION: TEXTBOOK ANSWERS

51

CHAPTER 6

TRANSPORT LAYER PROTOCOLS
EXERCISES
Exercise 6-1: TCP Header Fields
Match the TCP header field in the left column with the correct description in the right column. 1. Source Port 2. Sequence Number 3. Checksum 4. Window 5. Urgent Pointer 6. Data Offset 7. Destination Port 8. Acknowledgment Number 9. Control Bits 10. Data a. Specifies how many bytes the sender can transmit b. Specifies the number of bytes in the sequence that have been successfully transmitted c. Specifies the functions of messages used to initiate and terminate connections d. Contains information for the application layer e. Specifies which of the bytes in the message should receive special treatment from the receiving system f. Identifies the application or protocol that generated the data carried in the TCP message g. Used to reassemble segments that arrive at the destination out of order h. Specifies the length of the TCP header i. Contains error detection information j. Specifies the application that will use the data in the message
ANSWER

1. f, 2. g, 3. i, 4. a, 5. e, 6. h, 7. j, 8. b, 9. c, 10. d.

Both 3. Both 4. Detects transmission errors: ___________________________ 4. Uses a pseudo-header in its checksums: _________________ ANSWER 1. TCP 6. Used to carry DHCP messages: _________________________ 5. TCP 8. TCP 2. 1. Both . Both 10. Contains a Length field: ______________________________ 10. UDP. Both 5. Provides flow control: ________________________________ 2. TCP 9. Used for Web client/server communications: _____________ 8. Used for DNS communications: ________________________ 3. Divides data to be transmitted into segments: _____________ 6. or both. Acknowledges transmitted messages: ____________________ 7.52 NETWORK+ CERTIFICATION: TEXTBOOK ANSWERS Exercise 6-2: TCP and UDP Functions Specify whether each of the following statements describes TCP. Requires a connection establishment procedure: __________ 9. TCP 7.

SMTP 5. Data segments are not acknowledged until the entire sequence has been transmitted. POP3 6. 110 6. 23 2. c. In TCP. . 25 5. 80 4. 20 ANSWER 1.NETWORK+ CERTIFICATION: TEXTBOOK ANSWERS 53 Exercise 6-3: Port Numbers Specify the application or service associated with each of the following wellknown port numbers: 1. A predetermined time interval must pass before the receiving system can acknowledge a data packet. 21 3. what does “delayed acknowledgment” mean? a. FTP (Data) REVIEW QUESTIONS 1. A data segment must be acknowledged before the next segment is transmitted. FTP (Control) 3. The receiving system doesn’t have to generate a separate acknowledgment message for every segment. DNS 7. d. Telnet 2. HTTP 4. 53 7. ANSWER c. b.

A socket ANSWER d. The system initiating the TCP connection d. The system terminating the TCP connection ANSWER a. A data offset d. A checksum c. The location of the current segment in the sequence c. 4. What is the combination of an IP address and a port number called? a. The length of the Data field d. Which of the following TCP/IP systems uses an ephemeral port number? a. The server c. A sequence number b. . The length of the TCP header b. The checksum value used for error detection ANSWER a. What does the Data Offset field in the TCP header specify? a.54 NETWORK+ CERTIFICATION: TEXTBOOK ANSWERS 2. 3. The client b.

What flag does the first message transmitted in any TCP connection contain? a. Window b. FIN d. Data Offset c. SYN c. 6. Guaranteed delivery c. Acknowledgment d. Sequence Number ANSWER a. ACK b. PSH ANSWER b. What TCP header field provides flow control? a. Which of the following services does UDP provide? a. Error detection d. Flow control b. . None of the above ANSWER c.NETWORK+ CERTIFICATION: TEXTBOOK ANSWERS 55 5. 7.

c. Which of the following is not true about the SPX protocol? a. session. Which of the following protocols requires the receiving system to transmit a separate acknowledgment message for each packet received? a. It provides flow control. 10. presentation. d. At which layers of the OSI reference model does NCP provide functions? ANSWER The transport. SPX c. It operates at the transport layer only. IPX b. ANSWER c. . 9. Clients use it to access server files. and application layers. NCP d. b. NCPB ANSWER c.56 NETWORK+ CERTIFICATION: TEXTBOOK ANSWERS 8. It is connection-oriented.

) 1. Clients are sending multiple acknowledgment messages with the same Acknowledgment Number value to the server. Answer 4 is correct because if a client continuously receives packets that fail the checksum test. 2. it would transmit nothing at all. Judging from this information. The server is failing to receive acknowledgments of its transmissions from clients. . Answer 1 is correct because if the server fails to receive acknowledgments to its transmissions from the clients. indicating that it has not received any further data that is valid. The server is failing to receive clients’ file access requests. ANSWER Answers 1 and 4 are correct. it will retransmit the same data repeatedly.NETWORK+ CERTIFICATION: TEXTBOOK ANSWERS 57 CASE SCENARIOS Case Scenario 6-1: Troubleshooting TCP The manager of your company’s 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. resulting in packets with the same Sequence Number value. Answer 2 is incorrect because if the server failed to receive the clients’ access requests. you use a protocol analyzer to capture a sample of the network’s traffic. 4. which of the following statements are true? (Choose all answers that are correct. it will send repeated acknowledgment messages back to the server containing the same Acknowledgment Number value. Clients are sending multiple file request messages with the same Sequence Number value to the server. While analyzing the traffic sample. you notice the server is transmitting large numbers of TCP packets with the same Sequence Number value. it would still respond with messages having different sequence numbers. 3. As part of your troubleshooting process. Answer 3 is incorrect because if the server were processing multiple file requests from the clients.

you select the port number 283. This intranet Web server will not contain confidential information. For the intranet site.3.145 in the Address field and then specify the port number in the company home page.54. you follow the IP address or DNS name in the URL with a colon and then the port number.3. Type http://10. 2. as in http://10. .3. Type http://283:10.3. which is 80. ANSWER Answer 2 is correct. There is no need to reconfigure the client program or type the port number in a Web page. you create a second site on the Web server.3.58 NETWORK+ CERTIFICATION: TEXTBOOK ANSWERS Case Scenario 6-2: Using Port Numbers While you are installing an Internet Web server on a client’s network. To do this. what will the users on the company network have to do to access the intranet Web site with Microsoft Internet Explorer? 1. but it should not be accessible from the company’s Internet Web site. Type http://10. The Internet site uses the well-known port number for Web servers.54. Assuming that the Web server’s IP address on the internal network is 10.145. the owner of the company tells you that he also wants to build a Web server for internal use by the company’s employees.145 in the Address field. To access a Web page using a port number other than the well-known port 80.3. 4. 3.54.145 in the Address field.145:283 in the Address field.54. Configure Internet Explorer to use port 283 in its Options dialog box and then type http://10.54.145:283.54.