libvirt/kvm networking
n.bochev at grandstarco.com
n.bochev at grandstarco.com
Wed Jun 17 17:36:57 UTC 2009
Or you can use virt-install on earlier versions of ubuntu. There are guides for that on howtoforge.org .
Quoting Ante Karamatić <ivoks at grad.hr>:
> Aljosa Mohorovic wrote:
>
>> - /etc/libvirt/qemu/networks/default.xml # default network config
>> for libvirt
>> - /etc/libvirt/qemu/ubuntu.xml # config for image created using vmbuilder
>> so i could check what i'm doing wrong.
>>
>> any help/comments appreciated.
>
> Once you have configured bridge networking, you have to create
> virtualized machines with switch '--bridge=br0'. IIRC, this is supported
> only since 9.04 version. So, if you have 9.04, this would be
> ubuntu-vm-builder example:
>
> ubuntu-vm-builder kvm jaunty --rootsize=5000 --mem 1024 --user aljosa
> --mirror http://hr.archive.ubuntu.com/ubuntu --libvirt qemu:///system -d
> my_new_vm --hostname my_hostname --bridge=br0
>
> If you are using older version, interface part of host xml should look
> like this:
>
> <interface type='bridge'>
> <mac address='00:16:11:11:11:11'/>
> <source bridge='br0'/>
> </interface>
>
> where mac address is generated by libvirt/kvm.
>
> --
> ubuntu-server mailing list
> ubuntu-server at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam
>
----------------------------------------------------------------
This message was sent using Dodo.bg Webmail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20090617/c58a5868/attachment.html>
More information about the ubuntu-server
mailing list