File transfer protocol server configuration using cisco packet tracer - GeeksforGeeks

02 Nov, 2021
In this article we are going to design a file transfer protocol server configuration in cisco packet tracer and checking the connectivity for uploading and downloading the file from remote PC.
Objectives:
To Configure FTP Services on Server.
To Upload a File into the FTP Server from Remote PC.
To Download a File from the FTP Server from Remote PC.
Step-1: (Configuring Router0):
Select a 2911 Router from Network Devices and drag and drop to the workspace.Select Router0 and Go to Config.Configure the GigabitEthernet0/0 by assigning IP address as 192.168.1.1 and subnet mask as 255.255.255.0 and turn on the port statusConfigure the GigabitEthernet0/1 by assigning IP address as 10.0.0.1 and subnet mask as 255.0.0.0 and turn on the port status.
Select a 2911 Router from Network Devices and drag and drop to the workspace.
Select Router0 and Go to Config.
Configure the GigabitEthernet0/0 by assigning IP address as 192.168.1.1 and subnet mask as 255.255.255.0 and turn on the port status
Configure the GigabitEthernet0/1 by assigning IP address as 10.0.0.1 and subnet mask as 255.0.0.0 and turn on the port status.
Router0 Command Line Interface:
Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#exit
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 10.0.0.1 255.0.0.0
Router(config-if)#shutdown
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
Step-2: (Configuring PCs):
Select two PC-PT type PCs from End devices and drag and drop to the workspace.Select PC0 and go to FastEthernet0 in config and assign IP address and subnet mask for the PC0 as 192.168.1.2, 255.255.255.0Select PC1 and go to FastEthernet0 in config and assign IP address and subnet mask for the PC1 as 192.168.1.3, 255.255.255.0For both the PCs (PC0, PC1) go to Global settings in config and Assign default gateway as 192.168.1.1
Select two PC-PT type PCs from End devices and drag and drop to the workspace.
Select PC0 and go to FastEthernet0 in config and assign IP address and subnet mask for the PC0 as 192.168.1.2, 255.255.255.0
Select PC1 and go to FastEthernet0 in config and assign IP address and subnet mask for the PC1 as 192.168.1.3, 255.255.255.0
For both the PCs (PC0, PC1) go to Global settings in config and Assign default gateway as 192.168.1.1
Step-3: (Configuring Server0):
Select a server from End devices and drag and drop to the workspace.Go to the global settings in config and assign default gateway as 10.0.0.1Go to FastEthernet0 and assign IP address and subnet mask as 10.0.0.2, 255.0.0.0Go to services and open FTP Service.Go to user setup and create a username and password.Select all the permissions (Write, Read, Delete, Rename, List) and add the user.
Select a server from End devices and drag and drop to the workspace.
Go to the global settings in config and assign default gateway as 10.0.0.1
Go to FastEthernet0 and assign IP address and subnet mask as 10.0.0.2, 255.0.0.0
Go to services and open FTP Service.
Go to user setup and create a username and password.
Select all the permissions (Write, Read, Delete, Rename, List) and add the user.
User setup:
Step-4: (Configuring Switch and Making connections):
Select a 2950-24 Switch from the network devices and drag and drop to the workspace.Connect FastEthernet0 port of PC0 to the FastEthernet0/1 port of switch0 using Copper Straight-Through cable.Connect FastEthernet0 port of PC1 to the FastEthernet0/2 port of switch0 using Copper Straight-Through cable.Connect FastEthernet0/3 port of switch0 to the GigabitEthernet0/0 of Router0 using Copper Straight-Through cable.Connect GigabitEthernet0/1 port of Router0 to the FastEtherner0 of server0 using Copper Straight-Through cable.
Select a 2950-24 Switch from the network devices and drag and drop to the workspace.
Connect FastEthernet0 port of PC0 to the FastEthernet0/1 port of switch0 using Copper Straight-Through cable.
Connect FastEthernet0 port of PC1 to the FastEthernet0/2 port of switch0 using Copper Straight-Through cable.
Connect FastEthernet0/3 port of switch0 to the GigabitEthernet0/0 of Router0 using Copper Straight-Through cable.
Connect GigabitEthernet0/1 port of Router0 to the FastEtherner0 of server0 using Copper Straight-Through cable.
Router Configuration Table:
PC Configuration Table:
Checking connections from PC0 to the other hosts in the network using ping Command in Command Prompt.
Checking connections from PC0 to the other hosts in the network using ping Command in Command Prompt.
Creating a file named 2.txt for writing(uploading) into FTP Server.
Writing(uploading) the file named 2.txt into FTP Server from PC0 using put 2.txt command and verifying this file transfer using dir command.
Reading(Downloading) the file named 2.txt present in FTP Server from PC1 using get 2.txt command and verifying this file transfer using dir command.
Computer Networks
Computer Networks
Writing code in comment?
Please use ide.geeksforgeeks.org,
generate link and share the link here.
Advanced Encryption Standard (AES)
Intrusion Detection System (IDS)
Introduction and IPv4 Datagram Header
Secure Socket Layer (SSL)
Cryptography and its Types
Multiple Access Protocols in Computer Network
Congestion Control in Computer Networks
Routing Information Protocol (RIP)
Architecture of Internet of Things (IoT)
Block Cipher modes of Operation