From: David Larsson <david.larsson@selfhosted.xyz>
To: help-guix@gnu.org
Subject: Re: A bridge network for QEMU VMs
Date: Tue, 11 Jun 2024 15:49:45 +0200 [thread overview]
Message-ID: <CF211AB1-81D7-485F-A892-E2013F29E8C6@selfhosted.xyz> (raw)
In-Reply-To: <87y17b7l31.fsf@fabionatali.com>
Hi,
There is an openvswitch service that might be useful. Marius used it when showing how to setup ganeti on Guix here: <https://guix.gnu.org/en/blog/2020/running-a-ganeti-cluster-on-guix/>
I have a Ganeti cluster myself and occasionally I have run some manual openvswitch commands for VM's not managed by ganeti which I think could have been declared similarly to whats done in the blog post if u want it to be declarative.
Regards,
David
On June 11, 2024 1:52:34 PM GMT+02:00, Fabio Natali <me@fabionatali.com> wrote:
>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 prev parent reply other threads:[~2024-06-11 13:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-11 11:52 A bridge network for QEMU VMs Fabio Natali
2024-06-11 13:49 ` David Larsson [this message]
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=CF211AB1-81D7-485F-A892-E2013F29E8C6@selfhosted.xyz \
--to=david.larsson@selfhosted.xyz \
--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.