unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: help-guix@gnu.org, Giovanni Biscuolo <g@xelera.eu>
Subject: Re: how can I add a static IPv4 route?
Date: Wed, 12 Feb 2020 13:34:10 -0500	[thread overview]
Message-ID: <C0BC6D7C-DED8-49E7-9499-3322D2B7C2A8@lepiller.eu> (raw)
In-Reply-To: <87blq3brv5.fsf@roquette.mug.biscuolo.net>

Le 12 février 2020 13:08:46 GMT-05:00, Giovanni Biscuolo <g@xelera.eu> a écrit :
>Hello,
>
>I have a very simple networking configuration:
>
>--8<---------------cut here---------------start------------->8---
>(service dhcp-client-service-type)
>--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

Hi,

I only use this custom service because guix doesn't provide static networking for IPv6. However, if you don't need IPv6, I'd like to encourage you to use the static-networking-service that's described in the manual: https://guix.gnu.org/manual/devel/en/html_node/Networking-Services.html#Networking-Services

Otherwise, feel free to copy and adapt my stuff :)

  reply	other threads:[~2020-02-12 18:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-12 18:08 how can I add a static IPv4 route? Giovanni Biscuolo
2020-02-12 18:34 ` Julien Lepiller [this message]
2020-02-13  8:22   ` Giovanni Biscuolo
2020-02-13  8:42     ` Efraim Flashner
2020-02-13 12:12       ` Julien Lepiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C0BC6D7C-DED8-49E7-9499-3322D2B7C2A8@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=g@xelera.eu \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).