IPv6 address not stable, when querying via --wds-get-current-settings (from same CID)
Martin Maurer
martin.maurer at mmeacs.de
Wed Sep 27 06:58:45 UTC 2023
Am 26.09.2023 um 21:11 schrieb Bjørn Mork:
> Martin Maurer <martin.maurer at mmeacs.de> writes:
>
>> -> ok sudo ip -6 addr add 2A01:599:909:D01A:F123:8636:A591:D3C4/64 dev wwan0
>>
>> -> ok
>>
>> 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
>>
>> sudo ip link set dev wwan0 up
>>
>> -> ok
>>
>> According to above message, Bjørn told, I can ignore the gateway
>> address, so I can simply skip the command with the error?
> You still need the default route. But you can do something like
>
> ip -6 addr add 2A01:599:909:D01A::F00/64 dev wwan0
> ip -6 route add default dev wwan0
>
> The gateway address is redundant. It doesn't harm, but it doesn't help
> either.
>
> The link must be up for the destination to be reachable. I believe
> that's why you get that error.
>
>> 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?
> Doesn't really matter much unless you want to use more than that single
> address. Just use /64.
>
>> Or not use the /64 because my (single) local IPv6 address must be 128
>> bits in size?
> The nice thing about IPv6 is that you can actually use all those 2^64
> addresses. But let's concentrate on a single address for now :-)
>
>
I just found it: The problem was the raw_ip flag. I forgot to set it to "Y":
$ cat /sys/class/net/wwan0/qmi/raw_ip
N
$
After changing it to "Y"
$ cat /sys/class/net/wwan0/qmi/raw_ip
Y
$
now the
sudo ping -I wwan0 2001:4ca0:0:103::81bb:fe09
works
More information about the libqmi-devel
mailing list