From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IMUFKaY6aGbbfgEAqHPOHw:P1 (envelope-from ) for ; Tue, 11 Jun 2024 11:53:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IMUFKaY6aGbbfgEAqHPOHw (envelope-from ) for ; Tue, 11 Jun 2024 13:53:10 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=co6ctJxs; dmarc=pass (policy=reject) header.from=fabionatali.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718106790; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+faovAfm60F0AOTk6UvQar4s+kvVJ3FJ0/jXHIL1zoI=; b=Nw2F2j+Ww9qX8UVyf3pEXw5GDqxWhJvW0N8gV1xtHRxK/j8JY5SDlgoQ7/Asu4uKOj00SG GFXaBDns6wU96ysF64Ix/9eMJV3sH0tR+NVB8WwaurqUR9elj2+hOp28Fmg57Sp8yyE0dv M2bLn5x1DwQh6Kudjf0b+728GMxcYqfxxCezplvMnDCzMv7gfjRRuys1UKOv8GHipVdSw+ kWM38pldo47Fb4s1nkCXeg1OuSTCTF9AOF5qMz7kkbl4hhBHbQPi2pPrFbgwigWYcxP9CA SQcMmXe4mehlow5nvOdnwnNQMy7kSXXJoUJRi7+COJf+Tnjb0ldcMPek3kisOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718106790; a=rsa-sha256; cv=none; b=SY+sGVUqH3eUQydwbQtdKDYOKsRiXlRaGyudLmlpSJzy8dNxVBLgk3v35BUtCzfUeW734J KLpiymjIt5wplt8Sd3y6LC7ZTZnaN9sVJDBxMha/Z4m3ATgiENWZHDQoAakFrUU5jWFHvc GGnP/xc2d8tp3500n3/vLWc3k5lxN0NpsFT+OX+ZsM2+5WikmPGISv+fDKSLVFqAbnt4Zy Is9UXbSI0Al8Z4WBl07W0CEPMu4pAu7L4dQ6CzVJi3r2zC08KRp84vy4LmJV50cFLp60f2 CXVspbEZbayQUMGffX4gzYU6tq3Ix0C4sgQbg0lv3wRs//V1IUbtwRF9qDP9Dg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=co6ctJxs; dmarc=pass (policy=reject) header.from=fabionatali.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4A83A7AE34 for ; Tue, 11 Jun 2024 13:53:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sH03P-00081F-Ev; Tue, 11 Jun 2024 07:52:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sH03O-00080z-Ap for help-guix@gnu.org; Tue, 11 Jun 2024 07:52:42 -0400 Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sH03M-00019W-AS for help-guix@gnu.org; Tue, 11 Jun 2024 07:52:42 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 83B3EFF803 for ; Tue, 11 Jun 2024 11:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fabionatali.com; s=gm1; t=1718106755; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+faovAfm60F0AOTk6UvQar4s+kvVJ3FJ0/jXHIL1zoI=; b=co6ctJxs9nEF81bRRzjtx5wTLjjeg8IOVw/Ye6gFbHBfEnRFpNLh7qucG11o5whjV0tOrI Ug1pDrzXGqlu2h4o/VdXc9Lma8/poWqKocHLrA6ZGL/fVfBVu6532BR2rqXfVqDkNY3d+S sDiFs5QoGVwH+czP75F8UjDKK0YCT0QhgaAxvlbf3PdBjt8fF8xNmt51SIdr1BUJGzgo/H gyYjfV835SqYwNI/ocZfcYdzKoQcQzVbqiAToZr/dZrPfvBShn1wga1gjYHI0oSxcMB2mE 7wPIuAazLa0MqJ0w+k7x+oOznGnYI9WPv+766/K4SYIMhV+HCnyBO4fVBYGaIg== From: Fabio Natali To: help-guix@gnu.org Subject: A bridge network for QEMU VMs Date: Tue, 11 Jun 2024 12:52:34 +0100 Message-ID: <87y17b7l31.fsf@fabionatali.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: me@fabionatali.com Received-SPF: pass client-ip=2001:4b98:dc4:8::229; envelope-from=me@fabionatali.com; helo=relay9-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.40 X-Spam-Score: -5.40 X-Migadu-Queue-Id: 4A83A7AE34 X-Migadu-Scanner: mx11.migadu.com X-TUID: h8JdF9tZSD8R 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=E2=81=B0 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=C2=B9 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. =E2=81=B0 https://guix.gnu.org/cookbook/en/html_node/Network-bridge-for-QEM= U.html =C2=B9 https://lists.gnu.org/archive/html/help-guix/2023-03/msg00269.html --=20 Fabio Natali https://fabionatali.com