IPV6 addresses

Tom H tomh0665 at gmail.com
Tue Jun 26 06:50:17 UTC 2018


On Mon, Jun 25, 2018 at 2:54 PM Colin Law <clanlaw at gmail.com> wrote:
> 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 "/proc/sys/net/ipv6/conf/", check the "stable_secret" and
"addr_gen_mode" settings.



More information about the ubuntu-users mailing list