From: Julien Lepiller <julien@lepiller.eu>
To: help-guix@gnu.org, "Jovany Leandro G.C" <bit4bit@riseup.net>
Subject: Re: multiple IPs
Date: Thu, 19 Sep 2019 08:26:47 +0200 [thread overview]
Message-ID: <80602DD8-60A9-487D-B39C-46360F42C0D2@lepiller.eu> (raw)
In-Reply-To: <8368a3838bde232b9325f287cd83d121@riseup.net>
Le 18 septembre 2019 22:22:07 GMT+02:00, "Jovany Leandro G.C" <bit4bit@riseup.net> a écrit :
>hello,
>how can assign multiple ip to one interface?
>
>example
>
>(static-networking-service "eno1" "192.168.1.82"
> #:gateway "192.168.1.2"
> #:name-servers '("192.168.1.2"))
>
>if add other
>(static-networking-service "eno1" "172.168.1.83")
>
>'guix system reconfigure' throw can only assign one
>
>i also try
>(static-networking-service "eno1:alias" "172.168.1.83")
>
>but throw error
>
>thanks any help
Hi Jovany,
It is not possible yet with the static-networking-service. I use my own service for a similar purpose that uses iproute2, see https://framagit.org/tyreunom/system-configuration/blob/master/modules/config/network.scm
Hth!
next prev parent reply other threads:[~2019-09-19 6:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-18 20:22 multiple IPs Jovany Leandro G.C
2019-09-19 6:26 ` Julien Lepiller [this message]
2019-09-19 19:42 ` Vladimir Sedach
2019-09-19 21:55 ` Gábor Boskovits
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=80602DD8-60A9-487D-B39C-46360F42C0D2@lepiller.eu \
--to=julien@lepiller.eu \
--cc=bit4bit@riseup.net \
--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).