0% found this document useful (0 votes)
72 views23 pages

MARIA ASIF (027) 5 Lab

This document contains a lab assignment on activating services in a local area network (LAN) environment and working with protocol data units (PDUs) in Packet Tracer. The lab objectives are to activate file transfer protocol (FTP) and hypertext transfer protocol (HTTP) services on a server in the LAN and view the PDU list window. The lab tasks include designing a network with two PCs and a server, assigning IP addresses, enabling the FTP and HTTP services on the server, adding an FTP user, and transferring a file between the PCs via the server to test connectivity. PDUs are defined as the data units specified in network layer protocols that contain control information and user data.

Uploaded by

Kainat Ahmad
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)
72 views23 pages

MARIA ASIF (027) 5 Lab

This document contains a lab assignment on activating services in a local area network (LAN) environment and working with protocol data units (PDUs) in Packet Tracer. The lab objectives are to activate file transfer protocol (FTP) and hypertext transfer protocol (HTTP) services on a server in the LAN and view the PDU list window. The lab tasks include designing a network with two PCs and a server, assigning IP addresses, enabling the FTP and HTTP services on the server, adding an FTP user, and transferring a file between the PCs via the server to test connectivity. PDUs are defined as the data units specified in network layer protocols that contain control information and user data.

Uploaded by

Kainat Ahmad
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/ 23

FATIMA JINNAH WOMEN UNIVERSITY

Department Of Computer Science

MARIA ASIF

2018-BCS-027

Data Communication and Computer Networks (Lab)


Lab # 5
Lab Duration 3-hrs / week.

Majid Shafique
Lab Engineer
Computer Science Dept
FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

Lab 05
Summary

Items Description
Course Title Data Communication and Computer Networks
Lab Title Activation of services in LAN environment and Protocol Data
Unit
Duration 3 Hours
Operating System Packet Tracer
/Tool/Language
Objective To activate services provided by Server in LAN environment
and to work on PDU and PDU List Window Usage

SERVICES In LAN ENVIRONMENT

File Transfer Protocol (FTP) is a standard network protocol used to transfer files from


one host to another host over a TCP-based network, such as the Internet. FTP is built on client-
server architecture and uses separate control and data connections between the client and the
server. FTP users may authenticate themselves using a clear-text sign-in protocol, normally in
the form of a username and password, but can connect anonymously if the server is configured to
allow it. For secure transmission that hides (encrypts) the username and password, and encrypts
the content, FTP is often secured with SSL/TLS ("FTPS"). SSH File Transfer Protocol ("SFTP")
is sometimes also used instead, but is technologically different. The first FTP client applications
were command-line applications developed before operating systems had graphical user
interfaces, and are still shipped with most Windows, UNIX, and Linux operating systems.
Dozens of FTP clients and automation utilities have since been developed for desktops, servers,
mobile devices, and hardware, and FTP has been incorporated into hundreds of productivity
applications, such as Web page editors.
The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed,
collaborative, hypermedia information systems. HTTP is the foundation of data communication
for the World Wide Web. Hypertext is structured text that uses logical links (hyperlinks)
between nodes containing text. HTTP is the protocol to exchange or transfer hypertext. The
standards development of HTTP was coordinated by the Internet Engineering Task Force (IETF)
and the World Wide Web Consortium (W3C), culminating in the publication of a series
of Requests for Comments (RFCs), most notably RFC 2616 (June 1999), which defines
HTTP/1.1, the version of HTTP in common use.
FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

In a layered system, Protocol Data Unit (PDU) is a unit of data which is specified in a protocol of
a given layer and which consists of protocol-control information and possibly user data of that
layer. For example: Bridge PDU or iSCSI PDU

LAB TASK
Task 1
Open Packet tracer-> desktop.

2. Select Switch option.

3. Select generic Switch and drag n drop onto the work space.
FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

4. Select End Device Option.

5. Select Generic device and drop it on the work space.

6. Select Server from End Device option.


FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

7. Select connection option.


FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

8. Select Copper Straight-Through cable.


FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

9. Left click on any 1 end station select->Fast Ethernet0/1.


FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

10. Connect end station and server with Switch. The green dots show that connection is working
fine.
FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

11. Double left click on any end station and select Desktop option.
FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

12. Select IP configuration option.

13. Verify the assignment of the IP address by placing cursor on any end device.
14. Double left click on server open config tab. Select HTTP services and make sure the service
is on by clicking on ON option.
FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

15. Select FTP services and make sure the service is on by clicking on ON option. Create a new
user by typing user name and password in respective fields.
FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

16. Select any permission i.e read, write etc by selecting the respective check box.
FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

17. Add the new user to the list by clicking the plus button.
FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

Task Using packet tracer, design a network for sharing file/folder i.e.
PC1, 192.168.0. _ (your Reg # )______(master)
PC2, 192.168.0. _ (your Reg # )______(Slave)
for testing Applay Ping command from both sidis.

Solution
FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science
FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

 Assign the IP address and default gateway of server


FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

 Assign the IP address and default gateway of PC2


FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

 Assign the IP address and default gateway of PC0


FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

 Assign the IP address and default gateway of PC1

Assign the IP address of FastEthernet0/0 router


FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

 Assign the IP address of FastEthernet0/1 router

 Add FTP server user by giving all permissions and assigning username and password
FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

 Connect the server.

 Then connect the PC2 to server and put text file in it as ‘pc2file.
FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

 Then to transfer the file from pc2 to pc1, first connect the pc1 to server then get the file
‘pc2file’.

 Through ‘dir’ command, file sharing procedure success is confirmed.


FATIMA JINNAH WOMEN UNIVERSITY
Department Of Computer Science

You might also like