[Bug 1803203] Re: Support preferred_lft for IPv6 addresses
Heitor Alves de Siqueira
1803203 at bugs.launchpad.net
Fri Jun 7 20:03:25 UTC 2019
@rlaager
I've started a PR discussion on Netplan.io's Github with your proposed changes as they seemed the best way forward for now.
I don't expect this to get merged right away, as the maintainers might
want to discuss the changes to the schema in further detail. In any
case, this should at least start a discussion on getting this fixed in
upstream netplan.
https://github.com/CanonicalLtd/netplan/pull/89
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1803203
Title:
Support preferred_lft for IPv6 addresses
Status in netplan:
New
Status in netplan.io package in Ubuntu:
In Progress
Status in systemd package in Ubuntu:
Fix Released
Bug description:
There doesn't currently seem to be any way to set the preferred_lft of
an IPv6 address.
With the "ip" command it might be, for example:
# ip address add 2001:db8::2/32 dev eth0 preferred_lft 0
In a systemd unit file it might be:
[Match]
Name=eth0
[Network]
Address=2001:db8::2/32
Gateway=2001:db8::1/32
PreferredLifetime=0
but I can't find any way to express this with netplan.
This is commonly used for per-service IP addresses that should never
be used as source addresses for outgoing traffic.
To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1803203/+subscriptions
More information about the foundations-bugs
mailing list