Packet Tracer Simulation – TCP and UDP Communications
Step 1: Generate traffic to populate Address Resolution Protocol (ARP) tables.
- Click MultiServer and click the Desktop tab > Command Prompt.
- Enter the ping 192.168.1.255 command. This will take a few seconds as every device on the network responds to MultiServer.
- Close the MultiServer window.
- Switch to Simulation mode.
- Click HTTP Client and click the Desktop tab > Web Browser.
- In the URL field, enter 192.168.1.254 and click Go. Envelopes (PDUs) will appear in the simulation window.
- Minimize, but do not close, the HTTP Client configuration window.
- Click FTP Client and click the Desktop tab > Command Prompt.
- Enter the ftp 192.168.1.254 command. PDUs will appear in the simulation window.
- Minimize, but do not close, the FTP Client configuration window.
- Click DNS Client and click the Desktop tab > Command Prompt.
- Enter the nslookup multiserver.pt.ptu command. A PDU will appear in the simulation window.
- Minimize, but do not close, the DNS Client configuration window.
- Click E-Mail Client and click the Desktop tab > E Mail tool.
- Click Compose and enter the following information:
- 1) To: user@multiserver.pt.ptu
- 2) Subject: Personalize the subject line
- 3) E-Mail Body: Personalize the Email
- Click Send.
- Minimize, but do not close, the E-Mail Client configuration window.
Every client computer should have PDUs listed in the Simulation Panel.

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.
- Click Capture/Forward once. All of the PDUs are transferred to the switch.
- Click Capture/Forward again. Some of the PDUs disappear. What do you think happened to them?
- 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?
- 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?
- Click Back eight times. This should reset the simulation.
- 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.
- 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.
- Click the Inbound PDU Details tab and scroll down to the last section. What is the section labeled? Are these communications considered to be reliable?
- 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?
- Close the PDU and click Capture/Forward until a PDU returns to the HTTP Client with a checkmark.
- Click the PDU envelope and select Inbound PDU Details. How are the port and sequence numbers
different than before?
- 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.
- What information is now listed in the TCP section? How are the port and sequence numbers different from the previous two PDUs?
- Click Back until the simulation is reset.
- In the Simulation Panel, change Edit Filters to display only FTP and TCP.
- 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.
- Click the Inbound PDU Details tab and scroll down to the last section. What is the section labeled?
- 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?
- Close the PDU and click Capture/Forward until a PDU returns to the FTP Client with a checkmark.
- Click the PDU envelope and select Inbound PDU Details. How are the port and sequence numbers different than before?
- Click the Outbound PDU Details tab. How are the port and sequence numbers different from the previous two results?
- Close the PDU and click Capture/Forward until a second PDU returns to the FTP Client. The PDU is a different color.
- Open the PDU and select Inbound PDU Details. Scroll down past the TCP section. What is the message from the server?
- Click Back until the simulation is reset.
- In the Simulation Panel, change Edit Filters to display only DNS and UDP.
- Click the PDU envelope to open it.
- Click the Inbound PDU Details tab and scroll down to the last section. What is the section labeled?
Are these communications considered to be reliable?
- Record the SRC PORT and DEST PORT values. Why is there no sequence and acknowledgement number?
- Close the PDU and click Capture/Forward until a PDU returns to the DNS Client with a checkmark.
- Click the PDU envelope and select Inbound PDU Details. How are the port and sequence numbers
different than before?
- What is the last section of the PDU called?
- Click Back until the simulation is reset.
- In the Simulation Panel, change Edit Filters to display only POP3, SMTP and TCP.
- 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. - Click the Inbound PDU Details tab and scroll down to the last section. What transport layer protocol does
email traffic use?
Are these communications considered to be reliable?
- 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?
- Close the PDU and click Capture/Forward until a PDU returns to the E-Mail Client with a checkmark.
- Click the PDU envelope and select Inbound PDU Details. How are the port and sequence numbers
- Click the Outbound PDU Details tab. How are the port and sequence numbers different from the previous two results?
- 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.
- How are the port and sequence numbers different from the previous two PDUs?
- What email protocol is associated with TCP port 25? What protocol is associated with TCP port 110?
- Click Back until the simulation is reset.
- 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.
Comments
Post a Comment