You are not logged in.

#1 2018-12-20 18:09:52

storms
Member
Registered: 2018-11-09
Posts: 26

[SOLVED] Gns3 not detecting libvirt

hey guys, so i'm doing this college project on gns3 and everything is going fine.
but for some reason i cant get a NAT cloud on to it.
i have libvrt installed and its started.

gns3 gives me this error:

 2018-12-20 18:08:22 ERROR appliance_manager:114 Error while creating node: virbr0 is missing. You need to install libvirt 

any ideas? i tried parsing through the libvrt arch wiki but its just so mutch information on everything and the only thing i need is a nat cloud...

edit: when i do the libvirt test ( virsh -c qemu:///session ) it gets me inside a terminal..so my guess is thats working? Also i do have dnsmasq and ubridge installed.

Last edited by storms (2018-12-20 18:47:58)

Offline

#2 2018-12-20 18:20:51

loqs
Member
Registered: 2014-03-06
Posts: 19,106

Re: [SOLVED] Gns3 not detecting libvirt

https://wiki.libvirt.org/page/Networking
Edit:
How did you install gns3?

Last edited by loqs (2018-12-20 18:41:20)

Offline

#3 2018-12-20 18:42:29

storms
Member
Registered: 2018-11-09
Posts: 26

Re: [SOLVED] Gns3 not detecting libvirt

thank you! i figured it out.

to someone with the same problem.
i didnt had the default network set up nor did i had the default conf file that it says that comes with it.

so i created /tmp/default.xml

<network>
  <name>default</name>
  <bridge name="virbr0"/>
  <forward mode="nat"/>
  <ip address="192.168.122.1" netmask="255.255.255.0">
    <dhcp>
      <range start="192.168.122.2" end="192.168.122.254"/>
    </dhcp>
  </ip>
</network>

then
virsh net-define /tmp/default.xml
sudo virsh net-start default
sudo virsh net-autostart default

Last edited by storms (2018-12-20 18:42:53)

Offline

#4 2018-12-20 18:45:53

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Gns3 not detecting libvirt


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB