Le 11 novembre 2020 05:56:24 GMT-05:00, divoplade <[email protected]> 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