I have this too on 25.10.

In my /etc/NetworkManager/system-connections I have a connection with.

[ipv6]
addr-gen-mode=eui64
ip6-privacy=0
method=auto
token=::d4bc:4cff:ae34:14a1

This fails to migrate when installing network-manager.

Error: Failed to modify connection 'Bridge connection 1': failed to
update connection: netplan: YAML translation failed: Error in network
definition: bridge0: ipv6-address-generation and ipv6-address-token are
mutually exclusive


Even tried to unset this via nmcli to get the migration to happen.

nmcli> remove ipv6.addr-gen-mode
nmcli> save
Error: connection verification failed: ipv6.token: only makes sense with EUI64 
address generation mode
You may try running 'verify fix' to fix errors.
nmcli> verify fix
Verify connection: ipv6.token: only makes sense with EUI64 address generation 
mode
The error cannot be fixed automatically.
nmcli> save
Error: connection verification failed: ipv6.token: only makes sense with EUI64 
address generation mode
You may try running 'verify fix' to fix errors.
nmcli> print 

, and of course nmcli is correct, ipv6.token setting only makes sense with 
EUI64 set ipv6.addr-gen-mode.
I'd have thought the opposite of the netplan migration error, surely 
ipv6-address-generation and ipv6-address-token are both required.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2056217

Title:
  nmcli regression: can't set IPV6 token

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2056217/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to