[c-nsp] GNS3 Multiple Instances

Mohammad Khalil eng_mssk at hotmail.com
Mon Aug 6 19:18:22 EDT 2012


Hi all , i copied the file twice other than the two files
The first file

autostart = False
[localhost:7201]
    workingdir = working
    udp = 10201
    [[3725]]
        disk0 = 64
        image = /root/Desktop/INE/c3725-adventerprisek9-mz.124-18.bin
        ram = 128
        ghostios = True
        sparsemem = True
    [[ROUTER R1]]
        model = 3725
        console = 2001
        cnfg = R1.cfg
        f0/0 = R2 f0/0
    [[ROUTER R2]]
        model = 3725
        console = 2002
        cnfg = R2.cfg
        f0/0 = R1 f0/0
[GNS3-DATA]
    configs = initial.configs
    workdir = working

The second file

autostart = False
[localhost:7202]
    workingdir = working
    udp = 10201
    [[3725]]
        disk0 = 64
        image = /root/Desktop/INE/c3725-adventerprisek9-mz.124-18.bin
        ram = 128
        ghostios = True
        sparsemem = True
    [[ROUTER R3]]
        model = 3725
        console = 2003
        cnfg = R3.cfg
        f0/0 = R4 f0/0
    [[ROUTER R4]]
        model = 3725
        console = 2004
        cnfg = R4.cfg
        f0/0 = R3 f0/0
[GNS3-DATA]
    configs = initial.configs
    workdir = working

And still did not work

BR,
Mohammad
Date: Mon, 6 Aug 2012 07:58:59 -0700
From: walter.keen at rainierconnect.net
To: eng_mssk at hotmail.com
CC: cisco-nsp at puck.nether.net; jeffpaz at gmail.com
Subject: Re: [c-nsp] GNS3 Multiple Instances

The example Jeffery had should work, just like this example: http://www.cciezone.com/?p=111
However your files have the same port number for both hypervisors.  You MUST give them different port numbers. (ie: localhost:7202 for the first one,and localhost:7203 for the second perhaps)
you also have to change the udp command.  It is the beginning of where it will allocate ports for each hypervisor, they have to differ as well.
For example "udp = 10201 " for the first one, and "udp = 10501" for the second one should give them good enough separation that you likely won't have to worry about overlap.



From: "Mohammad Khalil" <eng_mssk at hotmail.com>
To: jeffpaz at gmail.com
Cc: cisco-nsp at puck.nether.net
Sent: Saturday, August 4, 2012 11:10:10 AM
Subject: Re: [c-nsp] GNS3 Multiple Instances


No , I have tried that before , even with determining the UDP port numbers , please check my files

autostart = False
[localhost:7202]
    workingdir = working
    udp = 10201
    [[3725]]
        disk0 = 64
        image = /root/Desktop/INE/c3725-adventerprisek9-mz.124-18.bin
        ram = 128
        ghostios = True
        sparsemem = True
    [[ROUTER R3]]
        model = 3725
        console = 2003
        cnfg = R3.cfg
        f0/0 = R4 f0/0
    [[ROUTER R4]]
        model = 3725
        console = 2004
        cnfg = R4.cfg
        f0/0 = R3 f0/0
[GNS3-DATA]
    configs = initial.configs
    workdir = working

autostart = False
[localhost:7202]
    workingdir = working
    udp = 10201
    [[3725]]
        disk0 = 64
        image = /root/Desktop/INE/c3725-adventerprisek9-mz.124-18.bin
        ram = 128
        ghostios = True
        sparsemem = True
    [[ROUTER R3]]
        model = 3725
        console = 2003
        cnfg = R3.cfg
        f0/0 = R4 f0/0
    [[ROUTER R4]]
        model = 3725
        console = 2004
        cnfg = R4.cfg
        f0/0 = R3 f0/0
[GNS3-DATA]
    configs = initial.configs
    workdir = working

BR,
Mohammad

> From: jeffpaz at gmail.com
> Date: Fri, 3 Aug 2012 22:54:47 -0500
> Subject: Re: [c-nsp] GNS3 Multiple Instances
> To: eng_mssk at hotmail.com
> CC: cisco-nsp at puck.nether.net
> 
> Sure, just run multiple instances of the hypervisor... Example is
> running 3; 7200, 7201, 7202.
> 
> [ec2-50-16-114-152.compute-1.amazonaws.com:7200]
>     [[ROUTER R1]]
>         console = 2001
>         aux = 2501
>         slot0 = C7200-IO-FE
>         f0/0 = SW1 1
>         slot1 = PA-2FE-TX
>         f1/0 = SW2 1
>         slot2 = PA-4T+
>         s2/0 = R7 s2/0
>         x = -109.828233696
>         y = -426.765438603
>         z = 1.0
>     [[ROUTER R2]]
>         console = 2002
>         aux = 2502
>         slot0 = C7200-IO-FE
>         f0/0 = SW1 2
>         slot1 = PA-2FE-TX
>         f1/0 = SW2 2
>         slot2 = PA-4T+
>         s2/0 = R8 s2/0
>         x = -358.12969685
>         y = -378.325537855
>         z = 1.0
> [ec2-50-16-114-152.compute-1.amazonaws.com:7201]
>     [[ROUTER R4]]
>         console = 2004
>         aux = 2504
>         slot0 = C7200-IO-FE
>         f0/0 = SW1 4
>         slot1 = PA-2FE-TX
>         f1/0 = SW2 4
>         x = 205.0
>         y = -23.0
>         z = 1.0
>     [[ROUTER R3]]
>         console = 2003
>         aux = 2503
>         slot0 = C7200-IO-FE
>         f0/0 = SW1 3
>         slot1 = PA-2FE-TX
>         f1/0 = SW2 3
>         x = 168.0
>         y = -166.0
>         z = 1.0
> [ec2-50-16-114-152.compute-1.amazonaws.com:7202]
>     [[ROUTER R5]]
>         console = 2005
>         aux = 2505
>         slot0 = C7200-IO-FE
>         f0/0 = SW1 5
>         slot1 = PA-2FE-TX
>         f1/0 = SW2 5
>         x = -102.0
>         y = 12.0
>         z = 1.0
>     [[ROUTER R6]]
>         console = 2006
>         aux = 2506
>         slot0 = C7200-IO-FE
>         f0/0 = SW1 6
>         slot1 = PA-2FE-TX
>         f1/0 = SW2 6
>         x = -381.960372945
>         y = -33.0
>         z = 1.0
> 
> On Fri, Aug 3, 2012 at 4:59 PM, Mohammad Khalil <eng_mssk at hotmail.com> wrote:
> >
> > Hi all , I know this is a Cisco forums but GNS3 is the simulation we mostly work on , I asked on GNS3 forums but did not find an answer
> > I want to run multiple instances of GNS3 on the same server , is that doable?
> >
> > BR,
> > Mohammad
> >
> > _______________________________________________
> > cisco-nsp mailing list  cisco-nsp at puck.nether.net
> > https://puck.nether.net/mailman/listinfo/cisco-nsp
> > archive at http://puck.nether.net/pipermail/cisco-nsp/
                                               
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

 		 	   		  


More information about the cisco-nsp mailing list