canonical / canonical/cloud-init
[enhancement]: Implement ipv6-address-token / ip token set ::123
Open
enhancement
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 1.1k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 18
Description
# Enhancement
In SLAAC deployments, interface tokens are used to override the host-bits with a predictable and short value.
Would be nice to be able to set this token via cloud-init too, to make ipv6-addresses somewhat predictable/readable in dynamic prefix environments.
The resulting configuration would be in netplan:
```yaml
network:
ethernets:
eth0:
ipv6-address-token: ::123
```
/etc/network/interfaces
```
iface eth0 inet6 auto
up ip token set ::123 dev $IFACE
```
Contributor guide
Assessment
This issue has not been assessed yet.