It is currently Wed Oct 21, 2020 7:24 am


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Another bug (that hopefully won't need fixing)
PostPosted: Thu Jun 27, 2013 10:40 pm 
Offline

Joined: Fri Mar 05, 2010 11:33 am
Posts: 1494
Location: Australia
If in GNS3 | Preferences, Qemu settings, [General Settings] tab
[x] Show QemuWrapper Advanced Options
IP/host binding [0.0.0.0]
[Apply]

Then do:

File | New Project
Project Name: TestWorkingDir

[x] Save IOS startup configurations
[x] Save nvrams and virtual hard drives



[OK]

Add two devices
Link them
Save your config
Check your config in the console
Code:
=> show run
autostart = False
version = 0.8.4-RC4
[qemu 0.0.0.0:10525]  <===== Note
    workingdir = None <===== HERE'S A PROBLEM *************************************************************
    udp = 40000
    [[O-series]]
        image = /home/user/GNS3/Images/Junos/olive-9.6R1.13.img
        ram = 512
        netcard = e1000
    [[JUNOS JUNOS1]]
        e0 = JUNOS2 e0
        x = -104.0
        y = 8.57252759403e-15
        z = 1.0
    [[JUNOS JUNOS2]]
        e0 = JUNOS1 e0
        x = 36.0
        y = -1.71450551881e-14
        z = 1.0
[GNS3-DATA]
    configs = configs
   

OOOOPS -
workingdir = None

Which means that the FLASH files DON'T get saved with your project anymore :(

I'm saying that hopefully this is a problem that you won't have to fix, because once the configs and Qemu FLASH drives are automatically saved :) [see topic6511-21.html] then I'm hoping that will fix this problem.

But it may be a bit more subtle than that because it clearly relates to the binding to 0.0.0.0

Now I notice that in RC4, when your specify an external hypervisor of 0.0.0.0 for dynamips it still appears in your config as
Code:
[127.0.0.1:7200]
    workingdir = /home/user/GNS3/Projects/TestWorkingDir/working
    udp = 10001


so I'm guessing that something similar needs to be done for qemu

Edit - There's more
On OS X, the routers (Junos at least) won't start while the binding is set to 0.0.0.0. Works OK on Linux. Not tested Windows.



_________________
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: Another bug (that hopefully won't need fixing)
PostPosted: Sat Jun 29, 2013 12:07 am 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Should be ok now. Needs some more testing I think.



_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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

phpBB SEO