PreferredLIfetime=0 appears to not work in Ubuntu 18.04 systemd networking

Karl Auer kauer at biplane.com.au
Sat Jan 11 22:23:31 UTC 2020


On Sat, 2020-01-11 at 16:51 -0500, Ben Coleman wrote:
> I've got some Ubuntu 18.04 servers where they have 2 different IPv6
> addresses, and I want one to be used when making outgoing
> connections.
> From what I've been able to dig up, the way to do this is to set the
> Preferred Lifetime of the unwanted address to 0.

This article is quite old but may still give you some useful clues:

https://into6.com.au/2013/03/25/source-address-selection-what-why-how/


Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: 8D08 9CAA 649A AFEF E862 062A 2E97 42D4 A2A0 616D
Old fingerprint: A0CD 28F0 10BE FC21 C57C 67C1 19A6 83A4 9B0B 1D75






More information about the ubuntu-users mailing list