O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

GNS3 Network Simulation Guide

Book Description

From installation through to creating large scale simulations, this is the complete guide to GNS3 that will give you the know-how needed for Cisco certification. For networking professionals, it’s a career-advancing tutorial.

  • Develop your knowledge for Cisco certification (CCNA, CCNP, CCIE), using GNS3
  • Install GNS3 successfully on Windows, Linux, or OS X
  • Work your way through easy- to- follow exercises showing you how to simulate your test network using Cisco routers, Ethernet switches, and Virtual PCs
  • Expand your existing simulations by including PCs running in Qemu or VirtualBox VMs, Cisco ASAs, Juniper routers, and Vyatta routers
  • Increase your networking knowledge by learning how GNS3 orchestrates multiple hypervisors, simulators, and real-world live connections

In Detail

GNS3 is an open-source Graphical Network Simulator used extensively by networking professionals to simulate networking devices such as Cisco, Juniper and Vyatta routers, along with Virtual PCs.

GNS3 Network Simulation Guide gives you all the information you need to run a successful GNS3 simulation. You will be guided through the tricky installation pre-requisites and procedures involved in developing a simulated topology suitable for studying for Cisco CCIE Certification. We will also cover many useful tips and tricks which will help you make the most of your GNS3 simulator application.

You will begin the GNS3 journey by ensuring that you have prepared your computer with any additional files required by GNS3, to set up the simulated environment needed for a successful installation process.

Once GNS3 is installed, you will get to work creating a successful simulation including routers, Ethernet switches, Virtual PCs, and capture packets using Wireshark. Next, you will learn how to master GNS3’s Graphical User Interface as well as the Command Console. The inner workings of GNS3 are described in depth so that you gain an appreciation of how UDP tunnels are used to tie the many components of GNS3 together.

By following the clear examples and exercises in this guide, you will learn everything that you need to know about how to use GNS3 to prepare for certifications, as well as simulate real-world network scenarios.

Table of Contents

  1. GNS3 Network Simulation Guide
    1. Table of Contents
    2. GNS3 Network Simulation Guide
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Errata
        2. Piracy
        3. Questions
    8. 1. Clearing the First Hurdle
      1. Pre-installation tasks and prerequisites
        1. Understanding the GNS3 family of applications
          1. Memory and CPU
        2. Router image files
        3. Downloading GNS3
      2. The installation process
        1. Installing on Windows
        2. Installing on OS X (Macintosh)
        3. Installing on Linux Mint
      3. Post-installation tasks
        1. The setup wizard
      4. Summary
    9. 2. Creating your First GNS3 Simulation
      1. Jumping in the deep end – a basic two-router configuration
      2. Conceptualizing a project
        1. The topology.net file
        2. The configs directory
        3. The working directory
        4. Opening a project
      3. Getting to know the GUI
        1. Tips for managing your workspace
        2. Tips for managing your routers
      4. Using VPCS (Virtual PC Simulator)
      5. Capturing packets with Wireshark
      6. Avoiding the 100 percent CPU utilization problem
        1. Coming to grips with Idle-PC values
      7. Introducing GNS3 generic switches
        1. Ethernet switch
        2. Frame-relay and ATM switches
      8. Summary
    10. 3. Enhancing GNS3
      1. Connecting to physical interfaces
        1. Mini-project – connecting your GNS3 router to your LAN
        2. Why can't my host computer ping my router?
        3. The Microsoft Loopback adapter
        4. The Linux NIO TAP adapter
        5. The OS X TUN/TAP adapter
      2. Adding VLAN support
        1. Generic Ethernet switch
        2. EtherSwitch router
      3. Terminal tips
        1. Using a different terminal application
        2. Using the AUX port
        3. Troubleshooting a device console
      4. Fine-tuning the topology – adding graphics and text
      5. Accessing GNS3 running on a remote machine
        1. Accessing a device console remotely
        2. Linking GNS3 topologies on different hosts
      6. Summary
    11. 4. Unleashing Other Emulators
      1. The Qemu emulator
        1. Adding Qemu support
          1. Linux
          2. Qemu preferences
        2. Microcore Linux using Qemu
        3. Adding ASA firewalls
        4. Adding Juniper routers (Junos)
      2. The VirtualBox emulator
        1. Adding VirtualBox support
        2. A Windows PC on Oracle VirtualBox
        3. A Linux PC on VirtualBox
        4. Adding a Vyatta router using VirtualBox
      3. Summary
    12. 5. The Cisco Connection
      1. Cisco routers – emulated hardware
      2. Cisco IOS
        1. Platform
        2. Feature set
        3. Memory location and compression format
        4. Train number
        5. Maintenance release
        6. Train identifier
        7. RAM requirements and the feature navigator
      3. Summary
    13. 6. Peeking under the GNS3 Hood
      1. Understanding the topology.net file
      2. Say hello to the hypervisor
      3. The GNS3 orchestra
        1. UDP tunnel concept
        2. Conducting Qemu and VirtualBox
      4. Debugging using the GNS3 management console
      5. Summary
    14. 7. Tips for Teachers, Troubleshooters, and Team Leaders
      1. Packaging your projects
        1. Adding instructions
        2. Managing snapshots
      2. Using remote hypervisors
        1. Remote hypervisor tutorial
          1. Preparing the remote servers
          2. Preparing the host computer
          3. Load balancing across multiple hypervisors
          4. Using your local GNS3 host as a hypervisor
          5. Building the topology
          6. Choosing the right platform
        2. Using VPCS with remote hypervisors
      3. Running GNS3 in a virtual machine
        1. The GNS3 WorkBench solution
      4. GNS3 Limitations
        1. Ethernet interfaces are always up
        2. Cisco router support
        3. Host PC communication in a virtual machine environment
      5. Getting more help
        1. Official websites for all the GNS3 suite of programs
        2. Other helpful online resources
      6. Summary
    15. Index