You are not logged in.

#1 2015-10-12 19:09:13

netpumber
Member
Registered: 2009-09-20
Posts: 134

KVM and libvirt guest OS networking problem

Hello.

As wise wiki says :

By default, when the libvird systemd service is started, a NAT bridge is created called default to allow external network connectivity

I create a new image disk using qemu command

qemu-img create -f qcow2 debian 10G

and then using virt-manager , i install a fresh debian net-install. Everything went ok.

After booting on the guest OS i couldn't ping www.google.com .

I decided to create a new virtual network interface following this answer but still couldn't ping google.

Also if it type  virsh net-list --all , it returns nothing .

Name                 State      Autostart     Persistent
----------------------------------------------------------

Any hint on how to give internet access at guest OS ?

Thank you.

Offline

#2 2015-10-12 20:05:33

netpumber
Member
Registered: 2009-09-20
Posts: 134

Re: KVM and libvirt guest OS networking problem

Actually if i run the virsh net-list --all as root it returns the default network interface. Anyway. The problem still exists.

Offline

Board footer

Powered by FluxBB