From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 11 07:04:00 2020 Received: (at submit) by debbugs.gnu.org; 11 Nov 2020 12:04:00 +0000 Received: from localhost ([127.0.0.1]:40462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcor2-0007y6-97 for submit@debbugs.gnu.org; Wed, 11 Nov 2020 07:04:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:53388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcor1-0007xz-3d for submit@debbugs.gnu.org; Wed, 11 Nov 2020 07:03:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcor0-0006Kw-UX for bug-guix@gnu.org; Wed, 11 Nov 2020 07:03:58 -0500 Received: from lepiller.eu ([2a00:5884:8208::1]:40790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcoqy-0004nb-Mi for bug-guix@gnu.org; Wed, 11 Nov 2020 07:03:58 -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 Subject: Re: bug#44571: Cannot configure a static IPv6 with static-networking-service-type To: bug-guix@gnu.org,divoplade ,44571@debbugs.gnu.org From: Julien Lepiller Message-ID: <3121D0B2-5320-4232-A968-E68A791F6A80@lepiller.eu> Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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