You are previewing The Book of GNS3.
O'Reilly logo
The Book of GNS3

Book Description

The Book of GNS3 shows network engineers and systems administrators how to simulate network connections and troubleshoot potential network problems, all using only a single computer.

Table of Contents

  1. The Book of GNS3: Build Virtual Network Labs Using Cisco, Juniper, and More
  2. Table of Contents
  3. Foreword
  4. Acknowledgments
  5. Introduction
    1. Who This Book Is For
    2. What’s in This Book
      1. My Approach
      2. Book Overview
  6. 1. Introducing GNS3
    1. Why Use GNS3?
      1. Emulated Hardware
      2. Simulated Operating Systems
      3. Scalability with the GNS3 Server
      4. Virtual Connectivity
    2. Open Source Integration
      1. The Dynamips Hypervisor
      2. QEMU and VirtualBox
    3. A Few Limitations
      1. Some Assembly Required
      2. Limited Emulation
      3. Hamstrung Network Performance
    4. Final Thoughts
  7. 2. Installing a Basic GNS3 System
    1. General Requirements
    2. Installing on Microsoft Windows
    3. Installing on OS X
    4. Installing on Ubuntu Linux
      1. Installing GNS3 from Packages
      2. Installing GNS3 from Source Code
        1. Extracting the Source Code
        2. Updating the Package Manager
        3. Installing Dependencies
        4. Installing Dynamips
        5. Installing the GNS3 Server and GUI
    5. GNS3 Appliances
      1. A Few Pros and Cons
      2. GNS3 WorkBench
      3. Installing GNS3 WorkBench
    6. Final Thoughts
  8. 3. Configuration
    1. Acquiring an IOS Image
    2. Setting Up Your First IOS Router
      1. Configuring Dynamips
      2. Adding IOS Images to GNS3
      3. Setting a Manual Idle-PC Value
    3. Final Thoughts
  9. 4. Creating and Managing Projects
    1. Project Management Overview
      1. Terminology
      2. Screen Layout
    2. Using the GNS3 Toolbar
      1. First Toolbar Group
      2. Second Toolbar Group
      3. Third Toolbar Group
      4. Fourth Toolbar Group
    3. Using the Devices Toolbar
    4. Creating Your First Project
      1. Working with Routers
      2. Creating Links Between Your Routers
      3. Configuring Virtual Hardware
      4. Starting, Stopping, and Pausing Routers
      5. Logging On to Routers
    5. Ethernet Switch Nodes
    6. Changing Symbols and Organizing Your Devices
    7. Final Thoughts
  10. 5. Integrating Hosts and Using Wireshark
    1. Virtual PC Simulator
      1. Installing VPCS
      2. VPCS Commands
      3. VPCS IP Addressing
    2. VirtualBox
      1. Installing on Windows
      2. Installing on OS X
      3. Installing on Linux
      4. Importing Appliances
      5. VirtualBox Preferences
      6. VirtualBox Virtual Machine Settings
      7. Using VirtualBox Hosts in a Project
      8. Linking VirtualBox Host Nodes to Other Devices
      9. Simple VirtualBox Project Using a Linux Virtual Machine
    3. Wireshark
      1. Installing on Windows
      2. Installing on OS X
      3. Installing on Linux
      4. Capturing Packets in GNS3
    4. Final Thoughts
  11. 6. Juniper Olive and VSRX Firefly
    1. Installing QEMU on Windows and OS X
    2. Installing QEMU on Linux
    3. Introducing Juniper
    4. Installing Juniper
      1. Process Overview
      2. Acquiring FreeBSD
      3. Acquiring Juniper Olive Software
    5. Creating a Juniper Olive CD Image File
      1. Creating an ISO in Windows
      2. Creating an ISO in OS X
      3. Creating an ISO in Linux
    6. Installing and Configuring FreeBSD Using QEMU
      1. Preparing Your Build Directory
      2. Installing a Junos-Friendly FreeBSD System
        1. Preliminary Checks for Windows and OS X
        2. Getting Started
        3. Partitioning the Filesystem
        4. Finishing Installation of FreeBSD
    7. Installing the Juniper Olive Package in FreeBSD
      1. Getting Your Olive Up and Running
      2. Backing Up Juniper Olive
    8. Configuring a Juniper Router in GNS3
      1. Adding the Juniper Virtual Machine to GNS3
      2. Adding Ethernet Interfaces
    9. Testing a Juniper Router
    10. Running Juniper vSRX Firefly
      1. Creating a Firefly Virtual Machine with VirtualBox
      2. Giving Your Virtual Machine More Processors
      3. Adding vSRX Firefly to GNS3
      4. Creating a Project with a Zone-Based Firewall
    11. Final Thoughts
  12. 7. Device Nodes, Live Switches, and the Internet
    1. Built-in Device Nodes
    2. Node Configurator
    3. Ethernet Hub
    4. EtherSwitch Router
    5. Frame Relay Switch
      1. Simple Frame Relay Hub and Spoke Configuration
      2. Creating a Frame Relay Switch Using IOS
    6. ATM Switch
    7. Cloud Nodes
    8. Connecting GNS3 Devices to Physical Hardware
      1. Dynamips Permissions
      2. Preparing Your PC for a Bridge
      3. Using a Loopback Adapter on Windows
      4. TUN/TAP Drivers on OS X
      5. TUN/TAP Drivers on Ubuntu Linux
    9. Connecting to Live Switches
      1. Configuring a Standard 802.1Q Trunk
      2. Creating the Elusive Breakout Switch
      3. Optional Breakout Switch Configuration
      4. Using Multiple Adapters in Your PC
    10. Connecting GNS3 Devices to the Internet
      1. Configuring Windows
      2. Configuring Unix-Based Systems
      3. Creating a Simple Network
    11. Final Thoughts
  13. 8. Cisco ASA, IDS/IPS, and IOS-XRv
    1. Cisco Configuration Professional
      1. Project Configuration
      2. CCP Installation
      3. Running CCP
    2. Cisco ASA Firewall
      1. Acquiring an Image
      2. Prepping the ASA Image for GNS3
      3. Configuring GNS3 for ASA
      4. Testing an ASA in GNS3
    3. ASDM Installation
    4. Cisco IDS/IPS
      1. Acquiring an IDS/IPS Image
      2. Creating a QEMU-Ready IDS/IPS System
      3. Hijacking the Hardware
      4. Testing IDS/IPS (or Patience Is a Virtue)
      5. Configuring GNS3 for IDS/IPS
      6. Verifying IDS/IPS in GNS3
    5. Cisco IOS-XRv
      1. Configuring GNS3 for IOS-XRv
      2. Creating a Simple IOS-XR Project
        1. Configuring the Router
        2. Configuring the IOS-XR Device
    6. Final Thoughts
  14. 9. Cisco IOS On UNIX and NX-OSv
    1. Cisco IOU
      1. What IOU Means to GNS3
      2. Switching, Switching, and More Switching!
      3. IOU Images
      4. Things to Know Before Installing IOU
    2. Setting Up IOU on a Linux PC
      1. Installing IOU
      2. Creating a License File
      3. Configuring GNS3
    3. Using the GNS3 IOU Virtual Machine on Windows and OS X
      1. Importing the GNS3 IOU Virtual Machine into VirtualBox
      2. Uploading IOU Image Files
      3. Configuring GNS3 for IOU
      4. IOU in Action
    4. NX-OSv
      1. Importing NX-OSv into VirtualBox
      2. Configuring GNS3 for NX-OSv
      3. NX-OSv in Action
    5. Final Thoughts
  15. 10. Cool Things To Do on a Rainy Day
    1. Managing Devices from an Access Server
      1. Installing the Virtual Interface
        1. Configuring a Loopback Adapter in Windows
        2. Configuring a TAP Adapter in Linux
      2. Preparing the GNS3 Server
      3. Creating a Virtual Access Server in GNS3
        1. Configuring the Cloud Node
        2. Configuring the Access Server Router
      4. Configuring a Cisco IP Hostname Table
      5. Seeing the Virtual Access Server in Action
        1. Opening Consoles
        2. Closing Consoles
        3. Setting Connection Timeouts
    2. Deploying Configurations to Real Hardware
      1. Exporting GNS3 Configurations to Cisco Routers
      2. Importing Cisco Router Configurations into GNS3
    3. Copying GNS3 Projects Between Platforms
      1. IOS-Only Projects
      2. Projects with IOU Devices
      3. Projects with VirtualBox Devices
    4. Exploring the GNS3 Console
    5. Creating Projects Using Multiple PCs
      1. A Dynamips Client/Server Setup
        1. Preparing Your Workstations
        2. Running gns3server
        3. Configuring the Client
      2. Creating a GNS3 Uberlab
    6. Nerdy Labs for Fun and Profit
      1. Preparing for Cisco Exams
      2. Securing Your Networks
        1. The “Hack My Rack” Challenge
        2. Creating Cisco VPNs
      3. Practicing Real-World Scenarios
        1. Cisco Switch Block Design
        2. Multihomed Networks
        3. Multiple Vendor Integration
        4. Use Everything, Including the “Kitchen Sink”
        5. How Many Routers Does It Take to Blow Out a Lightbulb?
        6. Routers Gone Rogue
    7. Final Thoughts
  16. A. Help! I’ve Fallen and I can’t Get Up
    1. Identifying the Problem
    2. Sudden Problems
      1. Stopping Dynamips Crashes
      2. When IOS Images Fail to Load
      3. Resolving IOS Memory Errors
      4. Resolving NIO Errors
      5. Correcting Console Problems
    3. Feature Problems
      1. Configuration Issues
      2. Using Unsupported IOS Images
    4. The Nuclear Option
    5. Overburdened Hardware
    6. Resolving Port Number Conflicts
    7. Troubleshooting an ASA
    8. Conserving Resources
      1. Select Devices Carefully
      2. Optimize Idle-PC Values
    9. Backing Up Your Projects
    10. Welcome to the Jungle
    11. Final Thoughts
  17. B. Cisco Hardware Compatible with GNS3
    1. Supported Cisco Hardware
    2. IOS Compatibility
  18. C. NM-16ESW and IOU L2 Limitations
    1. Unsupported NM-16ESW Features
    2. Unsupported Features in Cisco IOU L2 Images
  19. Glossary
  20. Resources
  21. About the Author
  22. Index
  23. Copyright