I only use SuperPutty with GNS3, here is how.
- GNS3 as of 1.5.2 doesn’t include the latest version so download it from here:
- Start SuperPutty which will present you with the configuration options. Set the following:
- YOU MUST USE THE PUTTY PROVIDED WITH GNS3. If you don’t, you’ll receive errors “unknown option -wt” when opening consoles with SuperPutty from GNS3
- putty.exe location (Required): C:\Program Files\GNS3\putty.exe
- Or where-ever GNS3 is installed
- Click the “Advanced: tab > Check off “Only allow single instance of SuperPutty to run”
- Set the other options however you like
- Open up Preferences in GNS3 > General > Console applications tab
- Change the console application for telnet and serial to use SuperPutty
- If you want to use keep the same color scheme that is used by the regular Putty console, add “-gns3 5 -skin 4” at the end i.e.
- c:\dropbox\apps\superputty\SuperPutty.exe -telnet “%h -P %p -wt \”%d\” -gns3 5 -skin 4″
This install is intended for running IOU/IOL images on the GNS3 VM because it is the preferable way of running IOS in GNS3 now.
- Install VMware Workstation Player
- Install VMware VIX API
- Install Wireshark
Install WinPCAP provided by Wireshark
- Install GNS3
- Install only the following components:
- We don’t need Dynamips/QEMU/VPCS/Cpulimit because we’ll be running everything off of the GNS3 VM server. We don’t install SuperPutty from here because its not the latest version and the first thing it does when you open it is bug you about upgrading to the latest version. There are setup instructions for it below.
Install Loopback Adapter
- Open an Admin Command Prompt
cd “c:\Program Files\gns3”
- Install a new Loopback interface (reboot required)
- Rename the new Loopback adapter to “Loopback”
- Assign it an IP address
Setup GNS3 VM:
- Download the GNS3 VM version that matches the installed GNS3 version
- Import the VM and keep the defaults
- Add a 3rd Network Adapter that will be in Bridged mode and connected to the Loopback adapter (Microsoft KM-TEST Loopback Adapter)
- Power on the VM
- SSH into the VM using gns3/gns3 for the credentials
- Sudo to root and run the following:
- echo ‘127.0.0.127 xml.cisco.com’ >> /etc/hosts
- Leave the VM powered on, we’re done with it for now
- Open an Administrator command prompt
- cd into the GNS3 install directory and run the following:
- IMPORTANT: On my work laptop, added the additional interfaces broke network connectivity to the VM after they were added. I have no idea why but after I reinstalled VMware Workstation which uninstalled all the adapters, I was able to connect to the VM again. On the work laptop, I’m running without the additional adapters and it seems fine so far.
- Select option 1 which will add the vmnet interface 2 to 19 (this can take a while, please be patient)
- If it looks like this process has hung, you follow step 2 in the url below to add the adapters
Configure GNS3 to use the GNS3 VM server:
- Open up GNS3
- Goto Edit > Preferences
Be sure to leave “Start VM in headless mode” unchecked. I ran into issues where the VM would not automatically startup when opening GNS3 and also cause the GNS3 process to linger when closing out of it.
Disable “Use of the local server” for Dynamips and QEMU. We’ll use the GNS3 VM instead for running those processes.
Create the L2/L3 IOU Devices:
- Goto Edit > Preferences
- Set the iourc file to use with the license (IOU devices need a license to run)
- Create the L2 image:
- Create the L3 image:
Add Device Image
New appliance template > Add and IOU > Run the IOU > New Image > Browse
i86bi-linux-l2-ipbasek9-15.1e.bin – IOU-L2
i86bi-linux-l3-adventerprisek9-15.4.2T.bin – IOU-L3
- Sometimes a restart of all the routers/switches are required when new links are created between devices. Even though the line protocols show as up, I’ve found a restart is required for traffic to actually pass through them.
If you want to use SuperPutty as the SSH client for GNS3 click this link:
SuperPutty with GNS3