unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* multiple IPs
@ 2019-09-18 20:22 Jovany Leandro G.C
  2019-09-19  6:26 ` Julien Lepiller
  0 siblings, 1 reply; 4+ messages in thread
From: Jovany Leandro G.C @ 2019-09-18 20:22 UTC (permalink / raw)
  To: help-guix

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: multiple IPs
  2019-09-18 20:22 multiple IPs Jovany Leandro G.C
@ 2019-09-19  6:26 ` Julien Lepiller
  2019-09-19 19:42   ` Vladimir Sedach
  0 siblings, 1 reply; 4+ messages in thread
From: Julien Lepiller @ 2019-09-19  6:26 UTC (permalink / raw)
  To: help-guix, Jovany Leandro G.C

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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: multiple IPs
  2019-09-19  6:26 ` Julien Lepiller
@ 2019-09-19 19:42   ` Vladimir Sedach
  2019-09-19 21:55     ` Gábor Boskovits
  0 siblings, 1 reply; 4+ messages in thread
From: Vladimir Sedach @ 2019-09-19 19:42 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: help-guix


Julien Lepiller <julien@lepiller.eu> writes:
> It is not possible yet with the static-networking-service.

Do you know if that is also the case with IPv6?

--
Vladimir Sedach
Software engineering services in Los Angeles https://oneofus.la

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: multiple IPs
  2019-09-19 19:42   ` Vladimir Sedach
@ 2019-09-19 21:55     ` Gábor Boskovits
  0 siblings, 0 replies; 4+ messages in thread
From: Gábor Boskovits @ 2019-09-19 21:55 UTC (permalink / raw)
  To: Vladimir Sedach; +Cc: help-guix

Hello,

Vladimir Sedach <vas@oneofus.la> ezt írta (időpont: 2019. szept. 19., Cs,
21:43):

>
> Julien Lepiller <julien@lepiller.eu> writes:
> > It is not possible yet with the static-networking-service.
>
> Do you know if that is also the case with IPv6?
>

Yes, the same thing applies for ipv6.


> --
> Vladimir Sedach
> Software engineering services in Los Angeles https://oneofus.la
>
>
Best regards,
g_bor
-- 
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-19 21:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-18 20:22 multiple IPs Jovany Leandro G.C
2019-09-19  6:26 ` Julien Lepiller
2019-09-19 19:42   ` Vladimir Sedach
2019-09-19 21:55     ` Gábor Boskovits

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).