[Networkmanager] 'stable-privacy' flag not set when using NetworkManager
Andreas B
panden at gmail.com
Tue Sep 12 12:22:44 UTC 2023
Beniamino,
Great - thank you!
Best,
Andreas
On Tue, Sep 12, 2023 at 2:20 PM Beniamino Galvani <bgalvani at redhat.com> wrote:
>
> On Tue, Sep 12, 2023 at 01:00:22PM +0200, Andreas B wrote:
> > Hi,
> >
> > When I set 'addr_gen_mode = 3' in sysctl and use `ifup`, I get the
> > 'stable-privacy' flag when listing my interface with `ip a`.
> > I do not get that flag when using 'addr-gen-mode = stable-privacy'
> > with NetworkManager.
> >
> > Why is this? Shouldn't it be set when using NetworkManager?
>
> Hi,
>
> flag IFA_F_STABLE_PRIVACY is set when stable-privacy addr-gen-mode is
> done by kernel, which is not the case with NM because NM generates
> addresses from user-space.
>
> In the end, you shouldn't rely on that flag when using NM, what is
> important is if the actual address is stable-privacy or eui64.
>
> Beniamino
More information about the Networkmanager
mailing list