Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

File transfer protocol server configuration using cisco packet tracer

  • Difficulty Level : Expert
  • Last Updated : 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.

Procedure:

Step-1: (Configuring Router0):

  1. Select a 2911 Router from Network Devices and drag and drop to the workspace.
  2. Select Router0 and Go to Config.
  3. 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
  4. 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):

  1. Select two PC-PT type PCs from End devices and drag and drop to the workspace.
  2. 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
  3. 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
  4. 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):

  1. Select a server from End devices and drag and drop to the workspace.
  2. Go to the global settings in config and assign default gateway as 10.0.0.1
  3. Go to FastEthernet0 and assign IP address and subnet mask as 10.0.0.2, 255.0.0.0
  4. Go to services and open FTP Service.
  5. Go to user setup and create a username and password.
  6. Select all the permissions (Write, Read, Delete, Rename, List) and add the user.

User setup:

Step-4: (Configuring Switch and Making connections):

  1. Select a 2950-24 Switch from the network devices and drag and drop to the workspace.
  2. Connect FastEthernet0 port of PC0 to the FastEthernet0/1 port of switch0 using Copper Straight-Through cable.
  3. Connect FastEthernet0 port of PC1 to the FastEthernet0/2 port of switch0 using Copper Straight-Through cable.
  4. Connect FastEthernet0/3 port of switch0 to the GigabitEthernet0/0 of Router0 using Copper Straight-Through cable.
  5. Connect GigabitEthernet0/1 port of Router0 to the FastEtherner0 of server0 using Copper Straight-Through cable.

Router Configuration Table:

Device Name     IP address GigabitEthernet0/0Subnet MaskIP AddressGigabitEthernet0/1Subnet Mask
2911 Router0              192.168.1.1255.255.255.0                10.0.0.1   255.0.0 0

PC Configuration Table:

Device NameDevice TypeIP address Subnet MaskDefault Gateway
     PC 0   PC-PT192.168.1.2255.255.255.0  192.168.1.1
     PC 1   PC-PT192.168.1.3255.255.255.0   192.168.1.1

Designed Network topology:

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.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!