From: Fabio Natali <me@fabionatali.com>
To: help-guix@gnu.org
Subject: A bridge network for QEMU VMs
Date: Tue, 11 Jun 2024 12:52:34 +0100 [thread overview]
Message-ID: <87y17b7l31.fsf@fabionatali.com> (raw)
Hi,
I'd like to set up a server's network so as to have:
- a bridge interface,
- the real Ethernet interface to be associated to the bridge.
Among other things, this setup makes it possible to use QEMU in "bridge
networking" mode, i.e. to have QEMU VMs to also connect to the bridge
and become reachable as ordinary machines in the LAN.
The Cookbook has a pretty thorough section⁰ on how to achieve
this. However, it makes use of NetworkManager, which makes things rather
stateful and can't be configured declaratively, if I understand it
correctly? I think I'd have a preference for
'static-networking-service-type' instead.
However, when it comes to 'static-networking-service-type', I found this
other thread¹ which indicates some missing pieces in Guix's
'network-link' and 'network-set-up/linux'. Looking at the Guix logs, I
don't think there has been any further development on this since the
thread.
Anyone else who has encountered the same issue? Any other possibility I
should take into account? Could it be worth to re-consider the
NetworkManager approach? Should I think of a little patch that adds the
missing functionality to 'static-networking-service-type'?
Thanks, cheers, Fabio.
⁰ https://guix.gnu.org/cookbook/en/html_node/Network-bridge-for-QEMU.html
¹ https://lists.gnu.org/archive/html/help-guix/2023-03/msg00269.html
--
Fabio Natali
https://fabionatali.com
next reply other threads:[~2024-06-11 11:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-11 11:52 Fabio Natali [this message]
2024-06-11 13:49 ` A bridge network for QEMU VMs David Larsson
2024-06-11 20:50 ` Sergey Trofimov
2024-06-12 15:17 ` Fabio Natali
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y17b7l31.fsf@fabionatali.com \
--to=me@fabionatali.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.