Open Sprinterfreak opened 5 months ago
Hello @Sprinterfreak. This is already supported in systems with netplan by netplan-passthrough. Is your request more broad support for other network stacks?
Hi, my goal is to have a stable solution to promote to specifically proxmox community/devs to adopt. Since there is a variety of distros and therefore different network manager's out there, so it would be preferable to have it in the network-config file and scripts taking care of rendering it out into different network managers config formats:
version: 1
config:
- type: physical
name: eth0
mac_address: 'a6:af:ba:66:f6:50'
subnets:
- type: static
address: '10.20.30.7'
netmask: '255.255.255.0'
gateway: '10.20.30.1'
- type: ipv6_slaac
token: ::123 <-------
- type: nameserver
address:
- '10.20.30.1'
- 'fd12:34::1'
search:
- 'domain.tld'
Same issue, any idea when this will go upsteam?
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:
/etc/network/interfaces