Gentoo Archives: gentoo-user

From: Tom H <tomh0665@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: systemd-networkd: simpler config for my network
Date: Sun, 06 Apr 2014 22:40:25
Message-Id: loom.20140406T150059-961@post.gmane.org
In Reply to: Re: [gentoo-user] systemd-networkd: simpler config for my network by "Stefan G. Weichinger"
1 Stefan G. Weichinger <lists <at> xunil.at> writes:
2 > Am 31.03.2014 14:17, schrieb Nilesh Govindrajan:
3 >> On 31-Mar-2014 5:45 pm, "Stefan G. Weichinger" <lists <at> xunil.at>
4 wrote:
5 >>>
6 >>> Aside from all the discussions around systemd, I simply gave the new
7 >>> systemd-networkd a try.
8 >>>
9 >>> It helped me to simplify my config for my main machine where I run KVM
10 >>> for virtualization and need a network bridge:
11 >>>
12 >>> http://www.oops.co.at/en/publications/systemd-networkd-network-
13 configuration-for-a-kvm-server
14 >>>
15 >>> Maybe someone else can make use of that as well.
16 >>
17 >> IMHO, tap interfaces are not required there because they get created
18 >> automatically as needed when you specify the bridge to which QEMU must
19 >> attach to. It's an overkill.
20 >
21 > So the openrc-example might be simplified? ok with me ... does anyone
22 > confirm?
23
24 It depends how you set up your network on the qemu command line.
25
26 If you use "qemu -netdev tap,id=hn0,script=no,downscript=no ...", you need
27 to set up a tap.
28
29 If you use "qemu -netdev tap,id=hn0 ...", you don't need to set up a tap if
30 you have a "/etc/qemu-ifup" script..
31
32 But you do need to set a bridge on both cases.

Replies

Subject Author
Re: [gentoo-user] Re: systemd-networkd: simpler config for my network "Stefan G. Weichinger" <lists@×××××.at>