libvirt/kvm networking

Aljosa Mohorovic aljosa.mohorovic at gmail.com
Wed Jun 24 12:40:09 UTC 2009


2009/6/19 Ante Karamatić <ivoks at grad.hr>:
> networks/default.xml doesn't look right.
> replace:
>
>        <bridge name="virbr0" />
>        <forward mode="nat"/>
>
> with:
>
>  <bridge name="virbr%d" />
>  <forward/>
>
> That's all.

as soon as i change and after i run virsh:
virsh # net-define /etc/libvirt/qemu/networks/default.xml

it changes to:

# cat /etc/libvirt/qemu/networks/default.xml
<network>
  <name>default</name>
  <uuid>ec6f8ce7-ad0f-eea7-d9ed-dc460cf47023</uuid>
  <forward mode='nat'/>
  <bridge name='virbr1' stp='on' forwardDelay='0' />
  <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>

and guest machine has no connectivity.
any ideas? is there something else i could try?

Aljosa Mohorovic




More information about the ubuntu-server mailing list