where my_prefix is exactly what my router sends in its RA, 64 bits,
ending in a double colon (::), verified by tcpdump. And what I wish to
get out of this is an IPv6 address generated as described in RFC7217,
i.e. a stable address where the lower 64 bits are not based on my MAC address.
Unfortunately systemd-networkd does not seem to agree. It accepts the directive without comment but I still get the EUI-64 address. Even if
I set log level to debug there's nothing in the log about this. I've
tried other forms in my_prefix but then networkd eagerly tells me
it's wrong but not what would be correct and actually *work*.
There's also /etc/netplan/50-cloud-init.yaml with this:
# This file is generated from information provided by the datasource.
Changes # to it will not persist across an instance reboot. To
disable cloud-init's # network configuration capabilities, write a
file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # network: {config: disabled}
network:
ethernets:
eth0:
dhcp4: true
optional: true
version: 2
Is netplan still active?
Please show your netplan config.
Am 02.11.2022 um 17:19:40 Uhr schrieb Anssi Saari:
Only place the following in /etc/netplan/50-cloud-init.yaml
network:
version: 2
renderer: networkd
Then "sudo netplan try".
Then restart the OS and check if networkd does what you like.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 89:20:34 |
Calls: | 6,697 |
Calls today: | 2 |
Files: | 12,232 |
Messages: | 5,348,419 |