Stefan G. Weichinger <lists <at> xunil.at> writes: > Am 31.03.2014 14:17, schrieb Nilesh Govindrajan: >> On 31-Mar-2014 5:45 pm, "Stefan G. Weichinger" <lists <at> xunil.at> wrote: >>> >>> Aside from all the discussions around systemd, I simply gave the new >>> systemd-networkd a try. >>> >>> It helped me to simplify my config for my main machine where I run KVM >>> for virtualization and need a network bridge: >>> >>> http://www.oops.co.at/en/publications/systemd-networkd-network- configuration-for-a-kvm-server >>> >>> Maybe someone else can make use of that as well. >> >> IMHO, tap interfaces are not required there because they get created >> automatically as needed when you specify the bridge to which QEMU must >> attach to. It's an overkill. > > So the openrc-example might be simplified? ok with me ... does anyone > confirm?
It depends how you set up your network on the qemu command line. If you use "qemu -netdev tap,id=hn0,script=no,downscript=no ...", you need to set up a tap. If you use "qemu -netdev tap,id=hn0 ...", you don't need to set up a tap if you have a "/etc/qemu-ifup" script.. But you do need to set a bridge on both cases.