netplan cannot set IPv6 token
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
New
|
Undecided
|
Unassigned | ||
nplan (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Summary:
This is already filed against nplan in Ubuntu at:
https:/
netplan contains no configuration entry that allows one to statically configure the IPv6 host ID (low 64 bits) when autogenerated (DHCPv6 stateless, SLAAC) addressing is used.
This should map to the IPv6Token entry for systemd-networkd (man systemd.network, [Network] section), and the ipv6.token entry for NetworkManager (https:/
Release and package data:
> lsb_release -rd
Description: Ubuntu 17.10
Release: 17.10
> apt-cache policy nplan
nplan:
Installed: 0.30
Candidate: 0.30
Version table:
*** 0.30 500
500 http://
100 /var/lib/
Expected behavior:
/etc/netplan/
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
ens3:
dhcp4: yes
dhcp6: yes
ipv6-token: '::2'
# netplan generate
# netplan apply
# ip -6 a (truncated)
2: ens3: <BROADCAST,
link/ether aa:bb:cc:dd:ee:ff brd ff:ff:ff:ff:ff:ff
inet 192.168.1.2/24 brd 192.168.1.255 scope global dynamic ens3
valid_lft 85186sec preferred_lft 85186sec
inet6 fd6d:beaa:
valid_lft 2591803sec preferred_lft 604603sec
inet6 fe80::a8bb:
valid_lft forever preferred_lft forever
I tried to link this to the downstream bug, but Launchpad says it doesn't recognize the tracker at the bug URL provided.