libvirt/kvm networking

Ante Karamatić ivoks at grad.hr
Fri Jun 19 16:01:03 UTC 2009


Aljosa Mohorovic wrote:

> file attached are my current settings, guest machine has no connectivity.
> my guess is that /etc/libvirt/qemu/networks/default.xml is wrong but i
> have no idea if  i should use br0 or virbr0  or something else.

Let's see...

ifconfig is OK

my_hostname.xml is OK
(you could add <model type='virtio'/> for better network performance)

networks/default.xml doesn't look right.
replace:

        <bridge name="virbr0" />
        <forward mode="nat"/>

with:

  <bridge name="virbr%d" />
  <forward/>

That's all.




More information about the ubuntu-server mailing list