0% found this document useful (0 votes)
12 views

Assignment 2

Uploaded by

faiqaumer975
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Assignment 2

Uploaded by

faiqaumer975
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

COMSATS UNIVERSITY ISLAMABAD, WAH CAMPUSS

Computer Networks

Assignment # 02

SUBMITTED TO:
Sir Sabeeh Ahmed Saeed
SUBMITTED BY:
Faiqa Umer FA23-BCS-159
Ifra Ahmed FA23-BCS-171
Uneeza Kamran FA23-BCS-024
 HTTP SERVER IMPLEMENTATION ON CISCO PACKET:-
Firstly, open the cisco packet tracer.
Make two networks which consist of 2 PCs and a switch and both
networks are connected to the router.
Server is connected to the network’s switch.
One network IP address starts from 192.168.1.2 and its default gateway
is 192.168.1.1, other network default gateway is 192.168.2.1 and IP
address starts from 192.168.2.2.
 Set the IP address, subnet mask, and default gateway :-

 Server :-

 Router :-
 Management of file on server:-
Select the http under the services menu on the server, make new file
and also add it into the index.html by clicking on edit. For example:
make a file DCCN.html which shows “hello world” .
 How to access the files on server:-
Click on pc. go to the desktop and then click on web browser. Write the
IP address of server than click on go. It will show all the files on server,
also contains the new file DCCN

The DCCN file prints the data “hello world”.


 FTP Server implementation on cisco packet tracer:-
It is used to transfer files from one host to another. It also helps to
upload file on one user and other can use, download, rename, list
depending on the permission. Design the same network as design in the
HTTP server implementation. Click on server. Instead of selecting HTTP,
click on the FTP from the services menu.
 Create new users:-
Adding new users CUI and abc and give different permissions.

 How to access the users:-


By clicking on pc, go to the command prompt. Write FTP server
address. Write user name, password, ? symbol (which helps to know
about commands). Use DIR command that displays the list of files
available on server.

 Using DIR command, check file transfering:-


For download file, copy file name and use get command followed by file
name.

Quit the server and see that file is transfer or not. The file has been
downloaded.

 File creation and check :-


make a file named hello.txt and check it is available or not.
 Transfer/upload hello.txt to server and also check:-
for this again login on server and enter username password than
use DIR command to check the file. So we use put command to
transfer the file(hello.txt). to check that it has been uploaded or
not, again use DIR command.

Available :-

 How to rename a file:-


use rename command with existing name and new name.

Again use DIR command to check the file exist?


can also delete file by using delete command.
 Check the file on another network:-
Login server and username abc with password. Than use quit
command . use DIR command to check the file.
 Cannot rename or delete on this network:-

 Delete or rename file on other network that has access:-

So, the file is permanently deleted, checked by using the DIR command.

You might also like