From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 11 07:03:56 2020 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 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> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44571 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: -1.0 (-) 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