Cisco Packet Tracer installed in Linux

Source: Internet
Author: User
Tags netacad

What is Cisco Packet tracer?

The Cisco Packet Tracer is a powerful network simulation tool for training in Cisco certifications. It gives us a good view of the interfaces of each router and network device, with many options, and we can use unlimited devices in the network just like with physical machines. We can create multiple networks in a single project for specialized training. Packet Tracer will provide us with simulated application layer protocols such as HTTP,DNS, and routing protocols like RIP,OSPF,EIGRP , etc.

It now publishes a version containing the ASA 5505 Firewall command-line configuration. Packet Tracer is typically used for Windows versions, but not for Linux versions. Here, we can download and install the Cisco Packet Tracer.

Newly released Cisco Packet Tracer version:

The next-generation Cisco Packet Tracer version will be Cisco Packet Tracer 6.2, which is currently in development.

My environment settings:

Host name : desktop1.unixmen.com

IP address : 192.168.0.167

operating system : Ubuntu 14.04 LTS Desktop

    1. # hostname
    2. # ifconfig | grep inet
    3. # lsb_release -a

Step 1: First, we need to download the Cisco Packet Tracer.

To download Packet Tracer from the official website, we need to hold a token, log in to Cisco Netspace, and then select CCNA > Cisco Packet Tracer from the offering menu to start the download. If we don't have a token, we can get it from the link below and I've uploaded it to droppox.

Official site: https://www.netacad.com/

Most people don't download packet Tracer tokens, and for that reason I've uploaded it to Dropbox and you can get packet Tracer from the URL below.

Download Cisco Packet Tracer 6.1.1

Step 2: Install Java:

To install packet Tracer, we need to install Java. We can install Java using the default repository, or add a PPA repository and update the package cache to install Java.

Use the following command to install the default JRE

    1. # sudo apt-get install default-jre

Or

Use the following steps to install the Java Run-time and set up the environment.

Download Java from the official site: Download java

    1. # tar -zxvf jre-8u31-linux-x64.tar.gz
    2. # sudo mkdir -p /usr/lib/jvm
    3. # sudo mv -v jre1.8.0_31 /usr/lib/jvm/
    4. # cd /usr/lib/jvm/
    5. # sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jre1.8.0_31/bin/java" 1
    6. # sudo update-alternatives --set "java" "/usr/lib/jvm/jre1.8.0_31/bin/java"

Set up the Java environment by editing the user parameter file and add path-related parameters. When we add the user parameter file, every user on our machine can use Java.

    1. # sudo vi /etc/profile

Add the following entry to the/etc/profile file:

    1. export JAVA_HOME=/usr/lib/jvm/jre1.8.0_31
    2. export PATH=$PATH:/usr/java/jre1.8.0_31/bin

Run the following command to activate the Java path immediately.

    1. # . /etc/profile

Check the Java version and environment:

    1. # echo $JAVA_HOME
    2. # java -version

Step 3: Enable 32-bit architecture support:

For packet Tracer, we need some 32-bit packages. To install a 32-bit package, we need to install some dependencies using the following command.

    1. # sudo dpkg --add-architecture i386
    2. # sudo apt-get update

    1. # sudo apt-get install libc6:i386
    2. # sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
    3. # sudo apt-get install libnss3-1d:i386 libqt4-qt3support:i386 libssl1.0.0:i386 libqtwebkit4:i386 libqt4-scripttools:i386

Step 4: Unzip and install the package:

Use the TAR command to unzip the downloaded package.

    1. # mv Cisco\ Packet\ Tracer\ 6.1.1\ Linux.tar.gz\?dl\=0 Cisco_Packet_tracer.tar.gz
    2. # tar -zxvf Cisco_Packet_tracer.tar.gz

Navigate to the extracted directory

    1. # cd PacketTracer611Student

Now it's time to start installing. The installation process is simple and can be done in seconds.

    1. # sudo ./install

To work with Packet Tracer, we need to set up the environment, Cisco has provided the environment script, we need to run the script as the root user to set the environment variables.

    1. # sudo ./set_ptenv.sh

Install to this end. Next, we need to create a desktop icon for packet Tracer.

Create a desktop icon by creating the following desktop file.

    1. # sudo su
    2. # cd /usr/share/applications
    3. # sudo vim packettracer.desktop

Use the Vim editor or your favorite editor to add the following to the file.

  1. [Desktop Entry]
  2. Name= Packettracer
  3. Comment=Networking
  4. GenericName=Cisco Packettracer
  5. Exec=/opt/packettracer/packettracer
  6. Icon=/usr/share/icons/packettracer.jpeg
  7. StartupNotify=true
  8. Terminal=false
  9. Type=Application

Use wq! to save and exit vim.

Step 5: Run packet Tracer
    1. # sudo packettracer

Well, we've successfully installed the packet tracer into Linux. The above installation steps apply to all Debian-based Linux distributions.

Resources

Home: Netacad

Cisco Packet Tracer installed in Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.