<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Am 26.09.2023 um 10:29 schrieb
Aleksander Morgado:<br>
</div>
<blockquote type="cite"
cite="mid:CAAFgFrUeUv5K4rMaXUdwVkKAKuw1N2tC=J9Aak56jVS+nuY4Aw@mail.gmail.com">
<blockquote type="cite">
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">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???
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
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.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
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.
</pre>
</blockquote>
<p>Hello Bjørn, hello Aleksander,</p>
<p>many thanks for your answers!<br>
</p>
<p>May I ask a followup question: <br>
</p>
<p><span style="white-space: pre-wrap">When I do a "get_current_settings", I get the IPv6 address and the IPv6 gateway address, as below:
</span></p>
<p><span style="white-space: pre-wrap">get_current_settings_ready
internet.v6.telekom
Couldn't get IPv4 address: Field 'IPv4 Address' was not found in the message
(value_ipv6_address_address=[10753, 1433, 2313, 53274, 61731, 34358, 42385, 54212], value_ipv6_address_prefix_length=64)
2A01:599:909:D01A:F123:8636:A591:D3C4/64
(value_ipv6_gateway_address_address=[10753, 1433, 2313, 53274, 30064, 27635, 18861, 56880], value_ipv6_gateway_address_prefix_lengt=64)
2A01:599:909:D01A:7570:6BF3:49AD:DE30
Getting current settings done</span></p>
<p><span style="white-space: pre-wrap">Till now I used these for
</span></p>
<p><span style="white-space: pre-wrap">sudo ip link set dev wwan0 down</span></p>
<p><span style="white-space: pre-wrap">-> ok
sudo ip -6 addr add 2A01:599:909:D01A:F123:8636:A591:D3C4/64 dev wwan0</span></p>
<p><span style="white-space: pre-wrap">-> ok</span></p>
<p><span style="white-space: pre-wrap">sudo ip -6 route add default via 2A01:599:909:D01A:7570:6BF3:49AD:DE30 dev wwan0
-> RTNETLINK answers: No route to host
sudo ip link set mtu 1500 dev wwan0
-> ok</span></p>
<p><span style="white-space: pre-wrap">sudo ip link set dev wwan0 up</span></p>
<p>-> ok</p>
<p><span style="white-space: pre-wrap">According to above message, </span>Bjørn
told, I can ignore the gateway address, so I can simply skip the
command with the error?</p>
<p><span style="white-space: pre-wrap">Is it correct, how I set the IPv6 /64 bit address? Or do I somehow need to reduce the number to a shorter length due to /64?</span></p>
<p><span style="white-space: pre-wrap">Or not use the /64 because my (single) local IPv6 address must be 128 bits in size?
</span></p>
<p><span style="white-space: pre-wrap">Yesterday I already tried a lot of variants, but ping was not yet successful, when doing it like</span></p>
<p><span style="white-space: pre-wrap">
</span></p>
<p><span style="white-space: pre-wrap">$ sudo ping -I wwan0 2001:4ca0:0:103::81bb:fe09</span></p>
<p><span style="white-space: pre-wrap">ping: connect: Network is unreachable
</span></p>
<p><span style="white-space: pre-wrap">$</span></p>
<p><span style="white-space: pre-wrap">
</span></p>
<p><span style="white-space: pre-wrap">Is there something more needed? I have not yet setup DNS...</span></p>
<p><span style="white-space: pre-wrap">I using a second network interface (eth0) to connect via putty. I hope this does not influence the tests via wwan0...
</span></p>
<p><span style="white-space: pre-wrap">
</span></p>
<p><span style="white-space: pre-wrap">Best regards,</span></p>
<p><span style="white-space: pre-wrap">Martin
</span></p>
</body>
</html>