networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Wed Mar 07, 2012 9:32 am 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Nov 11, 2009 12:25 am
Posts: 575
For 4 hours I have been trying to get GNS3 to work on my Fedora 16 VM.

I have GNS installed but when I test dynamips all I receive an error message "failed to start dynamips"

I tried service iptables stop but this did not help.

I have tried the RC2 and RC3 beta version of dyamips.

I am using GNS3-0.8.2-BETA2 for GNS.

Is there an rpm anywhere?

Any assistance would be appreciated.


Top
 Profile  
 
PostPosted: Wed Mar 07, 2012 9:35 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12433
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
Why use gns at all? Just go direct with dynamips

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
PostPosted: Wed Mar 07, 2012 11:21 am 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Nov 11, 2009 12:25 am
Posts: 575
I guess using GNS is a habit of my windows ways.

At the moment I am not doing anything super intensive so the overhead of GNS is not that big of a deal and the ease of usability is a huge plus.

I figured out why it was not working.

At first I had tried RC3 and GNS said "unable to determine version of dynamips"

I downloaded RC2 but forgot to set the +x.

I set +x and now it works.


Top
 Profile  
 
PostPosted: Wed Mar 07, 2012 11:49 am 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Nov 11, 2009 12:25 am
Posts: 575
I am still having a lot of problems.

To run just dynamips I need dynagen and dynamips itself correct?

Thanks


Top
 Profile  
 
PostPosted: Wed Mar 07, 2012 11:55 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12433
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
Yup, that's it

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
PostPosted: Wed Mar 07, 2012 12:55 pm 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Nov 11, 2009 12:25 am
Posts: 575
When I try to start dynamips I receive the following error


[root@F16 ScriptTest]# dynamips scriptTest.net
Cisco Router Simulation Platform (version 0.2.8-RC2-x86)
Copyright (c) 2005-2007 Christophe Fillot.
Build date: Oct 14 2007 10:41:26

IOS image file: scriptTest.net

ILT: loaded table "mips64j" from cache.
ILT: loaded table "mips64e" from cache.
ILT: loaded table "ppc32j" from cache.
ILT: loaded table "ppc32e" from cache.
CPU0: carved JIT exec zone of 64 Mb into 2048 pages of 32 Kb.
NVRAM is empty, setting config register to 0x2142
C7200 instance 'default' (id 0):
VM Status : 0
RAM size : 256 Mb
IOMEM size : 0 Mb
NVRAM size : 128 Kb
NPE model : npe-200
Midplane : vxr
IOS image : scriptTest.net

load_elf_image: invalid ELF file
C7200 'default': failed to load Cisco IOS image 'scriptTest.net'.
Unable to initialize router instance.


Below is my .net

autostart = False
[127.0.0.1:7200]
udp = 10000
[[3725]]
image = /root/GNS3/Images/c3725-adventerprisek9-mz.124-25a.bin.unpacked
ram = 128
idlepc = 0x61237c60
sparsemem = True
ghostios = True
[[ROUTER R1]]
model = 3725
console = 2001

Is there something wrong with my .net?

Thanks


Top
 Profile  
 
PostPosted: Wed Mar 07, 2012 1:03 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 29, 2011 8:26 pm
Posts: 180
Location: Dallas
Certs: CCNP, CCIP, JNCIA, M&M, PB&J, etc.
You would run dynamips first then dynagen calls the .net

e.g.

[root@F16 ScriptTest]# dynamips -H 7200
[root@F16 ScriptTest]# dynagen scriptTest.net


Top
 Profile  
 
PostPosted: Wed Mar 07, 2012 1:10 pm 
Offline
Ultimate Member
Ultimate Member

Joined: Sat Oct 09, 2010 2:13 pm
Posts: 592
Certs: CCNA
I ran into the same problem a bit ago on a fedora 14 box. You have to make sure that under
"edit ----> Preferences -----> Dynamips ------> 'executable path' inputbox" the file being pointed to is both the dynamips executable file, and your account has permissions to access it

for reference my executable is called
dynamips-0.2.8-RC3-x86.bin

you can find any dynamips .bin files by runing

find / -name dynamips*.bin


Top
 Profile  
 
PostPosted: Wed Mar 07, 2012 1:28 pm 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Nov 11, 2009 12:25 am
Posts: 575
haccduder wrote:
I ran into the same problem a bit ago on a fedora 14 box. You have to make sure that under
"edit ----> Preferences -----> Dynamips ------> 'executable path' inputbox" the file being pointed to is both the dynamips executable file, and your account has permissions to access it

for reference my executable is called
dynamips-0.2.8-RC3-x86.bin

you can find any dynamips .bin files by runing

find / -name dynamips*.bin


I am able to get gns3 working doing this, but I am unable to console in using the gnome terminal, I have to use putty.

I select gnome from the list, hit use, then apply, then right click the router, then console, and nothing happens.

Any ideas?

As far as the dynamips problem goes when launching from the console, I will have to try that tomorrow.

Thanks for all the help.


Top
 Profile  
 
PostPosted: Wed Mar 07, 2012 2:20 pm 
Offline
Ultimate Member
Ultimate Member

Joined: Sat Oct 09, 2010 2:13 pm
Posts: 592
Certs: CCNA
Its not doing anything because dynamips is failing to start.

Lets talk in pictures, I like pictures


Attachments:
File comment: First find your .bin file
3.png
3.png [ 34.31 KiB | Viewed 3072 times ]
File comment: then go here in the menu
1.png
1.png [ 225.89 KiB | Viewed 3072 times ]
File comment: put the file path in the input box, test with the "test" button
2.png
2.png [ 223.97 KiB | Viewed 3072 times ]
Top
 Profile  
 
PostPosted: Thu Mar 08, 2012 12:42 am 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Nov 11, 2009 12:25 am
Posts: 575
I apologize for the confusion but GNS3 runs fine.

When I test dynamips it is successful.

I can use routers and config them in GNS, its just that in GNS I cannot use the terminal, I have to use putty.

When I set GNS3 to use gnome terminal (gnome > use > apply) and right click to console into the router nothing happens.

When I set GNS3 to use putty (putty > use > apply) and right click to console into the router putty opens and I can configured the router.

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group