[libvirt] Networking with libvirt

I want to setup networking under KVM and with libvirt. I read a lot the last two days, but it is not working as desired. I don't want bridging, I want it with a tap-device created via vde_switch. I cannot figure out what to put in /etc/libvirt/qemu/machine.xml and /etc/ libvirt/qemu/networks/network.xml - there is no really good documentation. /var/log/libvirt/qemu/maschine.log shows a lot of parameters when I start the VM with virsh start machine, but I cannot figure out where to set these values or where to set the defaults. mfg ar -- Hier könnte keine Signatur stehen.

Am 22.02.2009 um 17:25 schrieb Andreas Rittershofer:
I want to setup networking under KVM and with libvirt. I read a lot the last two days, but it is not working as desired. I don't want bridging, I want it with a tap-device created via vde_switch. I cannot figure out what to put in /etc/libvirt/qemu/machine.xml and / etc/libvirt/qemu/networks/network.xml - there is no really good documentation. /var/log/libvirt/qemu/maschine.log shows a lot of parameters when I start the VM with virsh start machine, but I cannot figure out where to set these values or where to set the defaults.
Now the network is running - but: 1.) I don't know why. 2.) It runs only one or two minutes and than dies. I have to reboot the virtual machine to get it up and running again - and I don't no why either. mfg ar -- Hier könnte keine Signatur stehen.

Am 22.02.2009 um 21:11 schrieb Andreas Rittershofer:
2.) It runs only one or two minutes and than dies. I have to reboot the virtual machine to get it up and running again - and I don't no why either.
The network connection is very unstable: When there is no traffic ping runs and runs and there are no problems. When there is traffic, i.e. when I try an aptitude update/upgrade, the connection breaks down and I have to reboot the VM. What could this be? mfg ar -- Hier könnte keine Signatur stehen.
participants (1)
-
Andreas Rittershofer