infomaniak IPv6 issues
-
Hey again everyone & @joseph & @girish,
Following up on my previous post regarding the IPv6 lease renewal issue on Infomaniak’s VPS — I’ve done some deeper testing by ordering a VPS on Hetzner to compare how things were set up between Hetzner and Infomaniak.
My idea was to launch a
tcpdump
on a Hetzner VPS (running Ubuntu 24.04 with systemd 255, just like Infomaniak) to observe DHCPv6 behavior — but first, I needed to know how long their IPv6 lease lasts in order to avoid capturing traffic for too many hours unnecessarily.So I started out by doing a:
ip -6 address show dev <interface>
on the freshly provisioned Hetzner VPS.
And what a surprise! No lease at all. See below:
2: <interface>: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 inet6 my_public_ipv6 scope global valid_lft forever preferred_lft forever inet6 my_ipv6_unicast_link_local_address scope link valid_lft forever preferred_lft forever
Both
valid_lft
andpreferred_lft
are set toforever
.To confirm how the interface was configured, I also checked Netplan:
sudo cat /etc/netplan/*.yaml
And here is the configuration:
network: version: 2 ethernets: <interface>: match: macaddress: "my_mac" addresses: - "my_public_ipv6" nameservers: addresses: - 2a01:4ff:ff00::add:2 - 2a01:4ff:ff00::add:1 dhcp4: true set-name: "<interface>" routes: - to: "default" via: "fe80::1" on-link: true
This confirms that IPv6 is statically configured on Hetzner. There's no
dhcp6: true
, and the IPv6 address is explicitly assigned. Therefore, no lease exists, and no renewal occurs. There’s no interaction with any DHCPv6 server — noRENEW
,REBIND
, orRELEASE
. This directly explains why the issue observed at Infomaniak never manifests on Hetzner: the client never enters the renewal cycle in the first place.In contrast, here’s what we get on Infomaniak:
ip -6 address show dev <interface>
Output:
2: <interface>: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 altname <interface_alt> inet6 my_public_ipv6 scope global dynamic noprefixroute valid_lft 65046sec preferred_lft 65046sec inet6 my_ipv6_unicast_link_local_address scope link valid_lft forever preferred_lft forever
This time, we clearly see the
dynamic
flag and a limited lease time (~18 hours remaining when the command was run), indicating a DHCPv6 assignment.To double-check, I also reviewed the Netplan config on Infomaniak:
sudo cat /etc/netplan/*.yaml
network: version: 2 ethernets: <interface>: match: macaddress: "my_mac" dhcp4: true dhcp6: true accept-ra: true set-name: "<interface>" mtu: 1500
This confirms that both
dhcp6: true
is enabled — meaning the system explicitly requests an IPv6 lease from the DHCPv6 server.This explains why the issue is completely absent at Hetzner — their static configuration avoids the renewal mechanism entirely, so the "potentially" buggy part of
systemd-networkd
(which fails to apply the receivedREPLY
from a DHCPv6RENEW
) is never triggered. On Infomaniak, where renewal is mandatory, the problem becomes immediately visible as soon as the system enters the lease refresh cycle.I’m now wrapping up my investigation and will send my findings to Infomaniak.
Have a good one,
Gengar