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

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

Socket Programming

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 Domain  The family of pr...

Implementation of DHCP Protocol

Dynamic Host Configuration Protocol(DHCP)  is an application layer protocol which is used to provide: Subnet Mask (Option 1 – e.g., 255.255.255.0) Router Address (Option 3 – e.g., 192.168.1.1) DNS Address (Option 6 – e.g., 8.8.8.8) Vendor Class Identifier (Option 43 – e.g., ‘unifi’ = 192.168.1.9 ##where unifi = controller) DHCP is based on a client-server model and based on discovery, offer, request, and ACK. DHCP  port number  for server is 67 and for the client is 68. It is a Client server protocol which uses UDP services. IP address is assigned from a pool of addresses. In DHCP, the client and the server exchange mainly 4 DHCP messages in order to make a connection, also called DORA process, but there are 8 DHCP messages in the process. Steps: 1) Create a network topology of a PC, a switch and a router. 2) The client is connected to Router-1, which acts like a DHCP server whose configuration         is discussed. When a cl...