[Bug 1803203] Re: Support preferred_lft for IPv6 addresses

Dan Streetman dan.streetman at canonical.com
Thu May 9 13:58:35 UTC 2019


systemd back to bionic already supports the PreferredLifetime config
param.  Only netplan needs a change to provide a param to set
PreferredLifetime.

** Changed in: netplan
       Status: Invalid => New

** Changed in: netplan
       Status: New => In Progress

** Also affects: netplan.io (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: netplan
       Status: In Progress => New

** Changed in: netplan.io (Ubuntu)
       Status: New => In Progress

** Changed in: netplan.io (Ubuntu)
     Assignee: (unassigned) => Heitor Alves de Siqueira (halves)

** Changed in: netplan.io (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
Matching subscriptions: foundations-bugs
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