bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44571: Cannot configure a static IPv6 with static-networking-service


From: Julien Lepiller
Subject: bug#44571: Cannot configure a static IPv6 with static-networking-service-type
Date: Wed, 11 Nov 2020 07:03:30 -0500
User-agent: K-9 Mail for Android


Le 11 novembre 2020 05:56:24 GMT-05:00, divoplade <d@divoplade.fr> a écrit :
>Dear guix,
>
>My interface should be configured to have 2 static ip addresses, an
>IPv4 address and a global IPv6 address.
>
>The static-networking-service-type will only accept one per device, and
>will reject the IPv6 address (if I drop the IPv4 address) because it
>can't parse it.

Thanks for the report. This is a known issue and I'm working on it. The idea is 
to implement the netlink interface in guile and use it to configure the 
network. I currently have the low-level bits for managing interfaces and 
addresses. I'm missing the routing part. Once I have this, I can think of a 
high-level interface that will allow us to build a static-network-service-type 
that understands IPv4 and IPv6.

See https://git.lepiller.eu/guile-netlink

>
>My workaround is to add a shepherd service that runs ip address add dev
>eno1 the-address and ip address delete dev eno1 the-address, with ip
>from iproute2. Maybe static-networking-service-type could do something
>better for me?
>
>Best regards,
>
>divoplade





reply via email to

[Prev in Thread] Current Thread [Next in Thread]