Lab 9
Lab 9
Lab 9
Topology
HTTP 192.168.1.1
FTP 192.168.1.2
DNS 192.168.1.3
Email 192.168.1.4
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.
Answer:
Multiplexing
d. 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?
Answer:
They will show different protocols of different colours.
e. 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.
d. 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?
Answer:
As given above in screenshot.
e. Close the PDU and click Capture/Forward until a PDU returns to the HTTP Client with a checkmark.
f. Click the PDU envelope and select Inbound PDU Details. How are the port and sequence numbers
different than before?
Answer:
The source and the destination are reversed and it give the ack no is 1.The SYN has changed to SYN+ACK
g. There is a second PDU of a different color, which HTTP Client has prepared to send to Multi Server.
This is the beginning of the HTTP communication. Click this second PDU envelope and select Outbound
PDU Details.
h. What information is now listed in the TCP section? How are the port and sequence numbers different
from the previous two PDUs?
Answer:
The ports and the destination are reversed and it give the ack no is 1.The both SYN+ACK are same.
g. Click the Outbound PDU Details tab. How are the port and sequence numbers different from the
previous two results?
h. Close the PDU and click Capture/Forward until a second PDU returns to the FTP Client. The PDU is a
different color.
i. Open the PDU and select Inbound PDU Details. Scroll down past the TCP section. What is the message
from the server?
Answer:
Welcome to FTP
j. Click Back until the simulation is reset.
d. 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?
Answer:
As given above in screenshot.
e. Close the PDU and click Capture/Forward until a PDU returns to the E-Mail Client with a checkmark.
f. Click the PDU envelope and select Inbound PDU Details. How are the port and sequence numbers
different than before?
Answer:
The source and the destination are reversed and it give the ack no is 1.It gives SYN+ACK
g. Click the Outbound PDU Details tab. How are the port and sequence numbers different from the
previous two results?
Answer:
The ports and the destination are reversed and it give the ack no is 1.The both SYN+ACK are same.
h. There is a second PDU of a different color that HTTP Client has prepared to send to Multi Server. This is
the beginning of the email communication. Click this second PDU envelope and select Outbound PDU
Details.
i. How are the port and sequence numbers different from the previous two PDUs?
Answer:
The ports and the destination are reversed and it give the ack no is 1.The both SYN+ACK are same.
j. What email protocol is associated with TCP port 25? What protocol is associated with TCP port 110?
k. Click Back until the simulation is reset.
Answer:
The session in state is ESTABLISHED.
d. Repeat the netstat command several times until you see only one session still ESTABLISHED for which
service is this connection still open?
Why doesn’t this session close like the other three? (Hint: Check the minimized clients)