IPV6 addresses

Colin Law clanlaw at gmail.com
Mon Jun 25 13:51:46 UTC 2018

On 25 June 2018 at 14:09, Karl Auer <kauer at biplane.com.au> wrote:
> On Mon, 2018-06-25 at 13:29 +0100, Colin Law wrote:
>> I thought that was it, /proc/sys/net/ipv6/conf/all/addr_gen_mode [1]
>> and [2] which seems to fit the bill exactly. Unfortunately it is set
>> to 0 on both systems, so there must be something else.
> It's been a while, but I think that ../all and ../default can be
> overridden by the values in ../conf/<interfacename>. Or maybe it's only
> ../default. Anyway, check the interface-specific values too.

Well it is the addr-gen-mode setting because
nmcli connection show "Wired connection 1"
shows it as
ipv6.addr-gen-mode:                     eui64
for one and
ipv6.addr-gen-mode:                     stable-privacy
for the other, and setting it to privacy by
nmcli connection modify "Wired connection 1" ipv6.addr-gen-mode 1
does change the fe00:: address as documented.  Why it is not visible
in any of the proc/sys entries I don't know (they are the same on both
machines, all, default and eth0/en01.

For me it is all a bit academic at the moment as I my ISP doesn't do
IPV6 yet, but I like to understand at least a bit about how these
things work.

Thanks all


More information about the ubuntu-users mailing list