From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IEovG2ufGmSaVAAASxT56A (envelope-from ) for ; Wed, 22 Mar 2023 07:25:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CGYrG2ufGmRhwAAAauVa8A (envelope-from ) for ; Wed, 22 Mar 2023 07:25:47 +0100 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 4AAB4A2FD for ; Wed, 22 Mar 2023 07:25:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peruP-0007Hw-Kg; Wed, 22 Mar 2023 02:25:17 -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 1peruO-0007Hn-80 for help-guix@gnu.org; Wed, 22 Mar 2023 02:25:16 -0400 Received: from lepiller.eu ([89.234.186.109]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peruM-000281-D9 for help-guix@gnu.org; Wed, 22 Mar 2023 02:25:15 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id eace73df; Wed, 22 Mar 2023 06:24:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=rrAElh0iIY03 phV+o0aB/6dc1YPZOhSJKz/0ds8+HwQ=; b=WoJWnBgZMr48pfiw7j38fYjU0DQU +4eHVWSp/wSs6yZueVFviUT9oFRLGJpr6UN+xPZ6dNwDc1XzzFMkMlqBGCpuIpZT E3tqVXQQpxOXwut5HNyyteQILARcaV5TcgquuSnHdR1dwMzklQaCBxxj0H7CBeo7 y/ZTKPQQanL+FLKfA2OKDVrq+8kNKtvqWNArhv8kpxzGSi2bNN/90e4JvA/ek3GU VzOdG85Cypdk72I3h12KPCRl11aNIztCczKFrtUzCIDIPTnBreBPlx53TE48yoIV I1o+Y9T6SaBAQg/2Eq3SPyf/anvM06ZYWlWK3zh8xtBb04PZsHuqDdHAeQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id b3566673 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 22 Mar 2023 06:24:03 +0000 (UTC) Date: Wed, 22 Mar 2023 07:24:01 +0100 From: Julien Lepiller To: help-guix@gnu.org, Denis 'GNUtoo' Carikli Subject: Re: static-networking-service-type: Using a static network bridge User-Agent: K-9 Mail for Android In-Reply-To: <20230322013248.7299a393@primary_laptop> References: <20230322013248.7299a393@primary_laptop> Message-ID: <66E59A8E-82D0-4CE0-B37B-EA4C91A5FA2A@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679466347; a=rsa-sha256; cv=none; b=b5fbJ42XpJu0US2YxFdAiclIoP4k3bxDfbf1YY8uISGA2iDygHvJ6Vmq+I15xbSW29RGAC ae+4dpAUWGLbutRhvEUcENpSuwB4Y7Oxk4WpuOXSP01iZErvT4iOqqPsyvZlDgOeNNRuTX PM26JG4OzcAcKFMSHso9Vn04qETfeeKG4vXNrYi+RcY8jehJ966soReKi/VpuuAMkOnsGt ad1HirNvEqLFbYYneLpqV6/RFy9KCJrFZHCLGlkuSvBpaZfBAs8SNAAa2otNDjsIUKcBGP HrVIMiNH/OnqTJ4VXExWcV80MBEqVU4bRvF27BqLZ7+TDJD8uZ2p1xL77EQ6jg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=WoJWnBgZ; 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"; dmarc=pass (policy=none) header.from=lepiller.eu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679466347; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=bCtJ6eaI62YIe8eRfQver6kwVfzhhMj89mKC3Peg65U=; b=f9+evXDK+uXyt2EeeBcjn0L6bErwOZCGbvZkPrhscxggRRnnPUkqZ5Av73c9fsj89mWuep tap2ZczWWz25OD+4ZTBLWrc90g5J2YvWwowvxiRr9qTBLwRQGYa6zm7EqBJPoF1iCeVSFn Ca8KnCguVmE2GqaWnylVJqo0y/RHr4nxBMvwaw4HiJfDmPAUPGdyHvgZGzxlzhLnRJ+3Jv 3gTjFwkUx5ElI20RRre9go1xRp+E8eSq044DuRTHGP0xiuH0H5laFCjXn9uhSM13Jg3vvc Z7hdQ8bBELYTt1w3Z4z7j/lwmKRc6vK5o5xc++BgOiH4mBiSInULnhrEQ6m56w== X-Migadu-Spam-Score: -6.51 X-Spam-Score: -6.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=WoJWnBgZ; 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"; dmarc=pass (policy=none) header.from=lepiller.eu X-Migadu-Queue-Id: 4AAB4A2FD X-Migadu-Scanner: scn1.migadu.com X-TUID: Fb014RHga1fj You specified type twice, with #f the last time=2E Maybe that's tge issue? Le 22 mars 2023 01:32:48 GMT+01:00, Denis 'GNUtoo' Carikli a =C3=A9crit=C2=A0: >Hi, > >Is it possible to do something like that in a system configuration?: >> ip link add lan0 type bridge >> ip link set dev eth0 master lan0 >> ip addr add 192=2E168=2E1=2E5/24 dev lan0 >> ip route add default via 192=2E168=2E1=2E1 dev lan0 > >I've tried it with something like that (with the IP addresses and "eth0" >changed): >> (service static-networking-service-type >> (list >> (static-networking >> (addresses (list (network-address >> (device "lan0") >> (value "192=2E168=2E1=2E5/24"))= )) >> (links (list (network-link (name "lan0") >> (type 'bridge) >> (arguments '())) >> (network-link >> (name "eth0") >> (type #f) >> (arguments '("master" "lan0"))))) >> (name-servers '("192=2E168=2E10=2E1")) >> (routes (list (network-route (destination "default") >> (gateway "192=2E168=2E1=2E1"))))))) >but the issue is that the bridge isn't even created=2E > >Did I do something wrong, or is that configuration not supported? > >Denis=2E