From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: how can I add a static IPv4 route? Date: Wed, 12 Feb 2020 19:08:46 +0100 Message-ID: <87blq3brv5.fsf@roquette.mug.biscuolo.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50699) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1wRl-00073I-Iv for help-guix@gnu.org; Wed, 12 Feb 2020 13:09:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1wRk-0007Dl-Ee for help-guix@gnu.org; Wed, 12 Feb 2020 13:09:13 -0500 Received: from ns13.heimat.it ([46.4.214.66]:51284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j1wRk-0007As-8E for help-guix@gnu.org; Wed, 12 Feb 2020 13:09:12 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id E9EC830066E for ; Wed, 12 Feb 2020 18:09:09 +0000 (UTC) Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dW9mveclfB0h for ; Wed, 12 Feb 2020 18:08:49 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.161.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 6A94F3000CB for ; Wed, 12 Feb 2020 18:08:49 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 9944C300A05 for ; Wed, 12 Feb 2020 19:08:48 +0100 (CET) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, I have a very simple networking configuration: =2D-8<---------------cut here---------------start------------->8--- (service dhcp-client-service-type) =2D-8<---------------cut here---------------end--------------->8--- Please how can I add a static route? (I know there is wip-netlink, but AFAIU it's still not in master) I found a message from Julien [1] explaining he is using a custom service [2] to define both IPv4 and IPv6 for the same device: do I have to adapt that? Since my guile-fu is very minimal, please do you have a snippet I can reuse apart Julien's above? Thanks! Gio' [1] Message-ID: <80602DD8-60A9-487D-B39C-46360F42C0D2@lepiller.eu> [2] https://framagit.org/tyreunom/system-configuration/blob/master/modules/= config/network.scm =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAl5EPy8ACgkQ030Op87M ORIwQg/+MnE6UI5zyEE3FM79r2owBHjDKWn6H5oDVeRZUrd6Hd4TJCU6cdDAP9qd qwtlW+58kjz04fTs35zrjVyH2CIYV9r7duRoGymUIY9px3H8G1XZMV1mZvYIp6xF Ea9mu+3/NNN8tAg7usY9slgTPhjgWHUwYj+orIcSQRZr85YwOKcPE9YxH/PGx8dn qpjMDW37S9EE+d2KZQQ3j6hSRBCuwJVnkUy43DYT9pRWfPHMFkGCECLO5CjGeQEi MeVjAPdiMmz6jFQBZ7AAbjxLlAB2lkRj27zGYOSRKqD7AxzVZRUDLM0gs8iRZkvF xu1+8Af6BlCvsEJvxoe5PY25tWCYIo1GsjSxyMnCtU9yUTSA51nkIZpL4MUdrU8I VwinJktBzeUwVJ6OXkPL02jq4bzLI4QCuC9C/yXJTQA9XASojrqYnM1qYgTT53Vs T2gY0Pd6hyx9x30JXDy/MZOEsE46UiJJVmdkdFRyVhbN/T/r0JjzYeknWsfZHAZs 7sJrsKbbNQQTjhdkqdOoZThLksAmGw1zy0yk7TlCiyxX3h8np2t8Ojw8Q77WKCsK kQ7WE9jcYTZyeLK3hgYpUrSsaCtB9s2FwrsqH6+lWWaRL7+c3UKOEXHq4k8jFeMM HxxLBFc2HT82teb2XisuXSyiE1XmivgblYnueYBffTabI+46bog= =KqK5 -----END PGP SIGNATURE----- --=-=-=--