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 problemI 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 [ 41.32 KiB | Viewed 3103 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 HypervisorsHere'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
_________________
RedNectarhttp://rednectar.net@rednectarchrisGNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs