From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +DNrIj3Tq189GAAA0tVLHw (envelope-from ) for ; Wed, 11 Nov 2020 12:04:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OD8zHj3Tq19wewAAbx9fmQ (envelope-from ) for ; Wed, 11 Nov 2020 12:04:13 +0000 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 C98019407E5 for ; Wed, 11 Nov 2020 12:04:12 +0000 (UTC) Received: from localhost ([::1]:36392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcorD-0006Lq-EJ for larch@yhetil.org; Wed, 11 Nov 2020 07:04:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcor5-0006LL-33 for bug-guix@gnu.org; Wed, 11 Nov 2020 07:04:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57151) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcor4-0004ry-Q9 for bug-guix@gnu.org; Wed, 11 Nov 2020 07:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcor4-0007ya-Ly for bug-guix@gnu.org; Wed, 11 Nov 2020 07:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44571: Cannot configure a static IPv6 with static-networking-service-type Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 Nov 2020 12:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44571 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 44571@debbugs.gnu.org, d@divoplade.fr X-Debbugs-Original-To: bug-guix@gnu.org, divoplade , 44571@debbugs.gnu.org Received: via spool by 44571-submit@debbugs.gnu.org id=B44571.160509623630621 (code B ref 44571); Wed, 11 Nov 2020 12:04:02 +0000 Received: (at 44571) by debbugs.gnu.org; 11 Nov 2020 12:03:56 +0000 Received: from localhost ([127.0.0.1]:40459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcoqy-0007xp-1X for submit@debbugs.gnu.org; Wed, 11 Nov 2020 07:03:56 -0500 Received: from lepiller.eu ([89.234.186.109]:53816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcoqu-0007xe-Ka for 44571@debbugs.gnu.org; Wed, 11 Nov 2020 07:03:54 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 96ce14e0; Wed, 11 Nov 2020 12:03:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=Gmqx9a6Gw9ItqHqK8F6kznb5R6bePBMPkJ4uQ8Mvr3U=; b=BrdkZR5uOO4s d42DgfKLoc+Os0K2WZDdwpgiFn5UQXfXory17os4z7dYREVerOdVSe5lPZfF1d8G uz4hIZHrsnE2SnhargGVgu5f1rr7B5IcCvfUjFn4Bhud3olD5fPCdbBxrJ73R+q7 UM8sFpoleaoVp/uAdWdOaLY04QdznID+Y8hq9bGCAUvVgy24rkVDSb2khJeNAdqq YPl9hOlhsGKmJrX6MkUWDlUsLL7bI6OQpO9da6ztqICrbxqqB6A2JZDHMgtcOm1V uqz082880osHE+rsf3akRTllIiVI9NqAlNey3JYklFF4keYVTX9S9PUcZsbfoiBE Wi3ckwkH/A== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 467580be (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 11 Nov 2020 12:03:46 +0000 (UTC) Date: Wed, 11 Nov 2020 07:03:30 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <1ec636e29d4ab70948fce3cf016d5240977a4423.camel@divoplade.fr> References: <1ec636e29d4ab70948fce3cf016d5240977a4423.camel@divoplade.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Julien Lepiller Message-ID: <3121D0B2-5320-4232-A968-E68A791F6A80@lepiller.eu> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=lepiller.eu header.s=dkim header.b=BrdkZR5u; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: AcL1dG0c2B4w Le 11 novembre 2020 05:56:24 GMT-05:00, divoplade a =C3= =A9crit : >Dear guix, > >My interface should be configured to have 2 static ip addresses, an >IPv4 address and a global IPv6 address=2E > >The static-networking-service-type will only accept one per device, and >will reject the IPv6 address (if I drop the IPv4 address) because it >can't parse it=2E Thanks for the report=2E This is a known issue and I'm working on it=2E Th= e idea is to implement the netlink interface in guile and use it to configu= re the network=2E I currently have the low-level bits for managing interfac= es and addresses=2E I'm missing the routing part=2E Once I have this, I can= think of a high-level interface that will allow us to build a static-netwo= rk-service-type that understands IPv4 and IPv6=2E See https://git=2Elepiller=2Eeu/guile-netlink > >My workaround is to add a shepherd service that runs ip address add dev >eno1 the-address and ip address delete dev eno1 the-address, with ip >from iproute2=2E Maybe static-networking-service-type could do something >better for me? > >Best regards, > >divoplade