Skip to content

jskye/docker-cisco-packet-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker :: Cisco Packet Tracer

Author: Loan Lassalle

Cisco Packet Tracer

Packet Tracer is a cross-platform visual simulation tool designed by Cisco Systems that allows users to create network topologies and imitate modern computer networks. The software allows users to simulate the configuration of Cisco routers and switches using a simulated command line interface. Packet Tracer makes use of a drag and drop user interface, allowing users to add and remove simulated network devices as they see fit. The software is mainly focused towards Certified Cisco Network Associate Academy students as an educational tool for helping them learn fundamental CCNA concepts.

Prerequisites

  • macOS High Sierra 10.13.3 or later
  • XQuartz 2.7.11 or later
  • Docker for Mac 17.12.0 or later

How to use

XQuartz

Fisrt of all, you need to run XQuartz application.

open -a XQuartz

In the XQuartz preferences, go to the Security tab and make sure you’ve got Allow connections from network clients ticked.

XQuartz - Allow connections from network clients

After that, you need to run xhost and allow connections from your local machine.

xhost + $(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')

Docker

You can now run Cisco Packet Tracer container.

docker run \
    --env DISPLAY=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}'):0 \
    --detach \
    --name cisco-packet-tracer \
    --privileged \
    --rm \
    --volume /tmp/.X11-unix/:/tmp/.X11-unix/ \
    --volume $HOME/.packettracer:/root/pt \
    avend0black/cisco-packet-tracer

About

Docker GUI App for Cisco Packet Tracer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published