Gentoo Archives: gentoo-user

From: Simon Thelen <gentoo-user@××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Make QEMU guest visible to other machines on LAN
Date: Sat, 19 Dec 2015 19:32:08
Message-Id: 20151219193135.GA2356@anonymous
In Reply to: [gentoo-user] Make QEMU guest visible to other machines on LAN by waltdnes@waltdnes.org
1 On 15-12-19 at 14:21, waltdnes@××××××××.org wrote:
2 > Apologies if this is a duplicate/triplicate. I don't think the first
3 > attempts got through. Going through my backup provider (dialup) this
4 > time.
5 [..]
6 > For various reasons, I need another physical machine on my small home
7 > LAN to be able to talk directly to the 32-bit guest. I've read the
8 > "Network setup" at http://www.linux-kvm.org/page/KvmOnGentoo Is the
9 > /etc/conf.d/net being reffered to, the one on the host or on the guest?
10 > The webpage doesn't say explicitly.
11 host
12 >
13 > I also don't understand how other machines will be able to
14 > differentiate between the host and the guest.
15 The idea is to create a bridge device, and then bridge the guests
16 tun/tap device with the bridge and your ethernet device. This way they
17 all appear transparently on the network.
18
19 The net config on that website should be fine for the host, and then
20 pass these command options to qemu
21 -device virtio-net-pci,netdev=hn0,mac="52:54:00:12:34:56" -netdev bridge,id=hn0,br=brkvm
22
23 You can change the mac address to your liking.
24
25 --
26 Simon Thelen

Replies

Subject Author
Re: [gentoo-user] Make QEMU guest visible to other machines on LAN waltdnes@××××××××.org