From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: wip-netlink Date: Mon, 03 Jun 2019 21:43:47 +0200 Message-ID: <87woi278uk.fsf@devup.no> References: <875zrov80a.fsf@gnu.org> <87mukx8tew.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:49718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXsyj-0002jt-Fm for guix-devel@gnu.org; Mon, 03 Jun 2019 15:50:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXss3-000124-8b for guix-devel@gnu.org; Mon, 03 Jun 2019 15:43:52 -0400 In-Reply-To: <87mukx8tew.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= , =?utf-8?Q?G=C3=A1bor?= Boskovits Cc: Guix-devel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > If you=E2=80=99ve ever experienced the shortcomings of > =E2=80=98static-networking-service=E2=80=99 and had to work around it, pl= ease share the > interface that you=E2=80=99d like to see! Hey, that's me! I *think* what I want is control over network interfaces. Something along the lines of (service network-interface-service-type "eth0" (network-interface-configuration (dhcp? #f) (ipv4 '("10.1.1.1/24" "172.16.30.4/22")) (ipv6 '(...)) (routes4 '(("default" . "10.1.1.254"))) (routes6 '(...)) (requirement '(vswitchd)))) Ideally, this service would extend "network-route-service-type" and "network-address-service-type" so that one could compose configurations from other services too. E.g. a custom VPN service that extends network-route-service-type. Food for thought... :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlz1eHMACgkQoqBt8qM6 VPqFgQf+Oa3ajsSR8KTHO83IywQYX2leTI64J516+7QO4JNMi0VA4VTtCpU3FUy1 bzmYzcBm8c+EIBIjSm8sFQTLWC4/fxx9urZ3gPdtrUxTRc4+axEwLfVrHZzqLHk/ r3uN371AAmQdTkfmqzO57x52EBVztG0/nuxuFoiK9zXiOgszDBTMT166pcXJTsYe SiWo+DFt+Qc5YHcoJ/i+qTfqWSVAMAZjQNtRJOn6dH6KftQvHqLu6LQpmesFL/9p JFCnkNmG40xeuVuEgTQJeeLsy/Le4M7vrQs//MVCEpOYdHhU955i/oNn2fvTf32f ZJw/LgMI34OSRgeuQMibWU+zMiXs2Q== =JYrc -----END PGP SIGNATURE----- --=-=-=--