9.3.1.2 Packet Tracer Simulation – Exploration of TCP and UDP Communications

9.3.1.2 Packet Tracer Simulation – Exploration of TCP and UDP Communications

From year to year, Cisco has updated many versions with difference questions. The latest version is version 6.0 in 2018. What is your version? It depends on your instructor creating your class. We recommend you to go thought all version if you are not clear. While you take online test with netacad.com, You may get random questions from all version. Each version have 1 to 10 different questions or more. After you review all questions, You should practice with our online test system by go to "Online Test" link below.

Version 5.02 Version 5.1 Version 6.0 Online Assessment
Chapter 9 Exam Chapter 9 Exam Chapter 9 Exam Online Test
Next Chapter
Chapter 10 Exam Chapter 10 Exam Chapter 10 Exam Online Test
Lab Activities
9.3.1.2 Packet Tracer Simulation – Exploration of TCP and UDP Communications

Packet Tracer Simulation – TCP and UDP Communications (Answer Version – Optional Packet Tracer)

Answer Note: Red font color or gray highlights indicate text that appears in the Answer copy only. Optional activities are designed to enhance understanding and/or to provide additional practice.

Topology

9.3.1.2 Packet Tracer Simulation – Exploration of TCP and UDP Communications

9.3.1.2 Packet Tracer Simulation – Exploration of TCP and UDP Communications

Objectives

Part 1: Generate Network Traffic in Simulation Mode

Part 2: Examine the Functionality of the TCP and UDP Protocols

Background

This simulation activity is intended to provide a foundation for understanding the TCP and UDP in detail. Simulation mode provides the ability to view the functionality of the different protocols.

As data moves through the network, it is broken down into smaller pieces and identified in some fashion so that the pieces can be put back together. Each of these pieces is assigned a specific name (protocol data unit [PDU]) and associated with a specific layer. Packet Tracer Simulation mode enables the user to view each of the protocols and the associated PDU. The steps outlined below lead the user through the process of requesting services using various applications available on a client PC.

This activity provides an opportunity to explore the functionality of the TCP and UDP protocols, multiplexing and the function of port numbers in determining which local application requested the data or is sending the data.

Part 1: Generate Network Traffic in Simulation Mode

Step 1: Generate traffic to populate Address Resolution Protocol (ARP) tables.

Perform the following tasks task to reduce the amount of network traffic viewed in the simulation.

  1. Click MultiServer and click the Desktop tab > Command Prompt.
  2. Enter the ping 192.168.1.255 command. This will take a few seconds as every device on the network responds to MultiServer.
  3. Close the MultiServer window.

Step 2: Generate web (HTTP) traffic.

  1. Switch to Simulation mode.
  2. Click HTTP Client and click the Desktop tab > Web Browser.
  3. In the URL field, enter 192.168.1.254 and click Go. Envelopes (PDUs) will appear in the simulation window.
  4. Minimize, but do not close, the HTTP Client configuration window.

Step 3: Generate FTP traffic.

  1. Click FTP Client and click the Desktop tab > Command Prompt.
  2. Enter the ftp 192.168.1.254 command. PDUs will appear in the simulation window.
  3. Minimize, but do not close, the FTP Client configuration window.

Step 4: Generate DNS traffic.

  1. Click DNS Client and click the Desktop tab > Command Prompt.
  2. Enter the nslookup multiserver.pt.ptu command. A PDU will appear in the simulation window.
  3. Minimize, but do not close, the DNS Client configuration window.

Step 5: Generate Email traffic.

  1. Click E-Mail Client and click the Desktop tab > E Mail tool.
  2. Click Compose and enter the following information:
    1. To: [email protected]
    2. Subject: Personalize the subject line
    3. E-Mail Body: Personalize the Email
  3. Click Send.
  4. Minimize, but do not close, the E-Mail Client configuration window.

Step 6: Verify that the traffic is generated and ready for simulation.

Every client computer should have PDUs listed in the Simulation Panel.

Part 2: Examine Functionality of the TCP and UDP Protocols

Step 1: Examine multiplexing as all of the traffic crosses the network.

You will now use the Capture/Forward button and the Back button in the Simulation Panel.

  1. Click Capture/Forward once. All of the PDUs are transferred to the switch.
  2. Click Capture/Forward again. Some of the PDUs disappear. What do you think happened to them?
    • They are stored in the switch.
  3. Click Capture/Forward six times. All clients should have received a reply. Note that only one PDU can cross a wire in each direction at any given time. What is this called?
    • Multiplexing.
  4. A variety of PDUs appears in the event list in the upper right pane of the simulation window. Why are they so many different colors?
    • They represent different protocols.
  5. Click Back eight times. This should reset the simulation.

Note: Do not click Reset Simulation any time during this activity; if you do, you will need to repeat the steps in Part 1.

Step 2: Examine HTTP traffic as the clients communicate with the server.

  1. Filter the traffic that is currently displayed to display only HTTP and TCP PDUs filter the traffic that is currently displayed:
    1. Click Edit Filters and toggle the Show All/None check box.
    2. Select HTTP and TCP. Click anywhere outside of the Edit Filters box to hide it. The Visible Events should now display only HTTP and TCP PDUs.
  2. Click Capture/Forward. Hold your mouse above each PDU until you find one that originates from HTTP Client. Click the PDU envelope to open it.
  3. Click the Inbound PDU Details tab and scroll down to the last section. What is the section labeled?
    • TCP
    • Are these communications considered to be reliable?
    • Yes.
  4. Record the SRC PORT, DEST PORT, SEQUENCE NUM, and ACK NUM values. What is written in the field to the left of the WINDOW field?
    • 1025 (could be different), 80, 0, 0 SYN
  5. Close the PDU and click Capture/Forward until a PDU returns to the HTTP Client with a checkmark.
  6. Click the PDU envelope and select Inbound PDU Details. How are the port and sequence numbers different than before?
    • 80, 1025, 0, 1. SYN+ACK. The source and destination ports are reversed, and the acknowledgement number is 1. The SYN has changed to SYN+ACK.
  7. There is a second PDU of a different color, which HTTP Client has prepared to send to MultiServer. This is the beginning of the HTTP communication. Click this second PDU envelope and select Outbound PDU Details.
  8. What information is now listed in the TCP section? How are the port and sequence numbers different from the previous two PDUs?
    • 1025, 80, 1, 1. PSH+ACK The source and destination ports are reversed, and both sequence and acknowledgement numbers are 1.
  9. Click Back until the simulation is reset.

Step 3: Examine FTP traffic as the clients communicate with the server.

  1. In the Simulation Panel, change Edit Filters to display only FTP and TCP.
  2. Click Capture/Forward. Hold your cursor above each PDU until you find one that originates from FTP Client. Click that PDU envelope to open it.
  3. Click the Inbound PDU Details tab and scroll down to the last section. What is the section labeled?
    • TCP
    • Are these communications considered to be reliable?
    • Yes.
  4. Record the SRC PORT, DEST PORT, SEQUENCE NUM, and ACK NUM values. What is written in the field to the left of the WINDOW field?
    • 1025, 21, 0, 0. SYN
  5. Close the PDU and click Capture/Forward until a PDU returns to the FTP Client with a checkmark.
  6. Click the PDU envelope and select Inbound PDU Details. How are the port and sequence numbers different than before?
    • 21, 1025, 0, 1. SYN+ACK. The source and destination ports are reversed, and the acknowledgement number is 1.
  7. Click the Outbound PDU Details tab. How are the port and sequence numbers different from the previous two results?
    • 1025, 21, 1, 1. ACK. The source and destination ports are reversed, and both sequence and acknowledgement numbers are 1.
  8. Close the PDU and click Capture/Forward until a second PDU returns to the FTP Client. The PDU is a different color.
  9. Open the PDU and select Inbound PDU Details. Scroll down past the TCP section. What is the message from the server?
    • May say either “Username ok, need password” or “Welcome to PT Ftp server”
  10. Click Back until the simulation is reset.

Step 4: Examine DNS traffic as the clients communicate with the server.

  1. In the Simulation Panel, change Edit Filters to display only DNS and UDP.
  2. Click the PDU envelope to open it.
  3. Click the Inbound PDU Details tab and scroll down to the last section. What is the section labeled?
    • UDP
    • Are these communications considered to be reliable?
    • No
  4. Record the SRC PORT and DEST PORT values. Why is there no sequence and acknowledgement number?
    • 1025, 53. Because UDP does not need to establish a reliable connection.
  5. Close the PDU and click Capture/Forward until a PDU returns to the DNS Client with a checkmark.
  6. Click the PDU envelope and select Inbound PDU Details. How are the port and sequence numbers different than before?
    • 53, 1025. The source and destination ports are reversed.
  7. What is the last section of the PDU called?
    • DNS ANSWER.
  8. Click Back until the simulation is reset.

Step 5: Examine email traffic as the clients communicate with the server.

  1. In the Simulation Panel, change Edit Filters to display only POP3, SMTP and TCP.
  2. Click Capture/Forward. Hold your cursor above each PDU until you find one that originates from E-mail Client. Click that PDU envelope to open it.
  3. Click the Inbound PDU Details tab and scroll down to the last section. What transport layer protocol does email traffic use?
    • TCP
    • Are these communications considered to be reliable?
    • Yes.
  4. Record the SRC PORT, DEST PORT, SEQUENCE NUM, and ACK NUM values. What is written in the field to the left of the WINDOW field?
    • 1025, 25, 0, 0. SYN
  5. Close the PDU and click Capture/Forward until a PDU returns to the E-Mail Client with a checkmark.
  6. Click the PDU envelope and select Inbound PDU Details. How are the port and sequence numbers different than before?
    • 25, 1025, 0, 1. SYN+ACK. The source and destination ports are reversed, and the acknowledgement number is 1.
  7. Click the Outbound PDU Details tab. How are the port and sequence numbers different from the previous two results?
    • 1025, 25, 1, 1. ACK. The source and destination ports are reversed, and both sequence and acknowledgement numbers are 1. ACK
  8. There is a second PDU of a different color that HTTP Client has prepared to send to MultiServer. This is the beginning of the email communication. Click this second PDU envelope and select Outbound PDU Details.
  9. How are the port and sequence numbers different from the previous two PDUs?
    • 1025, 25, 1, 1. PSH+ACK. The source and destination ports are reversed, and both sequence and acknowledgement numbers are 1.
  10. What email protocol is associated with TCP port 25? What protocol is associated with TCP port 110?
    • SMTP. POP3.
  11. Click Back until the simulation is reset.

Step 6: Examine the use of port numbers from the server.

  1. To see TCP active sessions, perform the following steps in quick succession:
    1. Switch back to Realtime mode.
    2. Click MultiServer and click the Desktop tab > Command Prompt.
  2. Enter the netstat command. What protocols are listed in the left column? TCP
    • What port numbers are being used by the server? Answers will vary, but students may see all three: 21, 25, 80. They should certainly see 21
  3. What states are the sessions in?
    • Answer will vary. Possible states include CLOSED, ESTABLISHED, LAST_ACK
  4. Repeat the netstat command several times until you see only one session still ESTABLISHED. For which service is this connection still open? FTP
    • Why doesn’t this session close like the other three? (Hint: Check the minimized clients)
    • The server is waiting for a password from the client.

From year to year, Cisco has updated many versions with difference questions. The latest version is version 6.0 in 2018. What is your version? It depends on your instructor creating your class. We recommend you to go thought all version if you are not clear. While you take online test with netacad.com, You may get random questions from all version. Each version have 1 to 10 different questions or more. After you review all questions, You should practice with our online test system by go to "Online Test" link below.

Version 5.02 Version 5.1 Version 6.0 Online Assessment
Chapter 9 Exam Chapter 9 Exam Chapter 9 Exam Online Test
Next Chapter
Chapter 10 Exam Chapter 10 Exam Chapter 10 Exam Online Test
Lab Activities
9.3.1.2 Packet Tracer Simulation – Exploration of TCP and UDP Communications

Suggested Scoring Rubric

Activity Section Question Location Possible Points Earned Points
Part 2: Examine Functionality of the TCP and UDP Protocols Step 1 15
Step 2 15
Step 3 15
Step 4 15
Step 5 15
Step 6 25
Total Score 100

Comments

comments