I'm currently configuring the network interfaces for a Ubuntu 18.04 server, using netplan with the networkd backend. My hosting provider provides me with an IPv4 and an IPv6 for this server, however the IPv6 isn't automatically configured, which I'm currently trying to do.
My netplan configuration file is the following:
network: version: 2 ethernets: ens3: dhcp4: true dhcp6: true match: macaddress: xx:xx:xx:xx:xx:xx set-name: ens3
netplan apply, the allocated IPv6 doesn't appear in
ip addr. I thought this would be because maybe my provider doesn't provide DHCP for IPv6, but if I remember correctly (from setting up a different server) that would show an error in the
systemd-networkd logs, however all I can see there is:
systemd: Starting Network Service... systemd-networkd: ens3: Gained IPv6LL systemd-networkd: Enumeration completed systemd: Started Network Service. systemd-networkd: lo: Link is not managed by us systemd-networkd: ens3: DHCPv4 address xxx.xxx.xxx.xxx/32 via yyy.yyy.yyy.yyy systemd-networkd: ens3: Configured
Which doesn't show anything I understand as an error when trying to get the IPv6 via DHCP (only
Gained IPv6LL seems to be related to IPv6, but a quick search shows me that it doesn't seem to be related).
Did I mess something up in my configuration file?