Sunteți pe pagina 1din 20

Enrollment no: 201803100920023

Practical 1
Aim: Perform a practical to install cisco packet tracer and study all its controls
and components.
1. First, navigate to the ~/Downloads directory of your Ubuntu 18.04 LTS machine with
the following command:

As you can see, Packet Tracer archive is available here.

2. Now make a new directory (Let’s call it PT72Installer) to extract the installer from the
Packer Tracer archive you just downloaded.

$ mkdir PT72Installer

3. Now extract the Packet Tracer archive with the following command:

$ sudo tar xvzf 'Packet Tracer 7.2 for Linux 64 bit.tar.gz' -C PT72Installer

All the files are extracted to PT72Installer directory.

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

4. Now navigate to the PT72Installer/ directory with the following command:

$ cd PT72Installer

5. Now start the installer with the following command:

$ ./install

6. Now press <Enter>.

Press <Enter> a few more times.

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

7. At the end of the License agreement, press y and then press <Enter>.

8. Leave the default and press <Enter>.

9. Press y and then press <Enter>.

10. Press y and then press <Enter> to continue.

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

11. Packet Tracer 7.2 should be installed.

12. Now restart your computer with the following command:

$ sudo reboot

Once your computer starts, navigate to the Packet Tracker directory /opt/pt/bin with the
following command:

$ cd /opt/pt/bin

Now if you try to start Packet Tracer, you should see the following error. It means,
libpng12.so.0 library file is not available in your computer. The library file is not available in
the Ubuntu 18.04 LTS package repository as well. But you can download and install the
library package from Debian Jessie package repository. It should solve our problem.

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

13. First, navigate to the /tmp directory with the following command:

$ cd /tmp

To download the libpng12-0 library package from Debian Jessie package repository, run the
following command:

$ wget http://ftp.us.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.50-2+

deb8u3_amd64.deb

libpng12-0 should be downloaded.

14. Now, install libpng12-0 with the following command:

$ sudo dpkg -i libpng12-0_1.2.50-2+deb8u3_amd64.deb

libpng12-0 should be installed.

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

15. Now go back to the Packet Tracer directory (/opt/pt/bin) with the following
command:

$ cd /opt/pt/bin

If you try to run Packet Tracer, you may still get some errors! The required Qt libraries are
not installed.

To install all the required Qt libraries, run the following command:

$ sudo apt update && sudo apt install libqt5webkit5 libqt5multimediawidgets5

libqt5svg5 libqt5script5 libqt5scripttools5 libqt5sql5

16. Now press y and then press <Enter>.

The Qt libraries should be installed.

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

17. Now try to run Packet Tracer again.

$ ./PacketTracer7

We got a prompt! Click on OK.

18. Now you should see the following window. Login to your Cisco Network Academy
account.

Packet Tracer 7.2 should start.

1. Click on the device types


2. Click on Router.
3. Select Cisco 2911 router then Click on the white workspace. So a router will be
placed on the work-space.

Do the same thing again to place the 2nd router

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

Now select Switch from the device inventory: Select switch and then select 2960 switch
from right side device list . Then Click on the workspace. Do it 2 times.

Now Select 2 Desktop PC: Select End user list. Select PC from the right side device
list.Now click on workspace. Do this 2 times.

Cable Connection: Go to the cable option. Select cables, select Auto cable first.

Auto Cable Connection: Now after selecting auto cable click on the left router first. The
cable will be automatically connected. Then move the mouse cursor to the 2nd router and
click on it. Cable will be automatically connected.

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

Manual Cable connection: to perform this step please select appropriate cable like for same
type of devices use cross cable and for different type of cable use straight cable. Here for
switch to router connection we will use straight cable..

1. Select Straight cable


2. Click on the router > select interface G0/1
3. Click on the selection.
4. Then move your mouse cursor/pointer to the switch and click on the switch
5. Select interface G0/1 and click on it.
6. So cable will be connected.

Perform these steps to connect the remaining cabling

Save the file: Click on File>Click on Save as >Select a location in your HDD> Provide a File
name> Click on Save.

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

So after completing everything our topology will look like this :

Note: The Red Circle confirms that the link is inactive. The Green circle indicates that the
link is active.

Now if you don’t see the interface number lebels on the link then do as following:

1. Click on Option> preference


2. Enable the “Always show port lebels….”

 You may also enable or disable the “Show device model lebel” and “Show device
name lebel”

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

Now for any new change save the file again.

1. Click on File>Save

Now Starting Configuring a Device:

To start configuring a device click on the device:

For Router or Switch : Click on the CLI to get the Command Line Interface(CLI)

For Desktop or LAPTOP: Click on the Desktop. from there you will find your necessary
options.

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

Thats all for today, lets cook some typologies and practice to enhance the skills

Lets practice some configuration , to do that please check Network Fundamental Page. To go
there click on the link below :

In the packet tracer simulator there are some sample configurations for practice purpose. you
can also open those configuration to practice some tasks if you want to. to do this do the
following:

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

Step1: GO to File Menu>Open Samples

Step2: Select The sample from the folders

Step3: Click on Open.

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

Practical 2
Aim: Create a topology in cisco packet tracer to understand the working of all
the networking devices and networking media. Create star, mesh, ring and bus
topologies in cisco packet tracer and understand its working.

1. Stare Topologu

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

2. Mesh topology.

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

3. Ring Topology:

4. Bus Topology:

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

Practical 3
Aim:
a. Perform a practical to demonstrate ping, arp and route command in linux operating system.
b. Perform a practical to demonstrate basic CLI of router in cisco packet tracer.

1. Ping Command

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

2. Arp command:

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

3. Rout Command:

CGPIT/CE/SEM-5/Computer Networking
Enrollment no: 201803100920023

b.)Basic CLI of router in cisco packet tracer

Router>en
Router>enable
Router#conf
Router#configure ter
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ho
Router(config)#hostname Dixit
Dixit(config)#inter
Dixit(config)#interface giga
Dixit(config)#interface gigabitEthernet 0/0
Dixit(config-if)#ip address 192.168.1.1 255.255.255.0
Dixit(config-if)#no sh
Dixit(config-if)#no shutdown
Dixit(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Dixit(config-if)#interface gigabitEthernet 0/1
Dixit(config-if)#ip address 192.168.1.2 255.255.255.0
% 192.168.1.0 overlaps with GigabitEthernet0/0
Dixit(config-if)#ip address 192.168.2.2 255.255.255.0
Dixit(config-if)#no shutdown
Dixit(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up

CGPIT/CE/SEM-5/Computer Networking

S-ar putea să vă placă și