0% found this document useful (0 votes)
160 views4 pages

Lab 3 CCN

This document provides instructions for a lab experiment on setting up a client-server network in Packet Tracer. The objectives are to learn how client and server programs work and perform tasks like pinging the server, using traceroute, adding a PDU to simulate communication, setting up an FTP server, and accessing a web page by changing the server's index.html file. Key aspects covered include the client-server model, HTTP and FTP protocols, and how ping and traceroute function. Students are asked questions about what layer HTTP/FTP operate in according to OSI, differences between the two protocols, and how PDUs process ping commands.

Uploaded by

Areeba Noor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
160 views4 pages

Lab 3 CCN

This document provides instructions for a lab experiment on setting up a client-server network in Packet Tracer. The objectives are to learn how client and server programs work and perform tasks like pinging the server, using traceroute, adding a PDU to simulate communication, setting up an FTP server, and accessing a web page by changing the server's index.html file. Key aspects covered include the client-server model, HTTP and FTP protocols, and how ping and traceroute function. Students are asked questions about what layer HTTP/FTP operate in according to OSI, differences between the two protocols, and how PDUs process ping commands.

Uploaded by

Areeba Noor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

University of Engineering & Technology (UET)

Taxila
Computer Communication Networks LAB

EXPERIMENT # 03: Client Server Program in Packet Tracer

Name of Student: …………………………………..

Roll No.: ……………………………………………

Date of Experiment: ………………………………..

Report submitted on: ………………………………..

Marks: ……………………………………

Remarks……………………………………

Signature………………………….………

Computer Communication Networks Lab Page 1


Client Server Setup in packet tracer
1. Objective:
Learn how to interpret client and server program in packet tracer

2. Recourses Required:
 Computer
 Packet Tracer (version 5 or higher)

3. Introduction

3.1. Client and server

In Computer science, client-server is a software architecture model consisting of two


parts, client systems and server systems, both communicating over a computer
network or on the same computer. A client-server application is a distributed system
made up of both client and server software.

3.2. HTTP

HTTP means HyperText Transfer Protocol. HTTP is the underlying protocol used by


the World Wide Web and this protocol defines how messages are formatted and
transmitted, and what actions Web servers and browsers should take in response to
various commands. For example, when you enter a URL in your browser, this actually
sends an HTTP command to the Web server directing it to fetch and transmit the
requested Web page. The other main standard that controls how the World Wide Web
works is HTML, which covers how Web pages are formatted and displayed.

HTTP is called a stateless protocol because each command is executed independently,


without any knowledge of the commands that came before it. This is the main reason
that it is difficult to implement Web sites that react intelligently to user input. This
shortcoming of HTTP is being addressed in a number of new technologies,
including ActiveX, Java and JavaScript.

3.3. FTP

File Transfer Protocol (FTP) is a standard Internet protocol for transmitting files


between computers on the Internet over TCP/IP connections.

FTP is a client-server protocol that relies on two communications channels between


client and server: a command channel for controlling the conversation and a data
channel for transmitting file content. Clients initiate conversations with servers by
requesting to download a file. Using FTP, a client can upload, download, delete,
rename, move and copy files on a server. A user typically needs to log on to the FTP
server, although some servers make some or all of their content available without
login, also known as anonymous FTP.

Computer Communication Networks Lab Page 2


4. Procedure
1. Set-up the system in packet tracer with server and an end device.
2. Assign IP addresses to the server and client (PC) making them a part of same local
area network.
3. Now perform the following tasks and paste the print of the results you are getting.
 Use ping command to get reply from the server in real time mode.
 Use tracert command for server IP address and see how it works.
 In simulation mode add a PDU (Program Data unit) and see how it sends Echo
messages to the server and get an ECHO reply back from the server.
 Set up a FTP server, add a login and password. Now FTP the server via client.
Give FTP server read and write permissions.
 From the index.html file, change the content of the server web page. Now go the
web browser and type the IP address of server as URL and check the content of
web page displayed.

Computer Communication Networks Lab Page 3


University of Engineering & Technology (UET),
Taxila
Computer Communication Networks Lab
LAB WORKSHEET (Lab # 3)
Q.1 HTTP and FTP are part of which layer protocol in OSI model?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________

Q.2 What is different between FTP and HTTP?


________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________

Q.3 How PDU process ping command?


________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________

Q.4 What is P2P file sharing?


________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________

Computer Communication Networks Lab Page 4

You might also like