Setting up GNS3 1.1 on Ubuntu

gns3_logo
It's only been a week since GNS3 1.0 was released and it's already been updated to 1.1 so in this post I have Ubuntu 14.04 LTS with the latest updates and its time to set up GNS3. GNS3 is an open source tool that helps network professionals run a virtual network right on their computer, GNS3 is not a simulation program but rather an emulation program. So if you wanted to test a configuration change but did not want to run it on production you can run it in GNS3 instead.  This gives network professionals testing without touching any physical hardware or purchasing that expensive test lab for certification studies. Let's get started. Like I mentioned I have Ubuntu 14.04 LTS and installing GNS3 in Linux can be a little difficult if you are just not that familiar with it. I'm giving credit to Chris Welsh as he wrote out a nice script that installs everything you need to get started using GSN3, so installing it's pretty easy. Check out the post on GNS3 Jungle: Installing GNS3v1 on Linux. Follow those instructions and you should have GNS3 shortly. Once installed you need to have router images handy or router platforms that can run in VirtualBox like the CSR 1000v, remember GNS3 is the framework or 'glue' that makes running these images possible as well as connecting them together to form a virtual network. If you have Cisco router images handy you can run them in GNS3 now, check out the compatibility list here: Hardware emulated by GNS3. It also worth noting that most of these images are older and are end of life from Cisco's perspective. You must bring your own Cisco router images to run into GNS3.To be organized you should create some folders that store IOS images, If you installed GNS3 with Chris's script it created some folders in your home drive, GNS3->Images->IOS store your router image in that folder. To import a Cisco router image into GNS3: Edit->Preferences, a new window opens. Go to Dynamips, select the down arrow, IOS routers and select new.
GNS3-1.1-Dyn
A new window opens, browse to your router image, click next.
GNS3-1.1-2E
Verify the platform and name if you want, (I'm just accepting the defaults) and select next.
GNS3-1.1-3E
Verify what the image needs for RAM, following the link to Check minimum requirements., select next.
GNS3-1.1-4E
Choose what network adapters you want on the router, this could vary depending on what you are testing, select next.
GNS3-1.1-5E
Choose what WIC modules you want if any, again this could vary depending on what you are testing, select next.
GNS3-1.1-6E
Choose and Idle-PC value if you know one, if not select Finish. You can have GNS3 calculate a valid value when the image is running by right-click Idle-PC (I tried to have it find one from the wizard but it error out. Checked the bug report of GNS3 and its a know issue)
GNS3-1.1-7E
Close out of the Preferences Window by selecting Apply followed by Ok to save changes.
GNS3-1.1-8E
You now have loaded a Cisco Router into GNS3!
GNS3-1.1-9E

EDIT: 11/10/2014 - If you are on Windows use the following steps below to configure IOU. Linux users if you used Chris's script IOU is already installed without the need of VirtualBox/VMware see the following comment.

Comments:

Ryan -

Hey Anubisg1, So for some reason I did not even think about using IOU natively even though its installed by Chris's script.... Thanks for pointing that out. The steps above work for Windows for reference on the Ubuntu you need to do the following before to get IOU working, if not you will get the following error "32-bit binary support is probably not installed" sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 libstdc++6:i386 sudo apt-get install libssl1.0.0:i386 sudo ln -s /lib/i386-linux-gnu/libcrypto.so.1.0.0 /lib/i386-linux-gnu/libcrypto.so.4 Reference: http://forum.gns3.net/post34810.html#p34810


#### [anubisg1](http://journey4ccie.wordpress.com "andrea@opensuse.org") -

You are running gns3 on Linux, why are bothering to use an external virtual machine to run IOU? You just waste resources. Run IOU natively on your Linux. The virtual machine is obviously required, only if you are running gns3 on Windows