Showing posts with label Dynamips. Show all posts
Showing posts with label Dynamips. Show all posts

Pemu – Pix Emulator with GNS3

Posted by Ahsan Tasneem | 11:20 PM | , , , , , , | 0 comments »

The guys at GNS3.net have done it again! They just released version .04 of their incredible network emulation software. There are lots of new features including Pemu integration, c1700 and WICs Support and Project feature (you can keep router configs, nvram …).
Here is a full list of the new features:
  • A dynamic mode (no design/emulation modes)
  • A new .net save/load.
  • c1700 and WICS support.
  • PIX emulation.
  • Dynamips’s ATM bridge.
  • Capture feature for links from the GUI.
  • IDLE PC calculation from the GUI.
  • GUI improvements (save the window state when closing GNS3 …)
  • Annotation feature.
  • Project feature (you can keep router configs, nvram …)
  • NULL NIO support.
  • PDF export.
  • New languages.
I'll be posting more on this, keep following @ahsantasneem. Do let me know if you face any problem.

How To - Connect GNS3 to the internet in MacOSX

Posted by Ahsan Tasneem | 11:14 PM | , , , | 1 comments »

We have issued tutorials for connecting Windows or Linux to a physical network using gns3, but apparently, there is a little difference for MacOSX.  I recently received an email from one of our readers, Ivan Pletenev. Ivandescribes how to connect GNS3 to internet through wifi-interface in MacOSX. You will find his writeup below. Thanks Ivan!
To set up this connection we need to do 2 things:

  1. Connect MacOSX and GNS3 through loopback-interface
  2. Set up NAT in MacOSX

How To - Make a DMG package from GNS3

Posted by Ahsan Tasneem | 9:50 PM | , , , , , , | 0 comments »


This step-by-step procedure will show you how to make a DMG package from the GNS3 source code. I’ve built the package on Mac OS X Snow Leopard and used Py2app to make a Mac OS X application. Also, have a look at this article that really helped me.
This procedure worked for me, please let me know if you encounter any issue and I’ll update it. Also, please tell me if you can make it work on Mac OS X Leopard (10.5.x).

How To - Run GNS3 on Mac OS X

Posted by Ahsan Tasneem | 9:46 PM | , , , , , , , , , , | 2 comments »

Here are instructions to run GNS3 from the sources (not the standalone compiled DMG version) on your favorite operating system. You will have to install or compile dependencies like Qt, Sip and PyQt. This will allow you to use the latest development version of GNS3 that you can download from http://code.gns3.net.

Method 1

  • Install the Apple Devs Tools (on your Mac OS X DVD or download it on ADC account). Run and install XcodeTools.mpkg.
  • Download SIP, open a terminal and go in the folder where you downloaded the tar file and compile using the following commands (example for SIP 4.9.3):

How To: Emulate Cisco ASA in GNS3

Posted by Ahsan Tasneem | 11:21 PM | , , , , , , | 0 comments »

In this article, I will show you how to emulate Cisco ASA using Qemu. Once again, please note that ASA is not provided and will not be. So please don’t ask. Also be aware that ASA does not 100% work in Qemu but that’s enough to play with it.
Installation
First compile and patch Qemu as you would do for running JunOS. This will give us pcap, lcap and UDP tunnels (i.e. GNS3/Dynamips connections) capabilities.
Then obtain ASA itself. If you are smart and patient you will find it. I used asa802-k8.bin for my installations. As far as I know, nobody has been able to run ASA > version 8.2 (ASA keeps rebooting).
The next step is to get an initrd and a Linux kernel (inside the initrd) from your ASA image to use them with Qemu and also fix the initrd for our needs. The initrd is zipped and archived in the ASA image, we have to extract it.
There are 2 ways, manually or using a tool I created.

How To - Step By Step Installation of JunOS on GNS3 [Part 4]

Posted by Ahsan Tasneem | 11:08 PM | , , , , , , , , , , , , , , , , , , | 0 comments »


Testing

To check if everything work, let’s configure 2 Olives:
root@%cli
root>edit
[edit]
root#

[edit]
root#set system root-authentication plain-text-password
New password:
Retype new password:

[edit]
root#set interfaces em0 unit 0 family inet address 10.0.0.1/8
[edit]
root#commit
commit complete
Configure the other device using the same commands but with another IP address (e.g. 10.0.0.2/8) and ping.

How To - Step By Step Installation of JunOS on GNS3 [Part 3]

Posted by Ahsan Tasneem | 11:06 PM | , , , , , , , , , , , , , , , , , , | 1 comments »

Updating JunOS
You can update your version of JunOS from the CLI with the following command:

request system software add [jinstall_package]

Running your router(s)
Now you have a base olive image. Qemu allows you to use this as a base for other images and only writing the changes to your “slave” images saving on disk space! You can also use less memory for each Qemu instance.
Create a new image off of your base image. Repeat for all your routers you want to emulate:

qemu-img create
-b olive-base.img -f qcow2 R1.img

Start your router and then telnet to it:
2001 Once logged in, you can type “cli” to launch the JunOS command line interpreter, exit to … exit and halt to shutdown FreeBSD. Remember to kill your qemu instance(s).
qemu R1.img -m 96 -nographic -daemonize -serial telnet::2001,server,nowait \
-localtime -net nic,macaddr=00:aa:00:60:01:01,model=e1000 -net user telnet localhost


Step By Step - Installation, Configuration & Usage Guide of GNS3

Posted by Ahsan Tasneem | 2:15 AM | , , , , , | 0 comments »

Installation of GNS3








  1. File download
  2. The file is downloaded from http://www.gns3.net/
    Because all necessary things are packaged, this is recommended for Windows in "win32-all-in-one.exe".


GNS3 Installation Hypervisor Load Balancing - 2

Posted by Ahsan Tasneem | 1:32 AM | , , , , , , , | 0 comments »

PART 7: START GNS3 ON THE SERVER AND CREATE SIMPLE TOPOLOGY




GNS3 Installation Hypervisor Load Balancing - 1

Posted by Ahsan Tasneem | 2:16 AM | , , , , , , , | 0 comments »

THIS PROCEDURE MADE UP WITHIN MULTIPLE PARTS:

1. Directory structure 2. GNS3 configurations
3. Configure Hypervisor
4. Edit Dynamips on the client
5. Edit Dynamips on the Server
6. Start Dynamips on SVR and Client
7. Start GNS3 and create simple topology


Related Posts Plugin for WordPress, Blogger...