IPv6 address not stable, when querying via --wds-get-current-settings (from same CID)

Aleksander Morgado aleksandermj at chromium.org
Tue Sep 26 08:29:12 UTC 2023


> > I am doing multiple --wds-get-current-settings (around 1 second
> > between each request).
> >
> > IPv6 address changes on each request, all other entries remain stable.
> >
> > (4 numbers equal, the other 4 number change)
> >
> > Even when "/64" (half of the 128 bit number) shall it change all the time???
>
> I've also noticed this.  It's always been like that on all my QMI
> qmodems.
>
> The network allocates a /64.  The rest is invented by the modem.  I
> definitely agree that the modem firmware should have ensured that the
> address it generates is stable.  But it doesn't.  And we just have to
> live with that.
>
> My best advice is to ignore the addresses generated by the modem and
> create your own stable ones instead, using the assigned /64 prefix of
> course.
>
> Note that stable-privacy works fine on any IP interface, even the
> non-ethernet ones, if you want something stable and automagic.
>
> The gateway addresses are pointless and can be completely ignored.
> There's no neighbour discovery. between host and modem.
>

Just one additional comment; if you run SLAAC on the modem network
interface, it will happen exactly the same. The modem itself will send
the SLAAC Router Advertisement with the prefix that was previously
negotiated with the network (the modem itself did SLAAC with the
network earlier when the PDN was connected). This applies to all
Qualcomm based modems.

You should just take the assigned /64 prefix and build your own stable
addresses.

-- 
Aleksander


More information about the libqmi-devel mailing list