Skip to main content

TCP and UDP Communications

Aim: To generate Network Traffic in simulation mode.

Step 1: Generate traffic to populate Address Resolution Protocol (ARP) tables.
       To reduce the traffic being viewed-

  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 on 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 Email Client and click Desktop tab> Email tool.
  2. Click Compose and enter the following information.
    • To: user@multiserver.pt.ptu
    • Subject: Personalize the subject line.
    • Email: Personalize the Email.
  3. Click Send.
  4. MInimize, but do not close the Email Configuration window.
Step 6: Verify that the traffic is generated and ready for simulation.

Every Client Computer should have PDUs listed in the simulation window.

Comments

Popular posts from this blog

Generate Traffic in Simulation Mode

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 ...

Socket Programming

SOCKET PROGRAMMING TCP SOCKET PROGRAMMING TCP  Python provides two levels of access to network services. At a low level, you can access the basic socket support in the underlying operating system, which allows you to implement clients and servers for both connection-oriented and connectionless protocols. Python also has libraries that provide higher-level access to specific application-level network protocols, such as FTP, HTTP, and so on. What is Sockets? Sockets are the endpoints of a bidirectional communications channel. Sockets may communicate within a process, between processes on the same machine, or between processes on different continents. Sockets may be implemented over a number of different channel types: Unix domain sockets, TCP, UDP, and so on. The socket library provides specific classes for handling the common transports as well as a generic interface for handling the rest. Sockets have their own vocabulary − Term & Description 1...

Configuring Routing Information Protocol

Routing Information Protocol  (RIP) It is a dynamic routing protocol which uses hop count as a routing metric to find the best path between the source and the destination network. It is a distance vector routing protocol which has AD value 120 and works on the application layer of OSI model. RIP uses port number 520. Steps: 1) Initially select 2 PCs,  2 Switches &  2 Routers namely, PC-1 & PC-2, Switch-1 &                Switch-2 and Router-1 & Router-2 respectively. 2) Make all the necessary connections using serial gateway 0/1, 3) Assign IP Addresses, Subnet Mask and Gateway as follows-      PC-1         192.168.2.1    255.255255.0      192.168.2.2      PC-2         192.168.3.1    255.255.255.0     192.168.3.2    Switch-1        ...