It is currently Sat May 25, 2019 5:21 pm


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Fine tuning 0.0.0.0 with dynamips 0.2.8-RC7-community-x86
PostPosted: Thu Jun 20, 2013 5:37 am 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
There are a couple of problems when you setup the hypervisor to bind to 0.0.0.0 with dynamips 0.2.8-RC7-community-x86

[Tested only on Windows 8 Basic][EDIT 2013-06-23: Also tested on Linux - same problem

I set GNS3 Preferences, Dynamips settings, under the [Hypervisor Manager] tab, IP/host binding: to 0.0.0.0.

Problem 1: Adding a new IOS image
Observation: When I add a new IOS image, I see it appear in the list as
0.0.0.0:C:\Users\............etc

When I hit the Idle-pc: [Auto calculation] button, it finds a number of possible values, but fails to find a working idle-pc value. Instantly and consistently the following appears:
Attachment:
No idle-pc.jpg
No idle-pc.jpg [ 41.32 KiB | Viewed 2886 times ]


Problem 2:
If I now add a router to the topology, then try and calculate an idle-pc, I'll get a list of values, choose one with an asterisk, and apply it, I get a message saying it has been applied, but it hasn't, nor has the value been stored back in IOS images and Hypervisors

Here's a summary AFTER an idle-pc has "supposedly" been applied.
Code:
15:27:14: DEBUG (1): sending to dynamips at 127.0.0.1:7200 -> vm get_idle_pc_prop R1 0
15:27:30: DEBUG (1): returned -> ['101 0x6026b804 [48]', '101 0x6026b87c [25]', '101 0x614ac21c [48]', '101 0x614ac27c [50]', '101 0x614ac2c4 [63]', '101 0x614ac2d8 [63]', '101 0x60c05928 [54]', '101 0x60c059a8 [74]', '101 0x60c06408 [23]', '101 0x60c06444 [30]', '100-OK']

***NOTE - there was no debug output to indicate any message was sent to dynamips to apply the idle-pc value at this point ***********

=> idlepc get R1
R1 already has an idlepc value applied (None).
=> show run
autostart = False
[127.0.0.1:7200]
    workingdir = C:\Users\chris\AppData\Local\Temp
    udp = 10001
    [[3725]]
        image = C:\Users\chris\GNS3\Images\c3725-adventerprisek9-mz.124-15.T10.image
        ram = 128
        sparsemem = True
        ghostios = True
    [[ROUTER R1]]
        model = 3725
        console = 2103
        aux = 2503
=>


If I temporarily set the IP/host binding: to 127.0.0.1 and try and get an idle-pc value again, the debug output shows that it works
Code:
=> 15:30:31: DEBUG (1): sending to dynamips at 127.0.0.1:7200 -> vm get_idle_pc_prop R1 0
15:30:47: DEBUG (1): returned -> ['101 0x6026b804 [29]', '101 0x6026b87c [28]', '101 0x614ac21c [57]', '101 0x614ac27c [50]', '101 0x614ac2c4 [60]', '101 0x614ac2d8 [57]', '101 0x60c05928 [49]', '101 0x60c06408 [28]', '101 0x60c06444 [25]', '101 0x60c06460 [67]', '100-OK']
15:30:53: DEBUG (2): Register IDLE PC 0x614ac21c for image C:\Users\chris\GNS3\Images\c3725-adventerprisek9-mz.124-15.T10.image
15:30:53: DEBUG (2): Apply IDLE PC 0x614ac21c to R1
15:30:53: DEBUG (1): sending to dynamips at 127.0.0.1:7200 -> vm set_idle_pc_online R1 0 0x614ac21c
15:30:53: DEBUG (1): returned -> ['100-OK']
15:30:53: DEBUG (2): Node R1: running config: {'model': '3725', 'console': 2103, 'aux': 2503, 'idlepc': '0x614ac21c'}

=> idlepc get R1
R1 already has an idlepc value applied (0x614ac21c).
=> show run
autostart = False
[127.0.0.1:7200]
    workingdir = C:\Users\chris\AppData\Local\Temp
    udp = 10001
    [[3725]]
        image = C:\Users\chris\GNS3\Images\c3725-adventerprisek9-mz.124-15.T10.image
        ram = 128
        sparsemem = True
        ghostios = True
    [[ROUTER R1]]
        model = 3725
        console = 2103
        aux = 2503
        idlepc = 0x614ac21c


...And the idle-pc value has been also applied the the image bound to 0.0.0.0:C:\Users\.....etc



_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: Fine tuning 0.0.0.0 with dynamips 0.2.8-RC7-community-x
PostPosted: Fri Jun 28, 2013 4:27 am 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Ok, this is fixed now.

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: Fine tuning 0.0.0.0 with dynamips 0.2.8-RC7-community-x
PostPosted: Fri Jun 28, 2013 6:30 am 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
cool. is post20575.html#p20575 related to the same thing?

_________________
RedNectar
http://rednectar.net
@rednectarchris
GNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs


Top
 Profile  
 
 Post subject: Re: Fine tuning 0.0.0.0 with dynamips 0.2.8-RC7-community-x
PostPosted: Fri Jun 28, 2013 8:37 pm 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Quote:
cool. is post20575.html#p20575 related to the same thing?


Very similar yes but I haven't had a chance to look at it yet.



_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


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

All times are UTC


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:  
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO